Skip to main content

[]

Symbol of ComplexSparseMatrix.

Overloads

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

(ComplexSparseMatrix lhs [] const List<integer> inds) -> complex

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

Parameters

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

(ComplexSparseMatrix lhs [] integer i) -> complex

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

Parameters

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

(const ComplexSparseMatrix lhs [] const List<integer> inds) -> complex

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

Parameters

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

(const ComplexSparseMatrix lhs [] integer i) -> complex

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

Parameters

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