Accord.Math.JaggedReducedRowEchelonForm.count C# (CSharp) Method

count() private method

private count ( ) : int
return int
        private int count()
        {
            for (int i = rows - 1; i >= 0; i--)
            {
                for (int j = 0; j < cols; j++)
                {
                    if (rref[i][j] != 0)
                        return rows - i - 1;
                }
            }

            return 0;
        }
JaggedReducedRowEchelonForm