|
objectToVector
|
The objectToVector function converts the object {object} into a
Vector returning the new Vector. The {object} may be a List, Vector,
Matrix, Structure, Dictionary, or a Directory. If the object is already a Vector,
it is returned unchanged. If it is any other type of Vector (e.g., NumVector),
it is converted into a regular vector. One-dimensional matrices are converted
into a vector. Two-dimensional matrices are converted into an object vector
whose elements are regular vectors. Each of these vectors contains one row of the
matrix. Three-dimensional vectors are converted into an object vector that contains
a set of object vectors. There are as many of these object vectors as the planes
in the matrix (first dimension). Each of these object vectors contains the same
elements as described above for two-dimensional matrices. When to use The objectToVector function is used to convert a Vector, List, Matrix,
Structure, or Dictionary object to a Vector object.
(objectToVector obj) A Vector object
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_Vector_objectToVector_001
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types obj A Vector, List, Matrix, Structure, Dictionary or Directory Object Vector List Matrix Structure
Dictionary Directory
Returns:
Examples
Argument Types
Vector
NumVector
List
Matrix
Structure
Dictionary
Directory
How do I contact the AIS team?