insert
Method of RealSparseMatrix.
Overloads
| Name | Description |
|---|---|
insert(const IntegerArray rows, const IntegerArray cols, const BoolArray values) -> RealSparseMatrix | Inserts values into a sparse matrix. |
insert(const IntegerArray rows, const IntegerArray cols, const RealArray values) -> RealSparseMatrix | Inserts values into a sparse matrix. |
insert(const IntegerArray rows, const IntegerArray cols, const IntegerArray values) -> RealSparseMatrix | Inserts values into a sparse matrix. |
insert(const IntegerArray rows, const IntegerArray cols, const BoolArray values) -> RealSparseMatrix
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) -> RealSparseMatrix
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 IntegerArray values) -> RealSparseMatrix
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.