M = I.
More...
#include <Thyra_DefaultIdentityLinearOpDecl.hpp>
Inheritance diagram for Thyra::DefaultIdentityLinearOp< Scalar >:

Constructors/initializers/accessors | |
| DefaultIdentityLinearOp () | |
| Constructs to uninitialized. | |
| DefaultIdentityLinearOp (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &space) | |
| void | initialize (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &space) |
| Initialize given a list of non-const linear operators. | |
| void | uninitialize () |
| Set to uninitialized. | |
Overridden from LinearOpBase | |
| Teuchos::RCP< const VectorSpaceBase< Scalar > > | range () const |
Returns Teuchos::null if uninitialized. | |
| Teuchos::RCP< const VectorSpaceBase< Scalar > > | domain () const |
Returns Teuchos::null if uninitialized. | |
| Teuchos::RCP< const LinearOpBase< Scalar > > | clone () const |
| | |
Overridden from Teuchos::Describable | |
| std::string | description () const |
Prints just the name DefaultIdentityLinearOp along with the overall dimensions. | |
Overridden from SingleScalarLinearOpBase | |
| bool | opSupported (EOpTransp M_trans) const |
Returns true . | |
| void | apply (const EOpTransp M_trans, const MultiVectorBase< Scalar > &X, MultiVectorBase< Scalar > *Y, const Scalar alpha, const Scalar beta) const |
| | |
Related Functions | |
| (Note that these are not member functions.) | |
| Teuchos::RCP< const LinearOpBase< Scalar > > | identity (const Teuchos::RCP< const VectorSpaceBase< Scalar > > &space, const std::string &label="") |
| Create an identity linear operator with given a vector space. | |
M = I.
This class implements:
y = alpha*op(M)*x + beta*y => y = alpha*x + beta*y
Definition at line 56 of file Thyra_DefaultIdentityLinearOpDecl.hpp.
| Thyra::DefaultIdentityLinearOp< Scalar >::DefaultIdentityLinearOp | ( | ) |
Constructs to uninitialized.
Postconditions:
this->range().get()==NULL Definition at line 41 of file Thyra_DefaultIdentityLinearOp.hpp.
| Thyra::DefaultIdentityLinearOp< Scalar >::DefaultIdentityLinearOp | ( | const Teuchos::RCP< const VectorSpaceBase< Scalar > > & | space | ) |
Calls initialize().
Definition at line 45 of file Thyra_DefaultIdentityLinearOp.hpp.
| void Thyra::DefaultIdentityLinearOp< Scalar >::initialize | ( | const Teuchos::RCP< const VectorSpaceBase< Scalar > > & | space | ) |
Initialize given a list of non-const linear operators.
| range | [in] Range vector space. | |
| range | [in] Domain vector space. |
range.get()!=NULL domain.get()!=NULL Postconditions:
Definition at line 53 of file Thyra_DefaultIdentityLinearOp.hpp.
| void Thyra::DefaultIdentityLinearOp< Scalar >::uninitialize | ( | ) |
Set to uninitialized.
Postconditions:
this->range().get()==NULL Definition at line 61 of file Thyra_DefaultIdentityLinearOp.hpp.
| Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultIdentityLinearOp< Scalar >::range | ( | ) | const [virtual] |
Returns Teuchos::null if uninitialized.
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 70 of file Thyra_DefaultIdentityLinearOp.hpp.
| Teuchos::RCP< const VectorSpaceBase< Scalar > > Thyra::DefaultIdentityLinearOp< Scalar >::domain | ( | ) | const [virtual] |
Returns Teuchos::null if uninitialized.
Implements Thyra::LinearOpBase< Scalar >.
Definition at line 77 of file Thyra_DefaultIdentityLinearOp.hpp.
| Teuchos::RCP< const LinearOpBase< Scalar > > Thyra::DefaultIdentityLinearOp< Scalar >::clone | ( | ) | const [virtual] |
Reimplemented from Thyra::LinearOpBase< Scalar >.
Definition at line 84 of file Thyra_DefaultIdentityLinearOp.hpp.
| std::string Thyra::DefaultIdentityLinearOp< Scalar >::description | ( | ) | const [virtual] |
Prints just the name DefaultIdentityLinearOp along with the overall dimensions.
Reimplemented from Thyra::LinearOpDefaultBase< Scalar >.
Definition at line 95 of file Thyra_DefaultIdentityLinearOp.hpp.
| bool Thyra::DefaultIdentityLinearOp< Scalar >::opSupported | ( | EOpTransp | M_trans | ) | const [protected, virtual] |
Returns true .
Implements Thyra::SingleScalarLinearOpBase< Scalar >.
Definition at line 111 of file Thyra_DefaultIdentityLinearOp.hpp.
| void Thyra::DefaultIdentityLinearOp< Scalar >::apply | ( | const EOpTransp | M_trans, | |
| const MultiVectorBase< Scalar > & | X, | |||
| MultiVectorBase< Scalar > * | Y, | |||
| const Scalar | alpha, | |||
| const Scalar | beta | |||
| ) | const [protected, virtual] |
Implements Thyra::SingleScalarLinearOpBase< Scalar >.
Definition at line 117 of file Thyra_DefaultIdentityLinearOp.hpp.
| Teuchos::RCP< const LinearOpBase< Scalar > > identity | ( | const Teuchos::RCP< const VectorSpaceBase< Scalar > > & | space, | |
| const std::string & | label = "" | |||
| ) | [related] |
Create an identity linear operator with given a vector space.
Definition at line 142 of file Thyra_DefaultIdentityLinearOp.hpp.
1.4.7