Sparse Matrix<T>.Insert Entries Method
Inserts a set of values at the specified positions in the sparse matrix.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public virtual void InsertEntries(
T[] values,
int[] rows,
int[] columns
)
Parameters
Remarks
Existing nonzero components are overwritten. If the same row and column appear multiple times, then only the last value is entered.
Exceptions
Argument | values is null. -or- rows is null. -or- columns is null. |
Dimension | The length of rows is not equal to the length of values. -or- The length of columns is not equal to the length of values. |