Public Member Functions | |
| MultiVectorOperator (const Teuchos::Array< Vector< Scalar > > &cols, const VectorSpace< Scalar > &domain) | |
| virtual | ~MultiVectorOperator () |
| virtual void | apply (Teuchos::ETransp transType, const Vector< Scalar > &in, Vector< Scalar > out) const |
| void | getRow (const int &k, Teuchos::Array< int > &indices, Teuchos::Array< Scalar > &values) const |
Private Attributes | |
| Teuchos::Array< Vector< Scalar > > | cols_ |
Related Functions | |
(Note that these are not member functions.) | |
| template<class Scalar > | |
| LinearOperator< Scalar > | multiVectorOperator (const Teuchos::Array< Vector< Scalar > > &cols, const VectorSpace< Scalar > &domain) |
A MultiVectorOperator is a linear operator whose rows or columns are represented as a multivector
Definition at line 60 of file PlayaMultiVectorOperatorDecl.hpp.
| Playa::MultiVectorOperator< Scalar >::MultiVectorOperator | ( | const Teuchos::Array< Vector< Scalar > > & | cols, |
| const VectorSpace< Scalar > & | domain | ||
| ) | [inline] |
Construct from an array of vectors and a specifier for the domain space.
Definition at line 62 of file PlayaMultiVectorOperatorImpl.hpp.
| virtual Playa::MultiVectorOperator< Scalar >::~MultiVectorOperator | ( | ) | [inline, virtual] |
Virtual dtor
Definition at line 74 of file PlayaMultiVectorOperatorDecl.hpp.
| void Playa::MultiVectorOperator< Scalar >::apply | ( | Teuchos::ETransp | transType, |
| const Vector< Scalar > & | in, | ||
| Vector< Scalar > | out | ||
| ) | const [inline, virtual] |
Apply does an element-by-element multiply between the input vector, x, and the diagonal values.
Implements Playa::LinearOperatorBase< Scalar >.
Definition at line 83 of file PlayaMultiVectorOperatorImpl.hpp.
References Playa::Vector< Scalar >::dot(), Playa::Vector< Scalar >::update(), and Playa::Vector< Scalar >::zero().
| void Playa::MultiVectorOperator< Scalar >::getRow | ( | const int & | k, |
| Teuchos::Array< int > & | indices, | ||
| Teuchos::Array< Scalar > & | values | ||
| ) | const [inline, virtual] |
Return the kth row
Implements Playa::RowAccessibleOp< Scalar >.
Definition at line 113 of file PlayaMultiVectorOperatorImpl.hpp.
| LinearOperator< Scalar > multiVectorOperator | ( | const Teuchos::Array< Vector< Scalar > > & | cols, |
| const VectorSpace< Scalar > & | domain | ||
| ) | [related] |
Definition at line 130 of file PlayaMultiVectorOperatorImpl.hpp.
Teuchos::Array<Vector<Scalar> > Playa::MultiVectorOperator< Scalar >::cols_ [private] |
Definition at line 94 of file PlayaMultiVectorOperatorDecl.hpp.