\returns an expression of the adjoint of the factored matrix * * A typical usage is to solve for the adjoint problem A' x = b: * \code * solver.compute(A); * x = solver.adjoint().solve(b); * \endcode * * For real scalar types, this function is equivalent to transpose(). * * \sa transpose(), solve() */
| 222 | * \sa transpose(), solve() |
| 223 | */ |
| 224 | const SparseLUTransposeView<true, SparseLU<MatrixType_,OrderingType_> > adjoint() |
| 225 | { |
| 226 | SparseLUTransposeView<true, SparseLU<MatrixType_,OrderingType_> > adjointView; |
| 227 | adjointView.setSparseLU(this); |
| 228 | adjointView.setIsInitialized(this->m_isInitialized); |
| 229 | return adjointView; |
| 230 | } |
| 231 | |
| 232 | inline Index rows() const { return m_mat.rows(); } |
| 233 | inline Index cols() const { return m_mat.cols(); } |
no test coverage detected