Teuchos::MinValueReductionOp< Ordinal, Packet > Class Template Reference

Standard min operator for types with value semantics. More...

#include <Teuchos_CommHelpers.hpp>

Inheritance diagram for Teuchos::MinValueReductionOp< Ordinal, Packet >:

Teuchos::ValueTypeReductionOp< Ordinal, Packet > Teuchos::Describable Teuchos::LabeledObject List of all members.

Public Member Functions

void reduce (const Ordinal count, const Packet inBuffer[], Packet inoutBuffer[]) const

Detailed Description

template<typename Ordinal, typename Packet>
class Teuchos::MinValueReductionOp< Ordinal, Packet >

Standard min operator for types with value semantics.

Note, this class object will throw an std::exception when used with a packet type where ScalarTraits<Packet>::isComparable==false but it will still compile.

Definition at line 532 of file Teuchos_CommHelpers.hpp.

Member Function Documentation

template<typename Ordinal, typename Packet>
void Teuchos::MinValueReductionOp< Ordinal, Packet >::reduce ( const Ordinal  count,
const Packet  inBuffer[],
Packet  inoutBuffer[] 
) const [virtual]

Implements Teuchos::ValueTypeReductionOp< Ordinal, Packet >.

Definition at line 721 of file Teuchos_CommHelpers.hpp.

The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:23:01 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7