Command Reference : Matrix Language Reference
Syntax: @fill(n1, n2, n3, ...)
Arguments: scalar
Return: vector
Returns a vector containing the elements specified by the arguments to the function. The vector will have length equal to the number of arguments. The maximum number of arguments is 96.
vector v = @fill(1,4,6,21.3)
Will return a 4 element vector, where the first element is set to 1, the second to 4, the third to 6 and the fourth to 21.3.
See Vector::fill, Coef::fill, Matrix::fill, Rowvector::fill, and Sym::fill for routines to perform general filling of matrix objects.