File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/config/TeX-MML-AM_CHTML/MathJax.js
DGtal 2.0.0
DGtal::concepts::CWithGradientMap< T > Struct Template Reference

Aim: Such object provides a gradient map that associates to each argument some real vector. More...

#include <DGtal/kernel/CWithGradientMap.h>

Public Types

typedef T::Argument Argument
typedef T::RealVector RealVector
typedef T::GradientMap GradientMap

Public Member Functions

 BOOST_CONCEPT_ASSERT ((boost::CopyConstructible< GradientMap >))
 BOOST_CONCEPT_ASSERT ((CUnaryFunctor< GradientMap, Argument, RealVector >))
 BOOST_CONCEPT_USAGE (CWithGradientMap)
void checkConstConstraints () const

Private Attributes

myX
GradientMap myGMap

Detailed Description

template<typename T>
struct DGtal::concepts::CWithGradientMap< T >

Aim: Such object provides a gradient map that associates to each argument some real vector.

Description of concept 'CWithGradientMap'

Refinement of

Associated types

Notation

Definitions

Valid expressions and semantics

| Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity | |----—|---------—|----------------—|------------—|-----------—|--------—|-------------—|---------—| | Gets the gradient map |x.gradientMap()| |GradientMap | | returns the gradient functor | | | |

Invariants

Models

ImplicitFunctionDiff1LinearCellEmbedder, DigitalSurfaceEmbedderWithNormalVectorEstimator

Notes

Template Parameters
Tthe type that should be a model of CWithGradientMap.

Definition at line 91 of file CWithGradientMap.h.

Member Typedef Documentation

◆ Argument

template<typename T>
typedef T::Argument DGtal::concepts::CWithGradientMap< T >::Argument

Definition at line 95 of file CWithGradientMap.h.

◆ GradientMap

template<typename T>
typedef T::GradientMap DGtal::concepts::CWithGradientMap< T >::GradientMap

Definition at line 97 of file CWithGradientMap.h.

◆ RealVector

template<typename T>
typedef T::RealVector DGtal::concepts::CWithGradientMap< T >::RealVector

Definition at line 96 of file CWithGradientMap.h.

Member Function Documentation

◆ BOOST_CONCEPT_ASSERT() [1/2]

template<typename T>
DGtal::concepts::CWithGradientMap< T >::BOOST_CONCEPT_ASSERT ( (boost::CopyConstructible< GradientMap >) )

◆ BOOST_CONCEPT_ASSERT() [2/2]

template<typename T>
DGtal::concepts::CWithGradientMap< T >::BOOST_CONCEPT_ASSERT ( (CUnaryFunctor< GradientMap, Argument, RealVector >) )

◆ BOOST_CONCEPT_USAGE()

template<typename T>
DGtal::concepts::CWithGradientMap< T >::BOOST_CONCEPT_USAGE ( CWithGradientMap< T > )
inline

Definition at line 100 of file CWithGradientMap.h.

101 {
103 }

References checkConstConstraints().

◆ checkConstConstraints()

template<typename T>
void DGtal::concepts::CWithGradientMap< T >::checkConstConstraints ( ) const
inline

Field Documentation

◆ myGMap

template<typename T>
GradientMap DGtal::concepts::CWithGradientMap< T >::myGMap
private

Definition at line 111 of file CWithGradientMap.h.

Referenced by checkConstConstraints().

◆ myX

template<typename T>
T DGtal::concepts::CWithGradientMap< T >::myX
private

Definition at line 110 of file CWithGradientMap.h.

Referenced by checkConstConstraints().


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