LinearOperator<T>.Rank Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

Rank() Returns the numerical rank of a matrix.
Rank(T) Returns the numerical rank of a matrix using the specified tolerance.

Rank

Returns the numerical rank of a matrix.
C#
public int Rank()

Return Value

Int32
An integer indicating the numerical rank of the matrix.

Remarks

This method uses the default tolerance to determine rank.

Rank(T)

Returns the numerical rank of a matrix using the specified tolerance.
C#
public abstract int Rank(
	T tolerance
)

Parameters

tolerance  T
The absolute tolerance used to determine if a matrix component is considered zero.

Return Value

Int32
An integer indicating the numerical rank of the matrix.

Remarks

The method that is used to determine the rank, as well as the exact meaning of the tolerance, depend on the implementation. The tolerance is always relative to some norm of the matrix.

See Also