Reduced row echelon form: Difference between revisions
Content added Content deleted
(→{{header|zkl}}: added GSL solution) |
m (Typo fix x2) |
||
Line 827: | Line 827: | ||
// externalizing this information into a traits class, the same code |
// externalizing this information into a traits class, the same code |
||
// can be used both with native arrays and matrix classes. To use the |
// can be used both with native arrays and matrix classes. To use the |
||
// |
// default implementation of the traits class, a matrix type has to |
||
// provide the following definitions as members: |
// provide the following definitions as members: |
||
// |
// |
||
Line 854: | Line 854: | ||
{ |
{ |
||
typedef typename MatrixType::index_type index_type; |
typedef typename MatrixType::index_type index_type; |
||
typedef typename MatrixType:: |
typedef typename MatrixType::value_type value_type; |
||
static index_type min_row(MatrixType const& A) |
static index_type min_row(MatrixType const& A) |
||
{ return A.min_row(); } |
{ return A.min_row(); } |