vv

From STX Wiki
Jump to navigation Jump to search

Create a vector by concatenating the arguments (scalars and vectors).

Usage
vv(x1 {, x2 {, ...}})
x1, x2, ...
each argument can be a scalar or a vector
Result
The concatenated vector.
See also
vvget, vvset, vvcat, vmcol, vmrow, vsubn, vsubc

<function list>


Example:

#a := eval vv(1,2,4,8,16)
// -> #a = { 1 , 2 , 4 , 8 , 16 }
#b := eval vv(0 , $#a , 32)
// -> #b = { 0 , 1 , 2 , 4 , 8 , 16 , 32 }