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

Visitor computing the min coefficient with its value and coordinates. More...

#include <STK_Visitors.h>

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

Public Member Functions

 MinEltVisitor ()
 
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::MinEltVisitor< Type >

Visitor computing the min coefficient with its value and coordinates.

See also
STK::ExprBase::minElt(int, int), STK::ExprBase::minElt(int)

Definition at line 80 of file STK_Visitors.h.

Constructor & Destructor Documentation

◆ MinEltVisitor()

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

Definition at line 82 of file STK_Visitors.h.

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

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

Member Function Documentation

◆ operator()()

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

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