10 #ifndef THYRA_DIAGONAL_LINEAR_OP_WITH_SOLVE_DECL_HPP
11 #define THYRA_DIAGONAL_LINEAR_OP_WITH_SOLVE_DECL_HPP
13 #include "Thyra_DefaultDiagonalLinearOp.hpp"
14 #include "Thyra_LinearOpWithSolveBase.hpp"
59 template<
class Scalar>
107 template<
class Scalar>
119 template<
class Scalar>
126 defaultDiagonalLinearOpWithSolve<Scalar>();
127 ddlows->initialize(diag);
136 #endif // THYRA_DIAGONAL_LINEAR_OP_WITH_SOLVE_DECL_HPP
Base class for all linear operators that can support a high-level solve operation.
EOpTransp
Enumeration for determining how a linear operator is applied. `*.
RCP< DefaultDiagonalLinearOpWithSolve< Scalar > > defaultDiagonalLinearOpWithSolve()
Nonmember constructor.
SolveStatus< Scalar > solveImpl(const EOpTransp transp, const MultiVectorBase< Scalar > &B, const Ptr< MultiVectorBase< Scalar > > &X, const Ptr< const SolveCriteria< Scalar > > solveCriteria) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Interface for a collection of column vectors called a multi-vector.
Concrete LinearOpWithSolveBase subclass for diagonal linear operators.
DefaultDiagonalLinearOpWithSolve()
Constructs to uninitialized.
RCP< DefaultDiagonalLinearOpWithSolve< Scalar > > defaultDiagonalLinearOpWithSolve(const RCP< const VectorBase< Scalar > > &diag)
Nonmember constructor.
Abstract interface for finite-dimensional dense vectors.
Simple struct for the return status from a solve.
bool solveSupportsImpl(EOpTransp M_trans) const
bool solveSupportsSolveMeasureTypeImpl(EOpTransp M_trans, const SolveMeasureType &solveMeasureType) const
Simple struct that defines the requested solution criteria for a solve.
Default concrete LinearOpBase subclass for diagonal linear operators.