10 #ifndef EIGEN_SOLVERBASE_H
11 #define EIGEN_SOLVERBASE_H
20 template <
typename Derived>
22 template <
bool Transpose_,
typename Rhs>
24 solver.template _check_solve_assertion<Transpose_>(
b);
28 template <
typename Derived>
32 template <
bool Transpose_,
typename Rhs>
38 template <
typename Scalar,
typename Derived>
42 template <
bool Transpose_,
typename Rhs>
71 template <
typename Derived>
78 template <
typename Derived_>
105 template <
typename Rhs>
139 template <
bool Transpose_,
typename Rhs>
144 "SolverBase::solve(): invalid number of rows of the right hand side matrix b");
150 template <
typename Derived>
BiCGSTAB< SparseMatrix< double > > solver
Definition: BiCGSTAB_simple.cpp:5
#define EIGEN_ONLY_USED_FOR_DEBUG(x)
Definition: Macros.h:922
#define eigen_assert(x)
Definition: Macros.h:910
void adjoint(const MatrixType &m)
Definition: adjoint.cpp:85
Scalar * b
Definition: benchVecAdd.cpp:17
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:53
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:52
Pseudo expression representing a solving operation.
Definition: Solve.h:62
A base class for matrix decomposition and solvers.
Definition: SolverBase.h:72
internal::traits< Derived >::Scalar Scalar
Definition: SolverBase.h:75
Transpose< const Derived > ConstTransposeReturnType
Definition: SolverBase.h:112
EigenBase< Derived > Base
Definition: SolverBase.h:74
constexpr EIGEN_DEVICE_FUNC Derived & derived()
Definition: EigenBase.h:49
SolverBase()
Definition: SolverBase.h:97
~SolverBase()
Definition: SolverBase.h:99
const ConstTransposeReturnType transpose() const
Definition: SolverBase.h:120
const Solve< Derived, Rhs > solve(const MatrixBase< Rhs > &b) const
Definition: SolverBase.h:106
Scalar CoeffReturnType
Definition: SolverBase.h:76
@ RowsAtCompileTime
Definition: SolverBase.h:82
@ NumDimensions
Definition: SolverBase.h:91
@ ColsAtCompileTime
Definition: SolverBase.h:83
@ MaxRowsAtCompileTime
Definition: SolverBase.h:85
@ IsVectorAtCompileTime
Definition: SolverBase.h:89
@ MaxSizeAtCompileTime
Definition: SolverBase.h:87
@ MaxColsAtCompileTime
Definition: SolverBase.h:86
@ SizeAtCompileTime
Definition: SolverBase.h:84
void _check_solve_assertion(const Rhs &b) const
Definition: SolverBase.h:140
const AdjointReturnType adjoint() const
Definition: SolverBase.h:136
std::conditional_t< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, const ConstTransposeReturnType >, const ConstTransposeReturnType > AdjointReturnType
Definition: SolverBase.h:126
Expression of the transpose of a matrix.
Definition: Transpose.h:56
@ IsComplex
Definition: common.h:73
@ Rhs
Definition: TensorContractionMapper.h:20
constexpr int size_at_compile_time(int rows, int cols)
Definition: XprHelper.h:373
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
void transpose()
Definition: skew_symmetric_matrix3.cpp:135
Definition: Eigen_Colamd.h:49
Definition: EigenBase.h:33
constexpr EIGEN_DEVICE_FUNC Derived & derived()
Definition: EigenBase.h:49
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition: EigenBase.h:61
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition: EigenBase.h:59
Definition: Constants.h:534
Definition: Constants.h:525
SolverBase< Derived > type
Definition: SolverBase.h:152
Definition: XprHelper.h:575
Template functor to compute the conjugate of a complex value.
Definition: functors/UnaryFunctors.h:132
Definition: XprHelper.h:380
CwiseUnaryOp< Eigen::internal::scalar_conjugate_op< Scalar >, const Transpose< Derived > > type
Definition: SolverBase.h:40
static void run(const type &adjoint, const Rhs &b)
Definition: SolverBase.h:43
Transpose< Derived > type
Definition: SolverBase.h:30
static void run(const type &transpose, const Rhs &b)
Definition: SolverBase.h:33
Definition: SolverBase.h:21
static void run(const Derived &solver, const Rhs &b)
Definition: SolverBase.h:23
Definition: ForwardDeclarations.h:21