Skip to main content

set_select

Method of RealArray.

Overloads

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

set_select(const BoolArray lhs, const List selections) -> RealArray

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

Parameters

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

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

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

Parameters

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

set_select(const IntegerArray lhs, const List selections) -> RealArray

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

Parameters

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

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

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

Parameters

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