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

#include <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
 

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 389 of file itkArithmeticOpsFunctors.h.

Member Function Documentation

◆ operator!=()

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 394 of file itkArithmeticOpsFunctors.h.

◆ operator()()

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 406 of file itkArithmeticOpsFunctors.h.

◆ operator==()

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 400 of file itkArithmeticOpsFunctors.h.


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