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 502 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 691 of file Teuchos_CommHelpers.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:40:33 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7