Classes | Macros | Functions
numext.cpp File Reference
#include "main.h"
Include dependency graph for numext.cpp:

Go to the source code of this file.

Classes

struct  check_rsqrt_impl< T >
 
struct  check_rsqrt_impl< std::complex< T > >
 
struct  check_sqrt_impl< T >
 
struct  check_sqrt_impl< std::complex< T > >
 

Macros

#define VERIFY_IS_EQUAL_OR_NANS(a, b)   VERIFY(test_is_equal_or_nans(a, b))
 

Functions

template<typename T >
void check_abs ()
 
template<typename T >
void check_arg ()
 
template<typename T , typename U >
bool check_if_equal_or_nans (const std::complex< T > &actual, const std::complex< U > &expected)
 
template<typename T , typename U >
bool check_if_equal_or_nans (const T &actual, const U &expected)
 
template<typename T >
void check_rsqrt ()
 
template<typename T >
void check_sqrt ()
 
 EIGEN_DECLARE_TEST (numext)
 
template<typename T , typename U >
bool test_is_equal_or_nans (const T &actual, const U &expected)
 

Macro Definition Documentation

◆ VERIFY_IS_EQUAL_OR_NANS

#define VERIFY_IS_EQUAL_OR_NANS (   a,
  b 
)    VERIFY(test_is_equal_or_nans(a, b))

Definition at line 37 of file numext.cpp.

Function Documentation

◆ check_abs()

template<typename T >
void check_abs ( )

Definition at line 40 of file numext.cpp.

◆ check_arg()

template<typename T >
void check_arg ( )

Definition at line 65 of file numext.cpp.

◆ check_if_equal_or_nans() [1/2]

template<typename T , typename U >
bool check_if_equal_or_nans ( const std::complex< T > &  actual,
const std::complex< U > &  expected 
)

Definition at line 18 of file numext.cpp.

◆ check_if_equal_or_nans() [2/2]

template<typename T , typename U >
bool check_if_equal_or_nans ( const T actual,
const U expected 
)

Definition at line 13 of file numext.cpp.

◆ check_rsqrt()

template<typename T >
void check_rsqrt ( )

Definition at line 238 of file numext.cpp.

◆ check_sqrt()

template<typename T >
void check_sqrt ( )

Definition at line 150 of file numext.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( numext  )

Definition at line 242 of file numext.cpp.

◆ test_is_equal_or_nans()

template<typename T , typename U >
bool test_is_equal_or_nans ( const T actual,
const U expected 
)

Definition at line 24 of file numext.cpp.



gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:20