vector
Syntax
- v := vector(n1<,n2><,n3>)
Create a vector type.
- How the type is created and initialized depends on the number and type of arguments provided:
If a number (integer or float) is provided, then either one or two more number arguments must follow to create a 2D or 3D vector type.
A list must be of length 2 or 3, and each entry must be of type float, to be converted to a vector.
A string must be in the format “(x,y)” or “(x,y,z)” including parentheses and commas to be converted into a vector.
A matrix must have a single row or column and be of size 2 or three in the other dimension to be converted into a vector.
An array must be of a single dimension and be of legth two or three to be converted into a vector.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |