Skip to main content

[]

Symbol of RealSparseMatrix.

Overloads

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

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

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

Parameters

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

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

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

Parameters

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

(RealSparseMatrix lhs [] integer i) -> real

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

Parameters

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

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

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

Parameters

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