Skip to main content

linspace

Method of RealMatrix.

Overloads

NameDescription
linspace(bool low, bool high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
linspace(real low, real high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
linspace(integer new_size, integer low, integer high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
linspace(integer low, integer high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
linspace(integer new_size, real low, real high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)
linspace(integer new_size, bool low, bool high) -> RealMatrixSets all elements of the RealMatrix lhs to linearly spaced values. This function is only supported by one-dimensional matrices (i.e. vectors)

linspace(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.

linspace(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.

linspace(integer new_size, 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

  • new_size: The new size of the array.
  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspace(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.

linspace(integer new_size, 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

  • new_size: The new size of the array.
  • low: The first value in the sequence.
  • high: The last value in the sequence.

linspace(integer new_size, 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

  • new_size: The new size of the array.
  • low: The first value in the sequence.
  • high: The last value in the sequence.