Meros::LinearSolver< Scalar > Class Template Reference

Clean interface for solving linear systems. More...

#include <Meros_LinearSolver.hpp>

Collaboration diagram for Meros::LinearSolver< Scalar >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LinearSolver (const LinearSolveStrategy< Scalar > &strategy, const LinearOperator< Scalar > &op)
SolveStatus< typename
PromotionTraits< Scalar,
Scalar >::promote > 
solve (const Vector< Scalar > &rhs, Vector< Scalar > &soln) const

Private Attributes

RCP< const
LinearOpWithSolveBase< Scalar > > 
lows_
LinearOperator< Scalar > op_
LinearSolveStrategy< Scalar > strategy_


Detailed Description

template<class Scalar>
class Meros::LinearSolver< Scalar >

Clean interface for solving linear systems.

Constructor & Destructor Documentation

template<class Scalar >
Meros::LinearSolver< Scalar >::LinearSolver ( const LinearSolveStrategy< Scalar > &  strategy,
const LinearOperator< Scalar > &  op 
) [inline]


Member Function Documentation

template<class Scalar >
SolveStatus<typename PromotionTraits<Scalar, Scalar>::promote> Meros::LinearSolver< Scalar >::solve ( const Vector< Scalar > &  rhs,
Vector< Scalar > &  soln 
) const [inline]


Member Data Documentation

template<class Scalar >
RCP<const LinearOpWithSolveBase<Scalar> > Meros::LinearSolver< Scalar >::lows_ [private]

template<class Scalar >
LinearOperator<Scalar> Meros::LinearSolver< Scalar >::op_ [private]

template<class Scalar >
LinearSolveStrategy<Scalar> Meros::LinearSolver< Scalar >::strategy_ [private]


The documentation for this class was generated from the following file: