linspaced
Method of RealMatrix.
Overloads
| Name | Description |
|---|---|
linspaced(integer low, integer high) -> RealMatrix | Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors) |
linspaced(real low, real high) -> RealMatrix | Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors) |
linspaced(bool low, bool high) -> RealMatrix | Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors) |
linspaced(integer low, integer high) -> RealMatrix
Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
Parameters
- low: The first value in the sequence.
- high: The last value in the sequence.
linspaced(real low, real high) -> RealMatrix
Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
Parameters
- low: The first value in the sequence.
- high: The last value in the sequence.
linspaced(bool low, bool high) -> RealMatrix
Sets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
Parameters
- low: The first value in the sequence.
- high: The last value in the sequence.