Command Reference : Matrix Language Reference
  
 
@filledvector
Create and fill vector with scalar value.
Syntax: @filledvector(n1, n2)
n1: integer
n2: number
Return: vector
Returns a vector of length n1, where each element contains the value n2.
Examples
vector (3) r1
r1 = @pi
vector r2 = @filledvector(3, @pi)
create 3 element vectors where each element is set to Pi. The function allows for the creation and initialization of the vector using a single command.
Cross-references
See @fill for creating a vector using multiple values.
See also Vector::fill.