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 >:
Inheritance graph
[legend]

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 522 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 [inline, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:14:03 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1