45 #include "Thyra_VectorStdOps.hpp"
46 #include "Thyra_MultiVectorStdOps.hpp"
50 namespace AbstractLinAlgPack {
58 const Teuchos::RCP<
const Thyra::LinearOpWithSolveBase<value_type> > &thyra_linear_op_ns
66 const Teuchos::RCP<
const Thyra::LinearOpWithSolveBase<value_type> > &thyra_linear_op_ns
70 namespace mmp = MemMngPack;
73 ,
"MatrixOpNonsingThyra::initialize(thyra_linear_op_ns): Error!"
84 return tmp_thyra_linear_op_ns;
90 return Teuchos::rcp_dynamic_cast<
const Thyra::LinearOpWithSolveBase<value_type> >(this->
thyra_linear_op());
95 MatrixOp::mat_mut_ptr_t
112 v_lhs==NULL, std::invalid_argument
113 ,
"MatrixOpThyra::Vp_StMtV(...): Error!"
119 Thyra::solve<value_type>(
139 MatrixOpNonsing::mat_mwons_ptr_t
Abstract interface for immutable, finite dimensional, coordinate vectors {abstract}.
Teuchos::RCP< const Thyra::LinearOpWithSolveBase< value_type > > thyra_linear_op_ns() const
Return a smart pointer to the Thyra::LinearOpWithSolveBase object.
void initialize(const Teuchos::RCP< const Thyra::LinearOpWithSolveBase< value_type > > &thyra_linear_op_ns, BLAS_Cpp::Transp thyra_linear_op_trans=BLAS_Cpp::no_trans)
Initalize given a smart pointer to a Thyra::LinearOpWithSolveBase object.
RTOp_value_type value_type
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
virtual void initialize(const Teuchos::RCP< const Thyra::LinearOpBase< value_type > > &thyra_linear_op, BLAS_Cpp::Transp thyra_linear_op_trans=BLAS_Cpp::no_trans)
Initalize given a smart pointer to a Thyra::LinearOpBase object.
MatrixOpNonsingThyra()
Construct to uninitialized.
void V_InvMtV(VectorMutable *v_lhs, BLAS_Cpp::Transp trans_rhs1, const Vector &v_rhs2) const
void M_StInvMtM(MatrixOp *m_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2) const
mat_mut_ptr_t clone()
Overridden to call MatrixOpThyra::clone()
mat_mwons_ptr_t clone_mwons() const
BLAS_Cpp::Transp thyra_linear_op_trans() const
T_To & dyn_cast(T_From &from)
VectorMutable adapter subclass for Thyra::VectorBase.
Transp trans_trans(Transp _trans1, Transp _trans2)
Return the transpose of the transpose argument.
Teuchos::RCP< const Thyra::LinearOpBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
Base class for all matrices that support basic matrix operations.
Teuchos::RCP< Thyra::VectorBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::VectorBase object.
Abstract interface for mutable coordinate vectors {abstract}.
friend void M_StInvMtM(MatrixOp *m_lhs, value_type alpha, const MatrixNonsing &M_rhs1, BLAS_Cpp::Transp trans_rhs1, const MatrixOp &mwo_rhs2, BLAS_Cpp::Transp trans_rhs2)
Teuchos::RCP< const Thyra::LinearOpWithSolveBase< value_type > > set_uninitialized()
Set to uninitialized and return smart pointer to the internal Thyra::LinearOpWithSolveBase object...
void initialize(const Teuchos::RCP< Thyra::VectorBase< value_type > > &thyra_vec)
Initalize given a smart pointer to a Thyra::Vetor object.
const Teuchos::RCP< const Thyra::LinearOpBase< value_type > > & thyra_linear_op() const
Return a (converted) smart pointer to the internal smart pointer to the Thyra::VectorBase object...