SparseCompressedColumnMatrix<T>.GetNonzeroElements Method

Returns the nonzero components

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public override T[] GetNonzeroElements(
	out int[] rows,
	out int[] columns
)

Parameters

rows  Int32[]
On return, an integer array containing the row indexes of the nonzero components.
columns  Int32[]
On return, an integer array containing the column indexes of the nonzero components.

Return Value

T[]
An array containing the nonzero components of the SparseCompressedColumnMatrix<T>.

See Also