Thyra::LinearOperator< Scalar > Class Template Reference
[Development of linear Abstract Numerical Algorithms (ANAs)]

#include <Thyra_LinearOperatorDecl.hpp>

Inheritance diagram for Thyra::LinearOperator< Scalar >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 LinearOperator (const Teuchos::ENull _null=Teuchos::null)
 
 LinearOperator (Teuchos::Handleable< LinearOpBase< Scalar > > *rawPtr)
 Construct from a raw pointer.
 LinearOperator (const Teuchos::RCP< LinearOpBase< Scalar > > &smartPtr)
 Construct from a smart pointer.
LinearOperator< Scalar > getBlock (int blockRow, int blockCol)
 Return the (blockRow, blockCol)-th subblock.

Related Functions

(Note that these are not member functions.)

LinearOperator< Scalar > operator * (const Scalar &a, const LinearOperator< Scalar > &A)
 Implicitly scale a linear operator.
LinearOperator< Scalar > operator * (const LinearOperator< Scalar > &A, const Scalar &a)
 Implicitly scale a linear operator.
LinearOperator< Scalar > operator * (const LinearOperator< Scalar > &A, const LinearOperator< Scalar > &B)
 Implicitly multiply two linear operators.
LinearOperator< Scalar > operator+ (const LinearOperator< Scalar > &A, const LinearOperator< Scalar > &B)
 Implicitly add two linear operators.
LinearOperator< Scalar > block2x2 (const LinearOperator< Scalar > &A00, const LinearOperator< Scalar > &A01, const LinearOperator< Scalar > &A10, const LinearOperator< Scalar > &A11)
 Form an implicit block 2x2 linear operator [ A00, A01; A10, A11 ].
LinearOperator< Scalar > block2x1 (const LinearOperator< Scalar > &A00, const LinearOperator< Scalar > &A10)
 Form an implicit block 2x1 linear operator [ A00; A10 ].
LinearOperator< Scalar > block1x2 (const LinearOperator< Scalar > &A00, const LinearOperator< Scalar > &A01)
 Form an implicit block 1x2 linear operator [ A00, A01 ].

Detailed Description

template<class Scalar>
class Thyra::LinearOperator< Scalar >

Handle class for Thyra::LinearOpBase objects which supports operator-overloading implicit linear operator construction.

Definition at line 111 of file Thyra_LinearOperatorDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::LinearOperator< Scalar >::LinearOperator ( const Teuchos::ENull  _null = Teuchos::null  )  [inline]

Definition at line 118 of file Thyra_LinearOperatorDecl.hpp.

template<class Scalar>
Thyra::LinearOperator< Scalar >::LinearOperator ( Teuchos::Handleable< LinearOpBase< Scalar > > *  rawPtr  )  [inline]

Construct from a raw pointer.

Definition at line 122 of file Thyra_LinearOperatorDecl.hpp.

template<class Scalar>
Thyra::LinearOperator< Scalar >::LinearOperator ( const Teuchos::RCP< LinearOpBase< Scalar > > &  smartPtr  )  [inline]

Construct from a smart pointer.

Definition at line 126 of file Thyra_LinearOperatorDecl.hpp.


Member Function Documentation

template<class Scalar>
LinearOperator< Scalar > Thyra::LinearOperator< Scalar >::getBlock ( int  blockRow,
int  blockCol 
) [inline]

Return the (blockRow, blockCol)-th subblock.

Definition at line 126 of file Thyra_LinearOperatorImpl.hpp.


Friends And Related Function Documentation

template<class Scalar>
LinearOperator< Scalar > operator * ( const Scalar &  a,
const LinearOperator< Scalar > &  A 
) [related]

Implicitly scale a linear operator.

Definition at line 158 of file Thyra_LinearOperatorImpl.hpp.

template<class Scalar>
LinearOperator< Scalar > operator * ( const LinearOperator< Scalar > &  A,
const Scalar &  a 
) [related]

Implicitly scale a linear operator.

template<class Scalar>
LinearOperator< Scalar > operator * ( const LinearOperator< Scalar > &  A,
const LinearOperator< Scalar > &  B 
) [related]

Implicitly multiply two linear operators.

Definition at line 174 of file Thyra_LinearOperatorImpl.hpp.

template<class Scalar>
LinearOperator< Scalar > operator+ ( const LinearOperator< Scalar > &  A,
const LinearOperator< Scalar > &  B 
) [related]

Implicitly add two linear operators.

Definition at line 190 of file Thyra_LinearOperatorImpl.hpp.

template<class Scalar>
LinearOperator< Scalar > block2x2 ( const LinearOperator< Scalar > &  A00,
const LinearOperator< Scalar > &  A01,
const LinearOperator< Scalar > &  A10,
const LinearOperator< Scalar > &  A11 
) [related]

Form an implicit block 2x2 linear operator [ A00, A01; A10, A11 ].

Definition at line 224 of file Thyra_LinearOperatorImpl.hpp.

template<class Scalar>
LinearOperator< Scalar > block2x1 ( const LinearOperator< Scalar > &  A00,
const LinearOperator< Scalar > &  A10 
) [related]

Form an implicit block 2x1 linear operator [ A00; A10 ].

Definition at line 234 of file Thyra_LinearOperatorImpl.hpp.

template<class Scalar>
LinearOperator< Scalar > block1x2 ( const LinearOperator< Scalar > &  A00,
const LinearOperator< Scalar > &  A01 
) [related]

Form an implicit block 1x2 linear operator [ A00, A01 ].

Definition at line 242 of file Thyra_LinearOperatorImpl.hpp.


The documentation for this class was generated from the following files:
Generated on Wed Feb 10 16:28:15 2010 for Thyra Operator/Vector Support by  doxygen 1.4.7