A base class for matrix decomposition and solvers. More...
#include <SolverBase.h>
Public Types | |
enum | { RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, SizeAtCompileTime, MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime, MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime, MaxSizeAtCompileTime, IsVectorAtCompileTime, NumDimensions = int(MaxSizeAtCompileTime) == 1 ? 0 : bool(IsVectorAtCompileTime) ? 1 : 2 } |
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, ConstTransposeReturnType >, ConstTransposeReturnType >::type | AdjointReturnType |
typedef EigenBase< Derived > | Base |
typedef Scalar | CoeffReturnType |
typedef internal::add_const< Transpose< const Derived > >::type | ConstTransposeReturnType |
typedef internal::traits< Derived >::Scalar | Scalar |
Public Types inherited from Eigen::EigenBase< Derived > | |
typedef Eigen::Index | Index |
The interface type of indices. More... | |
typedef internal::traits< Derived >::StorageKind | StorageKind |
Public Member Functions | |
AdjointReturnType | adjoint () const |
template<typename Rhs > | |
const Solve< Derived, Rhs > | solve (const MatrixBase< Rhs > &b) const |
SolverBase () | |
ConstTransposeReturnType | transpose () const |
~SolverBase () | |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
EIGEN_DEVICE_FUNC Derived & | derived () |
EIGEN_DEVICE_FUNC const Derived & | derived () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
Protected Member Functions | |
template<bool Transpose_, typename Rhs > | |
void | _check_solve_assertion (const Rhs &b) const |
Friends | |
template<typename Derived_ > | |
struct | internal::solve_assertion |
A base class for matrix decomposition and solvers.
Derived | the actual type of the decomposition/solver. |
Any matrix decomposition inheriting this base class provide the following API:
Definition at line 68 of file SolverBase.h.
Definition at line 130 of file SolverBase.h.
typedef EigenBase<Derived> Eigen::SolverBase< Derived >::Base |
Definition at line 72 of file SolverBase.h.
typedef Scalar Eigen::SolverBase< Derived >::CoeffReturnType |
Definition at line 74 of file SolverBase.h.
typedef internal::add_const<Transpose<const Derived> >::type Eigen::SolverBase< Derived >::ConstTransposeReturnType |
Definition at line 113 of file SolverBase.h.
typedef internal::traits<Derived>::Scalar Eigen::SolverBase< Derived >::Scalar |
Definition at line 73 of file SolverBase.h.
anonymous enum |
Enumerator | |
---|---|
RowsAtCompileTime | |
ColsAtCompileTime | |
SizeAtCompileTime | |
MaxRowsAtCompileTime | |
MaxColsAtCompileTime | |
MaxSizeAtCompileTime | |
IsVectorAtCompileTime | |
NumDimensions |
Definition at line 79 of file SolverBase.h.
|
inline |
Default constructor
Definition at line 94 of file SolverBase.h.
|
inline |
Definition at line 97 of file SolverBase.h.
|
inlineprotected |
Definition at line 148 of file SolverBase.h.
|
inline |
A typical usage is to solve for the adjoint problem A' x = b:
For real scalar types, this function is equivalent to transpose().
Definition at line 140 of file SolverBase.h.
|
inline |
Definition at line 106 of file SolverBase.h.
|
inline |
A typical usage is to solve for the transposed problem A^T x = b:
Definition at line 121 of file SolverBase.h.
|
friend |
Definition at line 77 of file SolverBase.h.