# [−][src]Function arrayfire::rank

`pub fn rank<T>(input: &Array<T>, tol: f64) -> u32 where`

T: HasAfEnum + FloatingPoint,

Find rank of a matrix

# Parameters

`input`

is the input matrix`tol`

is the tolerance value

# Return Values

An unsigned 32-bit integer which is the rank of the input matrix.