SparseMatrix<T>.InsertRow Method

Inserts a set of values at the specified row in the sparse matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public virtual void InsertRow(
	int row,
	T[] values,
	int[] columns
)

Parameters

row  Int32
The zero-based row index where the elements of values are to be inserted.
values  T[]
Array of values to insert.
columns  Int32[]
Array of zero-based column indexes where the elements of values are to be inserted.

Exceptions

ArgumentNullException

values is null.

-or-

columns is null.

See Also