rank#

static vectorious.rank(x, tolerance)#

Finds the rank of x using gaussian elimination.

Arguments:
Returns:

Number

Examples:

import { rank } from 'vectorious/core/rank';

rank([[1, 1, 1], [2, 2, 2], [3, 3, 3]]); // => 1