SparseCompressedColumnMatrix<T>.GetNonzeroElements Method

Returns the nonzero components

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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