Iray SDK API nvidia_logo_transpbg.gif Up

Basic math functors in the Math API. More...

Modules

 Generic Functions in the Math API
 Generic functions in the Math API targeted to static vector-like sequences.
 

Classes

struct  mi::math::functor::Operator_equal_equal
 Functor for the equality comparison operator, ==. More...
 
struct  mi::math::functor::Operator_not_equal
 Functor for the inequality comparison operator, !=. More...
 
struct  mi::math::functor::Operator_less
 Functor for the less-than comparison operator, <. More...
 
struct  mi::math::functor::Operator_less_equal
 Functor for the less-than-or-equal comparison operator, <=. More...
 
struct  mi::math::functor::Operator_greater
 Functor for the greater-than comparison operator, >. More...
 
struct  mi::math::functor::Operator_greater_equal
 Functor for the greater-than-or-equal comparison operator, >=. More...
 
struct  mi::math::functor::Operator_plus
 Functor for the plus operator, +. More...
 
struct  mi::math::functor::Operator_minus
 Functor for the minus operator, -, unary and binary. More...
 
struct  mi::math::functor::Operator_multiply
 Functor for the multiplication operator, *. More...
 
struct  mi::math::functor::Operator_divide
 Functor for the division operator, /. More...
 
struct  mi::math::functor::Operator_and_and
 Functor for the logical and operator, &&. More...
 
struct  mi::math::functor::Operator_or_or
 Functor for the logical or operator, ||. More...
 
struct  mi::math::functor::Operator_xor
 Functor for the xor operator, ^. More...
 
struct  mi::math::functor::Operator_not
 Functor for the logical not operator, !. More...
 
struct  mi::math::functor::Operator_pre_incr
 Functor for the pre-increment operator, ++. More...
 
struct  mi::math::functor::Operator_post_incr
 Functor for the post-increment operator, ++. More...
 
struct  mi::math::functor::Operator_pre_decr
 Functor for the pre-decrement operator, --. More...
 
struct  mi::math::functor::Operator_post_decr
 Functor for the post-decrement operator, --. More...
 

Functions

template<typename T1 , typename T2>
bool mi::math::functor::Operator_equal_equal::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T1 , typename T2>
bool mi::math::functor::Operator_not_equal::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T1 , typename T2>
bool mi::math::functor::Operator_less::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T1 , typename T2>
bool mi::math::functor::Operator_less_equal::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T1 , typename T2>
bool mi::math::functor::Operator_greater::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T1 , typename T2>
bool mi::math::functor::Operator_greater_equal::operator() (const T1 &t1, const T2 &t2) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_plus::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_minus::operator() (const T &t) const
 Unary functor call. More...
 
template<typename T>
mi::math::functor::Operator_minus::operator() (const T &t1, const T &t2) const
 Binary functor call. More...
 
template<typename T>
mi::math::functor::Operator_multiply::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_divide::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
bool mi::math::functor::Operator_and_and::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
bool mi::math::functor::Operator_or_or::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
bool mi::math::functor::Operator_xor::operator() (const T &t1, const T &t2) const
 Functor call. More...
 
template<typename T>
bool mi::math::functor::Operator_not::operator() (const T &t) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_pre_incr::operator() (T &t) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_post_incr::operator() (T &t) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_pre_decr::operator() (T &t) const
 Functor call. More...
 
template<typename T>
mi::math::functor::Operator_post_decr::operator() (T &t) const
 Functor call. More...
 

Detailed Description

Basic math functors in the Math API.

In particular, the different math operators are simple scalar functors are provided. They are useful for the Generic Functions in the Math API.

Include File:
#include <mi/math/function.h>

Function Documentation

 operator()() [1/19]

template<typename T>
T mi::math::functor::Operator_minus::operator() ( const T &  t) const
inline

Unary functor call.

 operator()() [2/19]

template<typename T>
bool mi::math::functor::Operator_not::operator() ( const T &  t) const
inline

Functor call.

 operator()() [3/19]

template<typename T>
T mi::math::functor::Operator_plus::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [4/19]

template<typename T>
T mi::math::functor::Operator_minus::operator() ( const T &  t1,
const T &  t2 
) const
inline

Binary functor call.

 operator()() [5/19]

template<typename T>
T mi::math::functor::Operator_multiply::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [6/19]

template<typename T>
T mi::math::functor::Operator_divide::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [7/19]

template<typename T>
bool mi::math::functor::Operator_and_and::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [8/19]

template<typename T>
bool mi::math::functor::Operator_or_or::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [9/19]

template<typename T>
bool mi::math::functor::Operator_xor::operator() ( const T &  t1,
const T &  t2 
) const
inline

Functor call.

 operator()() [10/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_equal_equal::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [11/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_not_equal::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [12/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_less::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [13/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_less_equal::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [14/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_greater::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [15/19]

template<typename T1 , typename T2>
bool mi::math::functor::Operator_greater_equal::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Functor call.

 operator()() [16/19]

template<typename T>
T mi::math::functor::Operator_pre_incr::operator() ( T &  t) const
inline

Functor call.

 operator()() [17/19]

template<typename T>
T mi::math::functor::Operator_post_incr::operator() ( T &  t) const
inline

Functor call.

 operator()() [18/19]

template<typename T>
T mi::math::functor::Operator_pre_decr::operator() ( T &  t) const
inline

Functor call.

 operator()() [19/19]

template<typename T>
T mi::math::functor::Operator_post_decr::operator() ( T &  t) const
inline

Functor call.