| 124 | } |
| 125 | |
| 126 | void PermutationMatrix::dump() const |
| 127 | { |
| 128 | for ( unsigned i = 0; i < _m; ++i ) |
| 129 | { |
| 130 | for ( unsigned j = 0; j < _m; ++j ) |
| 131 | { |
| 132 | if ( _rowOrdering[i] == j ) |
| 133 | printf( "1 " ); |
| 134 | else |
| 135 | printf( "0 " ); |
| 136 | } |
| 137 | printf( "\n" ); |
| 138 | } |
| 139 | printf( "\n" ); |
| 140 | } |
| 141 | |
| 142 | bool PermutationMatrix::isIdentity() const |
| 143 | { |
nothing calls this directly
no outgoing calls
no test coverage detected