Tpetra Matrix/Vector Services Version of the Day
Functions
TpetraExamples Namespace Reference

Namespace for Tpetra example classes and methods. More...

Functions

template<class Scalar , class Ordinal >
Scalar powerMethod (const Teuchos::RCP< const Tpetra::Operator< Scalar, Ordinal > > &A, int niters, typename Teuchos::ScalarTraits< Scalar >::magnitudeType tolerance, bool verbose)
 Simple power iteration eigensolver for a Tpetra::Operator.

Detailed Description

Namespace for Tpetra example classes and methods.


Function Documentation

template<class Scalar , class Ordinal >
Scalar TpetraExamples::powerMethod ( const Teuchos::RCP< const Tpetra::Operator< Scalar, Ordinal > > &  A,
int  niters,
typename Teuchos::ScalarTraits< Scalar >::magnitudeType  tolerance,
bool  verbose 
)

Simple power iteration eigensolver for a Tpetra::Operator.

Definition at line 56 of file Tpetra_Power_Method.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines