10 #ifndef EIGEN_SOLVERBASE_H 11 #define EIGEN_SOLVERBASE_H 40 template<
typename Derived>
46 typedef typename internal::traits<Derived>::Scalar Scalar;
47 typedef Scalar CoeffReturnType;
50 RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime,
51 ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime,
52 SizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::RowsAtCompileTime,
53 internal::traits<Derived>::ColsAtCompileTime>::ret),
54 MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime,
55 MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime,
56 MaxSizeAtCompileTime = (internal::size_at_compile_time<internal::traits<Derived>::MaxRowsAtCompileTime,
57 internal::traits<Derived>::MaxColsAtCompileTime>::ret),
58 IsVectorAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime == 1
59 || internal::traits<Derived>::MaxColsAtCompileTime == 1
73 template<
typename Rhs>
77 eigen_assert(derived().rows()==b.
rows() &&
"solve(): invalid number of rows of the right hand side matrix b");
92 return ConstTransposeReturnType(derived());
96 typedef typename internal::conditional<NumTraits<Scalar>::IsComplex,
98 ConstTransposeReturnType
99 >::type AdjointReturnType;
111 return AdjointReturnType(derived().transpose());
119 template<
typename Derived>
120 struct generic_xpr_base<Derived, MatrixXpr, SolverStorage>
130 #endif // EIGEN_SOLVERBASE_H const Solve< Derived, Rhs > solve(const MatrixBase< Rhs > &b) const
Definition: SolverBase.h:75
Expression of the transpose of a matrix.
Definition: Transpose.h:52
Namespace containing all symbols from the Eigen library.
Definition: Core:287
Derived & derived()
Definition: EigenBase.h:45
Definition: EigenBase.h:29
Index rows() const
Definition: EigenBase.h:59
ConstTransposeReturnType transpose() const
Definition: SolverBase.h:90
Definition: Eigen_Colamd.h:50
SolverBase()
Definition: SolverBase.h:63
Pseudo expression representing a solving operation.
Definition: Solve.h:62
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:55
AdjointReturnType adjoint() const
Definition: SolverBase.h:109
A base class for matrix decomposition and solvers.
Definition: SolverBase.h:41
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:48