Functions for Creating Vectors
The vec function is used to create a vector using the function arguments.
• vec(x,y,z) — Using the function with 3 arguments, returns a vector starting at x, with a specified step (y-x) and ending at z.
• vec(x,y) — Using the function with 2 arguments, the step defaults to 1 and the values represent the first and the last values of the vector.
• vec(x) — Using the function with 1 argument, the input must be a range variable. The function converts the range variable into a vector.
Additional Information
• If the last value is not an integer multiple of the increment from the first value, the vector stops short of this last value.
• If you want to define a vector that has units associated with it, you must use the faction with 3 arguments and x, y, z must have compatible units.