Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
Tpetra::Details::AbsMax< Scalar > Struct Template Reference

Functor for the the ABSMAX CombineMode of Import and Export operations. More...

#include <Tpetra_CrsMatrix_def.hpp>

Public Member Functions

Scalar operator() (const Scalar &x, const Scalar &y)
 Return the maximum of the magnitudes (absolute values) of x and y. More...
 

Detailed Description

template<class Scalar>
struct Tpetra::Details::AbsMax< Scalar >

Functor for the the ABSMAX CombineMode of Import and Export operations.

Template Parameters
ScalarSame as the Scalar template parameter of CrsMatrix.
Warning
This is an implementation detail of CrsMatrix. Users must not rely on this class. It may disappear or its interface may change at any time.
Template Parameters
ScalarSame as the Scalar template parameter of CrsMatrix.

Definition at line 99 of file Tpetra_CrsMatrix_def.hpp.

Member Function Documentation

template<class Scalar >
Scalar Tpetra::Details::AbsMax< Scalar >::operator() ( const Scalar &  x,
const Scalar &  y 
)
inline

Return the maximum of the magnitudes (absolute values) of x and y.

Definition at line 101 of file Tpetra_CrsMatrix_def.hpp.


The documentation for this struct was generated from the following file: