Collection of Concrete Vector Reduction/Transformation Operator Implementations Version of the Day
Public Member Functions
RTOpPack::ROpMaxIndexLessThanBound< Scalar > Class Template Reference

Returns the maximum element less than some bound along with its index: result.scalar = x(k) and result.index = k such that x(k) >= x(i) for all i where x(i) < bound and k is the minimum index to break ties. More...

#include <RTOpPack_ROpMaxIndexLessThanBound.hpp>

Inheritance diagram for RTOpPack::ROpMaxIndexLessThanBound< Scalar >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ROpMaxIndexLessThanBound (const Scalar &bound_in=Teuchos::ScalarTraits< Scalar >::zero())
 
void bound (const Scalar &bound_in)
 
ScalarIndex< Scalar > operator() (const ReductTarget &reduct_obj) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ROpMaxIndexLessThanBound< Scalar >

Returns the maximum element less than some bound along with its index: result.scalar = x(k) and result.index = k such that x(k) >= x(i) for all i where x(i) < bound and k is the minimum index to break ties.

If no element is less than bound then results.index < 0.

Definition at line 95 of file RTOpPack_ROpMaxIndexLessThanBound.hpp.


Constructor & Destructor Documentation

template<class Scalar >
RTOpPack::ROpMaxIndexLessThanBound< Scalar >::ROpMaxIndexLessThanBound ( const Scalar &  bound_in = Teuchos::ScalarTraits<Scalar>::zero()) [inline]

Definition at line 104 of file RTOpPack_ROpMaxIndexLessThanBound.hpp.


Member Function Documentation

template<class Scalar >
void RTOpPack::ROpMaxIndexLessThanBound< Scalar >::bound ( const Scalar &  bound_in) [inline]

Definition at line 114 of file RTOpPack_ROpMaxIndexLessThanBound.hpp.

template<class Scalar >
ScalarIndex<Scalar> RTOpPack::ROpMaxIndexLessThanBound< Scalar >::operator() ( const ReductTarget reduct_obj) const [inline]

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