Skip to main content

insert

Method of ComplexSparseMatrix.

Overloads

NameDescription
insert(const IntegerArray rows, const IntegerArray cols, const IntegerArray values) -> ComplexSparseMatrixInserts values into a sparse matrix.
insert(const IntegerArray rows, const IntegerArray cols, const RealArray values) -> ComplexSparseMatrixInserts values into a sparse matrix.
insert(const IntegerArray rows, const IntegerArray cols, const ComplexArray values) -> ComplexSparseMatrixInserts values into a sparse matrix.
insert(const IntegerArray rows, const IntegerArray cols, const BoolArray values) -> ComplexSparseMatrixInserts values into a sparse matrix.

insert(const IntegerArray rows, const IntegerArray cols, const IntegerArray values) -> ComplexSparseMatrix

Inserts values into a sparse matrix.

Changes the matrix into a non compressed form if that was not the case.

Parameters

  • rows: The row index.
  • cols: The column index.
  • values: The value to insert.

insert(const IntegerArray rows, const IntegerArray cols, const RealArray values) -> ComplexSparseMatrix

Inserts values into a sparse matrix.

Changes the matrix into a non compressed form if that was not the case.

Parameters

  • rows: The row index.
  • cols: The column index.
  • values: The value to insert.

insert(const IntegerArray rows, const IntegerArray cols, const ComplexArray values) -> ComplexSparseMatrix

Inserts values into a sparse matrix.

Changes the matrix into a non compressed form if that was not the case.

Parameters

  • rows: The row index.
  • cols: The column index.
  • values: The value to insert.

insert(const IntegerArray rows, const IntegerArray cols, const BoolArray values) -> ComplexSparseMatrix

Inserts values into a sparse matrix.

Changes the matrix into a non compressed form if that was not the case.

Parameters

  • rows: The row index.
  • cols: The column index.
  • values: The value to insert.