Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Field< Dtype > Class Template Reference

#include <ahField.H>

Public Types

typedef Dtype Distance_Type
 
typedef Dtype dtype
 

Public Member Functions

Dtypeget_value ()
 
const Dtypeget_value () const
 
 Field (Dtype &&d=0.0)
 
 Field (const Dtype &d)
 
 Field (Dtype &d)
 
Fieldoperator= (const Dtype &d)
 
Fieldoperator= (Dtype &d)
 
Fieldoperator= (const Dtype &&d)
 
Field operator+ (const Field &rhs)
 
Fieldoperator+= (const Field &rhs)
 

Static Public Attributes

static const Dtype Zero = 0
 
static const Dtype Min = std::numeric_limits<Dtype>::min()
 
static const Dtype Max = std::numeric_limits<Dtype>::max()
 

Private Attributes

Dtype num
 

Detailed Description

template<typename Dtype>
class Aleph::Field< Dtype >

Definition at line 54 of file ahField.H.

Member Typedef Documentation

◆ Distance_Type

template<typename Dtype >
typedef Dtype Aleph::Field< Dtype >::Distance_Type

Definition at line 66 of file ahField.H.

◆ dtype

template<typename Dtype >
typedef Dtype Aleph::Field< Dtype >::dtype

Definition at line 68 of file ahField.H.

Constructor & Destructor Documentation

◆ Field() [1/3]

template<typename Dtype >
Aleph::Field< Dtype >::Field ( Dtype &&  d = 0.0)
inline

Definition at line 74 of file ahField.H.

◆ Field() [2/3]

template<typename Dtype >
Aleph::Field< Dtype >::Field ( const Dtype d)
inline

Definition at line 79 of file ahField.H.

◆ Field() [3/3]

template<typename Dtype >
Aleph::Field< Dtype >::Field ( Dtype d)
inline

Definition at line 84 of file ahField.H.

Member Function Documentation

◆ get_value() [1/2]

template<typename Dtype >
Dtype & Aleph::Field< Dtype >::get_value ( )
inline

Definition at line 70 of file ahField.H.

References Aleph::Field< Dtype >::num.

◆ get_value() [2/2]

template<typename Dtype >
const Dtype & Aleph::Field< Dtype >::get_value ( ) const
inline

Definition at line 72 of file ahField.H.

References Aleph::Field< Dtype >::num.

◆ operator+()

template<typename Dtype >
Field Aleph::Field< Dtype >::operator+ ( const Field< Dtype > &  rhs)
inline

Definition at line 107 of file ahField.H.

References Aleph::maps(), and Aleph::Field< Dtype >::num.

◆ operator+=()

template<typename Dtype >
Field & Aleph::Field< Dtype >::operator+= ( const Field< Dtype > &  rhs)
inline

Definition at line 112 of file ahField.H.

References Aleph::maps(), and Aleph::Field< Dtype >::num.

◆ operator=() [1/3]

template<typename Dtype >
Field & Aleph::Field< Dtype >::operator= ( const Dtype &&  d)
inline

Definition at line 101 of file ahField.H.

References Aleph::Field< Dtype >::num.

◆ operator=() [2/3]

template<typename Dtype >
Field & Aleph::Field< Dtype >::operator= ( const Dtype d)
inline

Definition at line 89 of file ahField.H.

References Aleph::Field< Dtype >::num.

◆ operator=() [3/3]

template<typename Dtype >
Field & Aleph::Field< Dtype >::operator= ( Dtype d)
inline

Definition at line 95 of file ahField.H.

References Aleph::Field< Dtype >::num.

Member Data Documentation

◆ Max

template<typename Dtype >
const Dtype Aleph::Field< Dtype >::Max = std::numeric_limits<Dtype>::max()
static

Definition at line 64 of file ahField.H.

◆ Min

template<typename Dtype >
const Dtype Aleph::Field< Dtype >::Min = std::numeric_limits<Dtype>::min()
static

Definition at line 62 of file ahField.H.

◆ num

◆ Zero

template<typename Dtype >
const Dtype Aleph::Field< Dtype >::Zero = 0
static

Definition at line 60 of file ahField.H.


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