Public Member Functions
Playa::RowAccessibleOp< Scalar > Class Template Reference
Inheritance diagram for Playa::RowAccessibleOp< Scalar >:
Playa::MultiVectorOperator< Scalar >

List of all members.

Public Member Functions

virtual ~RowAccessibleOp ()
virtual void getRow (const int &row, Teuchos::Array< int > &indices, Teuchos::Array< Scalar > &values) const =0

Detailed Description

template<class Scalar>
class Playa::RowAccessibleOp< Scalar >

Base interface for operators for which a row may be extracted.

Definition at line 54 of file PlayaRowAccessibleOp.hpp.


Constructor & Destructor Documentation

template<class Scalar>
virtual Playa::RowAccessibleOp< Scalar >::~RowAccessibleOp ( ) [inline, virtual]

Virtual dtor

Definition at line 58 of file PlayaRowAccessibleOp.hpp.


Member Function Documentation

template<class Scalar>
virtual void Playa::RowAccessibleOp< Scalar >::getRow ( const int &  row,
Teuchos::Array< int > &  indices,
Teuchos::Array< Scalar > &  values 
) const [pure virtual]

Get the non-zero values in the row-th row.

Parameters:
rowthe index of the row
indicesthe column indices of the non-zero values in row row
valuesthe non-zero values corresponding to the indices in indices

Implemented in Playa::EpetraMatrix, and Playa::MultiVectorOperator< Scalar >.

Referenced by Playa::LinearOperator< Scalar >::getRow().

Site Contact