Command Reference : Matrix Language Reference
Create and fill rowvector with scalar value.
Syntax: @filledrowvector(n1, n2)
n1: integer
n2: integer
Return: rowvector
Returns a rowvector of length n1, where each element contains the value n2.
rowvector (3) r1
r1 = @pi
rowvector r2 = @filledrowvector(3, @pi)
create 3 element rowvectors where each element is set to Pi. The function allows for the creation and initialization of the rowvector using a single command.
See @fill for creating a vector using multiple values and @transpose for transposing a rowvector.
See also Rowvector::fill.