SparseMatrix<T>.InsertClique Method

Inserts a two-dimensional 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.0
C#
public virtual void InsertClique(
	Matrix<T> values,
	int[] rows,
	int[] columns
)

Parameters

values  Matrix<T>
Array of values to insert.
rows  Int32[]
Array of zero-based row indexes where the elements of values are to be inserted.
columns  Int32[]
Array zero-based column indexes where the elements of values are to be inserted.

Remarks

A clique is a two-dimensional array of values along with a set of row and column indexes that specify the position of the elements of the array in the sparse matrix.

Exceptions

ArgumentNullException

values is null.

-or-

rows is null.

-or-

columns is null.

See Also