MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / adjoint

Method adjoint

include/Eigen/Eigen/src/SparseLU/SparseLU.h:224–230  ·  view source on GitHub ↗

\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() */

Source from the content-addressed store, hash-verified

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(); }

Callers 15

_solve_implMethod · 0.45
operatorNormMethod · 0.45
splitOffTwoRowsMethod · 0.45
MatrixType operatorSqrtFunction · 0.45
hessenbergTriangularMethod · 0.45

Calls 2

setSparseLUMethod · 0.80
setIsInitializedMethod · 0.80

Tested by

no test coverage detected