29 #ifndef SCIMATH_SPARSEDIFFMATH_H
30 #define SCIMATH_SPARSEDIFFMATH_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/BasicMath/Math.h>
36 #include <casacore/scimath/Mathematics/SparseDiff.h>
229 #ifndef CASACORE_NO_AUTO_TEMPLATES
230 #include <casacore/scimath/Mathematics/SparseDiffMath.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.
Bool operator<(const SparseDiff< T > &left, const T &right)
Bool near(const T &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > atan(const SparseDiff< T > &ad)
SparseDiff< T > atan2(const SparseDiff< T > &y, const SparseDiff< T > &x)
SparseDiff< T > pow(const SparseDiff< T > &a, const T &b)
SparseDiff< T > exp(const SparseDiff< T > &ad)
Bool near(const SparseDiff< T > &left, const T &right)
Bool operator!=(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > operator-(const SparseDiff< T > &other)
SparseDiff< T > square(const SparseDiff< T > &ad)
SparseDiff< T > acos(const SparseDiff< T > &ad)
Transcendental functions.
SparseDiff< T > floor(const SparseDiff< T > &ad)
Floor and ceil of values.
SparseDiff< T > operator*(const SparseDiff< T > &left, const SparseDiff< T > &right)
Bool allnearAbs(const SparseDiff< T > &left, const T &right, const Double tol)
SparseDiff< T > log(const SparseDiff< T > &ad)
Bool near(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
Bool operator>=(const SparseDiff< T > &left, const T &right)
SparseDiff< T > pow(const SparseDiff< T > &a, const SparseDiff< T > &b)
SparseDiff< T > operator+(const T &left, const SparseDiff< T > &right)
Arithmetic between a scalar and a SparseDiff returning a SparseDiff.
Bool operator==(const T &left, const SparseDiff< T > &right)
SparseDiff< T > operator*(const T &left, const SparseDiff< T > &right)
SparseDiff< T > cosh(const SparseDiff< T > &ad)
SparseDiff< T > operator/(const T &left, const SparseDiff< T > &right)
SparseDiff< T > log10(const SparseDiff< T > &ad)
Bool operator<(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > min(const SparseDiff< T > &left, const SparseDiff< T > &right)
Minimum/maximum.
Bool operator<=(const SparseDiff< T > &left, const SparseDiff< T > &right)
Bool allnear(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > erfc(const SparseDiff< T > &ad)
SparseDiff< T > sin(const SparseDiff< T > &ad)
Bool operator==(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > max(const SparseDiff< T > &left, const SparseDiff< T > &right)
Bool operator<(const T &left, const SparseDiff< T > &right)
SparseDiff< T > tan(const SparseDiff< T > &ad)
SparseDiff< T > operator+(const SparseDiff< T > &left, const T &right)
Arithmetic on a SparseDiff and a scalar, returning a SparseDiff.
Bool near(const SparseDiff< T > &left, const T &right, const Double tol)
Bool operator<=(const T &left, const SparseDiff< T > &right)
Bool isInf(SparseDiff< T > &val)
SparseDiff< T > operator-(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > fmod(const SparseDiff< T > &x, const T &c)
Floating-point remainder of x/c, with the same sign as x, where c is a constant.
Bool allnearAbs(const T &left, const SparseDiff< T > &right, const Double tol)
Bool operator>(const T &left, const SparseDiff< T > &right)
Compare a constant and a SparseDiff.
Bool operator>=(const SparseDiff< T > &left, const SparseDiff< T > &right)
Bool near(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > sqrt(const SparseDiff< T > &ad)
Bool allnear(const T &left, const SparseDiff< T > &right, const Double tol)
Bool operator!=(const SparseDiff< T > &left, const T &right)
Bool operator>=(const T &left, const SparseDiff< T > &right)
Bool operator>(const SparseDiff< T > &left, const SparseDiff< T > &right)
Comparison operators.
Bool nearAbs(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > operator-(const T &left, const SparseDiff< T > &right)
Bool allnear(const SparseDiff< T > &left, const T &right, const Double tol)
Bool operator==(const SparseDiff< T > &left, const T &right)
SparseDiff< T > operator+(const SparseDiff< T > &other)
Unary arithmetic operators.
SparseDiff< T > sinh(const SparseDiff< T > &ad)
SparseDiff< T > ceil(const SparseDiff< T > &ad)
SparseDiff< T > asin(const SparseDiff< T > &ad)
Bool nearAbs(const T &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > operator+(const SparseDiff< T > &left, const SparseDiff< T > &right)
Arithmetic on two SparseDiff objects, returning a SparseDiff object.
Bool allnearAbs(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > cos(const SparseDiff< T > &ad)
SparseDiff< T > operator*(const SparseDiff< T > &left, const T &right)
SparseDiff< T > operator-(const SparseDiff< T > &left, const T &right)
SparseDiff< T > erf(const SparseDiff< T > &ad)
SparseDiff< T > fmod(const SparseDiff< T > &x, const SparseDiff< T > &c)
SparseDiff< T > abs(const SparseDiff< T > &ad)
SparseDiff< T > operator/(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > operator/(const SparseDiff< T > &left, const T &right)
Bool operator>(const SparseDiff< T > &left, const T &right)
Compare a SparseDiff and a constant.
Bool nearAbs(const SparseDiff< T > &left, const T &right, const Double tol)
Bool operator<=(const SparseDiff< T > &left, const T &right)
Bool operator!=(const T &left, const SparseDiff< T > &right)
SparseDiff< T > tanh(const SparseDiff< T > &ad)
Bool isNaN(const SparseDiff< T > &val)
Test special values.
SparseDiff< T > cube(const SparseDiff< T > &ad)