MOAB  4.9.3pre
Eigen::internal::min_coeff_visitor< Derived > Struct Template Reference

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

#include <Visitor.h>

Inheritance diagram for Eigen::internal::min_coeff_visitor< Derived >:
Collaboration diagram for Eigen::internal::min_coeff_visitor< Derived >:

List of all members.

Public Types

typedef Derived::Scalar Scalar

Public Member Functions

EIGEN_DEVICE_FUNC void operator() (const Scalar &value, Index i, Index j)

Detailed Description

template<typename Derived>
struct Eigen::internal::min_coeff_visitor< Derived >

Visitor computing the min coefficient with its value and coordinates.

See also:
DenseBase::minCoeff(Index*, Index*)

Definition at line 145 of file Visitor.h.


Member Typedef Documentation

template<typename Derived>
typedef Derived::Scalar Eigen::internal::min_coeff_visitor< Derived >::Scalar

Reimplemented from Eigen::internal::coeff_visitor< Derived >.

Definition at line 147 of file Visitor.h.


Member Function Documentation

template<typename Derived>
EIGEN_DEVICE_FUNC void Eigen::internal::min_coeff_visitor< Derived >::operator() ( const Scalar value,
Index  i,
Index  j 
) [inline]

Definition at line 149 of file Visitor.h.

  {
    if(value < this->res)
    {
      this->res = value;
      this->row = i;
      this->col = j;
    }
  }

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