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 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 exception when used with a packet type where ScalarTraits<Packet>::isComparable==false but it will still compile.

Definition at line 367 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 545 of file Teuchos_CommHelpers.hpp.

The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen