29 #ifndef SCIMATH_AUTODIFFMATH_H
30 #define SCIMATH_AUTODIFFMATH_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/BasicMath/Math.h>
36 #include <casacore/scimath/Mathematics/AutoDiff.h>
229 #ifndef CASACORE_NO_AUTO_TEMPLATES
230 #include <casacore/scimath/Mathematics/AutoDiffMath.tcc>
const Double c
Fundamental physical constants (SI units):
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
AutoDiff< T > abs(const AutoDiff< T > &ad)
AutoDiff< T > erfc(const AutoDiff< T > &ad)
Bool nearAbs(const T &left, const AutoDiff< T > &right, const Double tol)
Bool operator<=(const T &left, const AutoDiff< T > &right)
AutoDiff< T > square(const AutoDiff< T > &ad)
Bool near(const AutoDiff< T > &left, const AutoDiff< T > &right, const Double tol)
AutoDiff< T > tan(const AutoDiff< T > &ad)
AutoDiff< T > cube(const AutoDiff< T > &ad)
AutoDiff< T > operator*(const AutoDiff< T > &left, const AutoDiff< T > &right)
Bool operator<(const T &left, const AutoDiff< T > &right)
AutoDiff< T > tanh(const AutoDiff< T > &ad)
AutoDiff< T > ceil(const AutoDiff< T > &ad)
AutoDiff< T > sqrt(const AutoDiff< T > &ad)
AutoDiff< T > log10(const AutoDiff< T > &ad)
AutoDiff< T > cosh(const AutoDiff< T > &ad)
AutoDiff< T > pow(const AutoDiff< T > &a, const T &b)
AutoDiff< T > operator*(const AutoDiff< T > &left, const T &right)
Bool operator>(const AutoDiff< T > &left, const AutoDiff< T > &right)
Comparison operators.
Bool operator<(const AutoDiff< T > &left, const T &right)
AutoDiff< T > operator-(const AutoDiff< T > &other)
AutoDiff< T > acos(const AutoDiff< T > &ad)
Transcendental functions.
Bool operator<(const AutoDiff< T > &left, const AutoDiff< T > &right)
AutoDiff< T > fmod(const AutoDiff< T > &x, const T &c)
Floating-point remainder of x/c, with the same sign as x, where c is a constant.
Bool isInf(AutoDiff< T > &val)
AutoDiff< T > max(const AutoDiff< T > &left, const AutoDiff< T > &right)
AutoDiff< T > operator+(const AutoDiff< T > &left, const T &right)
Arithmetic on an AutoDiff and a scalar, returning an AutoDiff.
AutoDiff< T > atan2(const AutoDiff< T > &y, const AutoDiff< T > &x)
Bool operator>(const AutoDiff< T > &left, const T &right)
Compare an AutoDiff and a constant.
Bool near(const AutoDiff< T > &left, const T &right)
AutoDiff< T > operator-(const AutoDiff< T > &left, const T &right)
AutoDiff< T > exp(const AutoDiff< T > &ad)
Bool nearAbs(const AutoDiff< T > &left, const AutoDiff< T > &right, const Double tol)
Bool operator>=(const T &left, const AutoDiff< T > &right)
AutoDiff< T > sinh(const AutoDiff< T > &ad)
Bool near(const T &left, const AutoDiff< T > &right, const Double tol)
AutoDiff< T > pow(const AutoDiff< T > &a, const AutoDiff< T > &b)
Bool allnear(const AutoDiff< T > &left, const AutoDiff< T > &right, const Double tol)
AutoDiff< T > erf(const AutoDiff< T > &ad)
Bool allnearAbs(const T &left, const AutoDiff< T > &right, const Double tol)
AutoDiff< T > log(const AutoDiff< T > &ad)
Bool operator==(const AutoDiff< T > &left, const AutoDiff< T > &right)
Bool operator!=(const AutoDiff< T > &left, const AutoDiff< T > &right)
Bool operator>(const T &left, const AutoDiff< T > &right)
Compare a constant and an AutoDiff.
AutoDiff< T > operator-(const AutoDiff< T > &left, const AutoDiff< T > &right)
AutoDiff< T > operator/(const T &left, const AutoDiff< T > &right)
Bool allnear(const AutoDiff< T > &left, const T &right, const Double tol)
AutoDiff< T > cos(const AutoDiff< T > &ad)
Bool operator>=(const AutoDiff< T > &left, const T &right)
Bool operator!=(const AutoDiff< T > &left, const T &right)
AutoDiff< T > operator+(const AutoDiff< T > &left, const AutoDiff< T > &right)
Arithmetic on two AutoDiff objects, returning an AutoDiff object.
AutoDiff< T > floor(const AutoDiff< T > &ad)
Floor and ceil of values.
Bool operator!=(const T &left, const AutoDiff< T > &right)
Bool allnearAbs(const AutoDiff< T > &left, const T &right, const Double tol)
AutoDiff< T > operator+(const T &left, const AutoDiff< T > &right)
Arithmetic between a scalar and an AutoDiff returning an AutoDiff.
Bool operator>=(const AutoDiff< T > &left, const AutoDiff< T > &right)
Bool operator<=(const AutoDiff< T > &left, const AutoDiff< T > &right)
AutoDiff< T > operator/(const AutoDiff< T > &left, const T &right)
AutoDiff< T > operator*(const T &left, const AutoDiff< T > &right)
AutoDiff< T > fmod(const AutoDiff< T > &x, const AutoDiff< T > &c)
AutoDiff< T > atan(const AutoDiff< T > &ad)
Bool allnearAbs(const AutoDiff< T > &left, const AutoDiff< T > &right, const Double tol)
Bool near(const AutoDiff< T > &left, const T &right, const Double tol)
Bool operator==(const T &left, const AutoDiff< T > &right)
AutoDiff< T > operator/(const AutoDiff< T > &left, const AutoDiff< T > &right)
Bool nearAbs(const AutoDiff< T > &left, const T &right, const Double tol)
Bool operator==(const AutoDiff< T > &left, const T &right)
AutoDiff< T > operator-(const T &left, const AutoDiff< T > &right)
Bool isNaN(const AutoDiff< T > &val)
Test special values.
Bool operator<=(const AutoDiff< T > &left, const T &right)
Bool allnear(const T &left, const AutoDiff< T > &right, const Double tol)
AutoDiff< T > asin(const AutoDiff< T > &ad)
Bool near(const AutoDiff< T > &left, const AutoDiff< T > &right)
AutoDiff< T > operator+(const AutoDiff< T > &other)
Unary arithmetic operators.
AutoDiff< T > min(const AutoDiff< T > &left, const AutoDiff< T > &right)
Minimum/maximum.
AutoDiff< T > sin(const AutoDiff< T > &ad)