ITK  5.4.0
Insight 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 330 of file itkArithmeticOpsFunctors.h.

Public Member Functions

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

Member Function Documentation

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

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

◆ 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 343 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 > &  ) const
inline

Definition at line 335 of file itkArithmeticOpsFunctors.h.


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