Skip to main content

set_select

Method of RealMatrix.

Overloads​

NameDescription
set_select(const RealMatrix lhs, const List selections) -> RealMatrixAssign the values of rhs to a selection of the RealMatrix lhs.
set_select(const RealArray lhs, const List selections) -> RealMatrixAssign the values of rhs to a selection of the RealMatrix lhs.
set_select(const RealSparseMatrix lhs, const List selections) -> RealMatrixAssign the values of rhs to a selection of the RealMatrix lhs.

set_select(const RealMatrix lhs, const List selections) -> RealMatrix​

Assign the values of rhs to a selection of the RealMatrix lhs.

Parameters​

  • lhs: The RealMatrix to assign.
  • selections: A vector of integers, slices or integer lists specifying the selection.

set_select(const RealArray lhs, const List selections) -> RealMatrix​

Assign the values of rhs to a selection of the RealMatrix lhs.

Parameters​

  • lhs: The RealMatrix to assign.
  • selections: A vector of integers, slices or integer lists specifying the selection.

set_select(const RealSparseMatrix lhs, const List selections) -> RealMatrix​

Assign the values of rhs to a selection of the RealMatrix lhs.

Parameters​

  • lhs: The RealMatrix to assign.
  • selections: A vector of integers, slices or integer lists specifying the selection.