Skip to main content

[]

Symbol of RealMatrix.

Overloads

NameDescription
(const RealMatrix lhs [] integer i) -> realGets or sets the element at index i of the RealMatrix.
(const RealMatrix lhs [] const List<integer> inds) -> realGets or sets the element at row inds[0] and column inds[1] of the RealMatrix.
(const RealMatrix lhs [] const List<List<integer>> slices) -> RealMatrixGets or sets the elements of the RealMatrix using slices.
(const RealMatrix lhs [] const Slices slices) -> RealMatrixGets or sets the elements of the RealMatrix using slices.
(RealMatrix lhs [] integer i) -> realGets or sets the element at index i of the RealMatrix.
(RealMatrix lhs [] const List<integer> inds) -> realGets or sets the element at row inds[0] and column inds[1] of the RealMatrix.

(const RealMatrix lhs [] integer i) -> real

Gets or sets the element at index i of the RealMatrix.

Parameters

  • lhs: Left-hand side value.
  • i: The index of the element to get or set.

(const RealMatrix lhs [] const List<integer> inds) -> real

Gets or sets the element at row inds[0] and column inds[1] of the RealMatrix.

Parameters

  • lhs: Left-hand side value.
  • inds: A vector of two indices.

(const RealMatrix lhs [] const List<List<integer>> slices) -> RealMatrix

Gets or sets the elements of the RealMatrix using slices.

Parameters

  • lhs: Left-hand side value.
  • slices: A vector of slices describing the multi-dimensional indices to access.

(const RealMatrix lhs [] const Slices slices) -> RealMatrix

Gets or sets the elements of the RealMatrix using slices.

Parameters

  • lhs: Left-hand side value.
  • slices: A vector of slices describing the multi-dimensional indices to access.

(RealMatrix lhs [] integer i) -> real

Gets or sets the element at index i of the RealMatrix.

Parameters

  • lhs: Left-hand side value.
  • i: The index of the element to get or set.

(RealMatrix lhs [] const List<integer> inds) -> real

Gets or sets the element at row inds[0] and column inds[1] of the RealMatrix.

Parameters

  • lhs: Left-hand side value.
  • inds: A vector of two indices.