ILNumerics Ultimate VSILMathrank Method (InArraycomplex, Double)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.3.0.0 (5.3.7131.2749)
Syntax

public static long rank(
	InArray<complex> A,
	double tolerance = -1
)

Parameters

A
Type: ILNumericsInArraycomplex
Input matrix:
tolerance (Optional)
Type: SystemDouble
[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) * eps
, with
  • length(A) - the longest dimension of A
  • norm(A) - the largest singular value of A, see: svd(InArraycomplex),
  • eps - the distance between 1 and the smallest next greater value.

[ILNumerics Computing Engine]

See Also

Reference