Playa::RowAccessibleOp< Scalar > Class Template Reference

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 17 of file PlayaRowAccessibleOp.hpp.

Constructor & Destructor Documentation

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

Virtual dtor

Definition at line 21 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.

row the index of the row
indices the column indices of the non-zero values in row row
values the 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