42 #ifndef THYRA_DIAGONAL_LINEAR_OP_WITH_SOLVE_DECL_HPP
43 #define THYRA_DIAGONAL_LINEAR_OP_WITH_SOLVE_DECL_HPP
45 #include "Thyra_DefaultDiagonalLinearOp.hpp"
46 #include "Thyra_LinearOpWithSolveBase.hpp"
91 template<
class Scalar>
139 template<
class Scalar>
151 template<
class Scalar>
158 defaultDiagonalLinearOpWithSolve<Scalar>();
159 ddlows->initialize(diag);
168 #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.