ILNumerics Ultimate VS

ILMathrank Method (InArraySingle, Single)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Rank of matrix A:

[ILNumerics Computing Engine]

Namespace:  ILNumerics
Assembly:  ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static long rank(
	InArray<float> A,
	float tolerance = -1f
)

Parameters

A
Type: ILNumericsInArraySingle
Input matrix:
tolerance (Optional)
Type: SystemSingle
[Optional] Threshold below which a singular value is considered zero. Default: (-1) auto.

Return Value

Type: Int64
Rank of matrix A.
Exceptions

ExceptionCondition
ArgumentException if A has more than 2 dimensions.
Remarks

The rank is the number of singular values greater than tolerance. If tolerance is smaller than 0 (default), the following default value is used:
tol = length(A) * norm(A) * epsf
, with
  • length(A) - the longest dimension of A
  • norm(A) - the largest singular value of A, see: svd(InArraySingle),
  • epsf - the distance between 1 and the smallest next greater value.

[ILNumerics Computing Engine]

See Also

Reference