STK++ 0.9.13
STK::hidden::MaxEltVisitor< Type > Struct Template Reference

Visitor computing the maximal coefficient of the Array. More...

#include <STK_Visitors.h>

Inheritance diagram for STK::hidden::MaxEltVisitor< Type >:
Inheritance graph

Public Member Functions

 MaxEltVisitor ()
 
void operator() (Type const &value, int i, int j)
 
- Public Member Functions inherited from STK::hidden::EltVisitor2DBase< Type >
 EltVisitor2DBase ()
 
TypeConst result () const
 

Additional Inherited Members

- Public Types inherited from STK::hidden::EltVisitor2DBase< Type >
typedef Type Type
 
typedef RemoveConst< Type >::Type constTypeConst
 
- Public Attributes inherited from STK::hidden::EltVisitor2DBase< Type >
int row_
 
int col_
 
Type res_
 

Detailed Description

template<typename Type>
struct STK::hidden::MaxEltVisitor< Type >

Visitor computing the maximal coefficient of the Array.

See also
ExprBase::maxElt(int, int)

Definition at line 114 of file STK_Visitors.h.

Constructor & Destructor Documentation

◆ MaxEltVisitor()

template<typename Type >
STK::hidden::MaxEltVisitor< Type >::MaxEltVisitor ( )
inline

Definition at line 116 of file STK_Visitors.h.

116 : EltVisitor2DBase<Type>()
117 { this->res_ = -Arithmetic<Type>::max(); }

References STK::hidden::EltVisitor2DBase< Type >::res_.

Member Function Documentation

◆ operator()()

template<typename Type >
void STK::hidden::MaxEltVisitor< Type >::operator() ( Type const value,
int  i,
int  j 
)
inline

The documentation for this struct was generated from the following file: