Math.h File Reference
#include <nuklei/Common.h>
#include <nuklei/LinearAlgebraTypes.h>
#include <iostream>
#include <cmath>

Go to the source code of this file.

Namespaces

 nuklei
 Public namespace.
 

Macros

#define NUKLEI_RANGE_CHECK(value, low, high)
 

Functions

template<typename T >
nuklei::ACos (T fValue)
 
template<typename T >
nuklei::FastACos (T fValue)
 
template<typename T >
nuklei::ASin (T fValue)
 
template<typename T >
nuklei::FastNegExp (T fValue)
 
coord_t nuklei::trivariateGaussian (const Vector3 &x, const Vector3 &m, const Matrix3 &cov, const weight_t w=1)
 
coord_t nuklei::trivariateGaussianDistance (const Vector3 &x, const Vector3 &m, const Matrix3 &cov, const weight_t w=1)
 
bool nuklei::rfe (const double a, const double b, double tol)
 
bool nuklei::afe (const double a, const double b, double tol=1e-6)
 
template<typename T >
nuklei::angularDistance (T a, T b)
 
double nuklei::confluentHypergeometric1F1 (const double a, const double b, const double x)
 
double nuklei::besselI1 (const double x)
 

Macro Definition Documentation

◆ NUKLEI_RANGE_CHECK

#define NUKLEI_RANGE_CHECK (   value,
  low,
  high 
)
Value:
{\
if (! (low <= value && value <= high))\
{\
NUKLEI_WARN("Range Error:" << NUKLEI_NVP((low <= value && value <= high))\
<< "\n" << NUKLEI_NVP(high)\
<< "\n" << NUKLEI_NVP(value)\
<< "\n" << NUKLEI_NVP(low))\
}\
}

Definition at line 18 of file Math.h.

#define NUKLEI_NVP(x)
Name-value pair.
Definition: Common.h:76
© Copyright 2007-2013 Renaud Detry.
Distributed under the terms of the GNU General Public License (GPL).
(See accompanying file LICENSE.txt or copy at http://www.gnu.org/copyleft/gpl.html.)
Revised Sun Sep 13 2020 19:10:06.