| 104 | } |
| 105 | |
| 106 | void EtaMatrix::toMatrix( double *A ) const |
| 107 | { |
| 108 | std::fill_n( A, _m * _m, 0.0 ); |
| 109 | for ( unsigned i = 0; i < _m; ++i ) |
| 110 | { |
| 111 | A[i * _m + i] = 1.; |
| 112 | A[_columnIndex + i * _m] = _column[i]; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | bool EtaMatrix::operator==( const EtaMatrix &other ) const |
| 117 | { |
no outgoing calls
no test coverage detected