A base class for matrix decomposition and solvers.
More...
#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/SolverBase.h>
|
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 EigenBase< Derived > | Base |
|
typedef internal::traits< Derived >::Scalar | Scalar |
|
typedef Scalar | CoeffReturnType |
|
typedef internal::add_const< Transpose< constDerived > >::type | ConstTransposeReturnType |
|
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, ConstTransposeReturnType >, ConstTransposeReturnType >::type | AdjointReturnType |
|
typedef Eigen::Index | Index |
| The interface type of indices. More...
|
|
typedef internal::traits< Derived >::StorageKind | StorageKind |
|
template<typename Derived>
class Eigen::SolverBase< Derived >
A base class for matrix decomposition and solvers.
- Template Parameters
-
Derived | the actual type of the decomposition/solver. |
Any matrix decomposition inheriting this base class provide the following API:
DecompositionType
dec(A);
x =
dec.transpose().solve(
b);
x =
dec.adjoint().solve(
b);
- Warning
- Currently, any other usage of transpose() and adjoint() are not supported and will produce compilation errors.
- See also
- class PartialPivLU, class FullPivLU, class HouseholderQR, class ColPivHouseholderQR, class FullPivHouseholderQR, class CompleteOrthogonalDecomposition, class LLT, class LDLT, class SVDBase
◆ AdjointReturnType
template<typename Derived >
◆ Base
template<typename Derived >
◆ CoeffReturnType
template<typename Derived >
◆ ConstTransposeReturnType
template<typename Derived >
◆ Scalar
template<typename Derived >
◆ anonymous enum
template<typename Derived >
Enumerator |
---|
RowsAtCompileTime | |
ColsAtCompileTime | |
SizeAtCompileTime | |
MaxRowsAtCompileTime | |
MaxColsAtCompileTime | |
MaxSizeAtCompileTime | |
IsVectorAtCompileTime | |
NumDimensions | |
◆ SolverBase()
template<typename Derived >
◆ ~SolverBase()
template<typename Derived >
◆ _check_solve_assertion()
template<typename Derived >
template<bool Transpose_, typename Rhs >
◆ adjoint()
template<typename Derived >
- Returns
- an expression of the adjoint of the factored matrix
A typical usage is to solve for the adjoint problem A' x = b:
x =
dec.adjoint().solve(
b);
For real scalar types, this function is equivalent to transpose().
- See also
- transpose(), solve()
◆ derived() [1/2]
template<typename Derived >
- Returns
- a reference to the derived object
◆ derived() [2/2]
template<typename Derived >
- Returns
- a const reference to the derived object
◆ solve()
template<typename Derived >
template<typename Rhs >
- Returns
- an expression of the solution x of \( A x = b \) using the current decomposition of A.
◆ transpose()
template<typename Derived >
- Returns
- an expression of the transposed of the factored matrix.
A typical usage is to solve for the transposed problem A^T x = b:
x =
dec.transpose().solve(
b);
- See also
- adjoint(), solve()
◆ internal::solve_assertion
template<typename Derived >
template<typename Derived_ >
The documentation for this class was generated from the following files:
- /home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/util/ForwardDeclarations.h
- /home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/SolverBase.h