Command Reference : Matrix Language Reference
Create and fill sym with scalar value.
Syntax: @filledsym(n1, n2)
n1: integer
n2: number
Return: sym
Returns an sym, where each element contains n2.
sym(3) s1
s1 = @pi
sym s2 = @filledsym(3, @pi)
create syms where each element is set to Pi. The function allows for the creation and initialization of the sym using a single command.
See @fill for creating a vector using multiple values and @unvech for creating a sym from a vector.
See also Sym::fill.