ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Member Functions | List of all members
itk::Functor::DivReal< TInput1, TInput2, TOutput > Class Template Reference

#include <itkArithmeticOpsFunctors.h>

Detailed Description

template<class TInput1, class TInput2, class TOutput>
class itk::Functor::DivReal< TInput1, TInput2, TOutput >

Promotes arguments to real type and performs division.

This division operator is intended to implement Pythons PEP 238 "True Division". The output type is intended to be a real type. Division by zero is expected to produce an "inf" floating point value.

Definition at line 348 of file itkArithmeticOpsFunctors.h.

Public Member Functions

bool operator!= (const DivReal &) const
 
TOutput operator() (const TInput1 &A, const TInput2 &B) const
 
bool operator== (const DivReal &other) const
 

Member Function Documentation

template<class TInput1 , class TInput2 , class TOutput >
bool itk::Functor::DivReal< TInput1, TInput2, TOutput >::operator!= ( const DivReal< TInput1, TInput2, TOutput > &  ) const
inline

Definition at line 352 of file itkArithmeticOpsFunctors.h.

template<class TInput1 , class TInput2 , class TOutput >
TOutput itk::Functor::DivReal< TInput1, TInput2, TOutput >::operator() ( const TInput1 &  A,
const TInput2 &  B 
) const
inline

Definition at line 362 of file itkArithmeticOpsFunctors.h.

template<class TInput1 , class TInput2 , class TOutput >
bool itk::Functor::DivReal< TInput1, TInput2, TOutput >::operator== ( const DivReal< TInput1, TInput2, TOutput > &  other) const
inline

Definition at line 357 of file itkArithmeticOpsFunctors.h.


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