Go to the documentation of this file.
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>
231 #endif //# CASACORE_NO_AUTO_TEMPLATES
SparseDiff< T > atan2(const SparseDiff< T > &y, const SparseDiff< T > &x)
LatticeExprNode acos(const LatticeExprNode &expr)
LatticeExprNode operator+(const LatticeExprNode &expr)
Global functions operating on a LatticeExprNode.
SparseDiff< T > max(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > operator-(const SparseDiff< T > &other)
Bool nearAbs(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
SparseDiff< T > sqrt(const SparseDiff< T > &ad)
bool operator!=(const casacore_allocator< T, ALIGNMENT > &, const casacore_allocator< T, ALIGNMENT > &)
LatticeExprNode log(const LatticeExprNode &expr)
SparseDiff< T > operator*(const SparseDiff< T > &left, const SparseDiff< T > &right)
LatticeExprNode log10(const LatticeExprNode &expr)
LatticeExprNode fmod(const LatticeExprNode &left, const LatticeExprNode &right)
SparseDiff< T > abs(const SparseDiff< T > &ad)
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type.
LatticeExprNode operator>=(const LatticeExprNode &left, const LatticeExprNode &right)
SparseDiff< T > floor(const SparseDiff< T > &ad)
Floor and ceil of values.
LatticeExprNode operator<(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode pow(const LatticeExprNode &left, const LatticeExprNode &right)
SparseDiff< T > erf(const SparseDiff< T > &ad)
SparseDiff< T > operator+(const SparseDiff< T > &other)
Unary arithmetic operators.
SparseDiff< T > exp(const SparseDiff< T > &ad)
SparseDiff< T > erfc(const SparseDiff< T > &ad)
LatticeExprNode atan(const LatticeExprNode &expr)
SparseDiff< T > cube(const SparseDiff< T > &ad)
LatticeExprNode sqrt(const LatticeExprNode &expr)
TableExprNode isInf(const TableExprNode &node)
TableExprNode square(const TableExprNode &node)
LatticeExprNode tan(const LatticeExprNode &expr)
SparseDiff< T > tanh(const SparseDiff< T > &ad)
SparseDiff< T > pow(const SparseDiff< T > &a, const SparseDiff< T > &b)
SparseDiff< T > log(const SparseDiff< T > &ad)
Bool isInf(SparseDiff< T > &val)
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 operator<(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > sin(const SparseDiff< T > &ad)
bool operator==(const casacore_allocator< T, ALIGNMENT > &, const casacore_allocator< T, ALIGNMENT > &)
LatticeExprNode cos(const LatticeExprNode &expr)
SparseDiff< T > atan(const SparseDiff< T > &ad)
Bool operator==(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > acos(const SparseDiff< T > &ad)
Transcendental functions.
SparseDiff< T > cos(const SparseDiff< T > &ad)
LatticeExprNode cosh(const LatticeExprNode &expr)
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode atan2(const LatticeExprNode &left, const LatticeExprNode &right)
Numerical 2-argument functions.
LatticeExprNode sin(const LatticeExprNode &expr)
Numerical 1-argument functions.
TableExprNode cube(const TableExprNode &node)
Bool near(const GaussianBeam &left, const GaussianBeam &other, const Double relWidthTol, const Quantity &absPaTol)
SparseDiff< T > min(const SparseDiff< T > &left, const SparseDiff< T > &right)
Minimum/maximum.
Bool isNaN(const SparseDiff< T > &val)
Test special values.
LatticeExprNode operator/(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode ceil(const LatticeExprNode &expr)
SparseDiff< T > operator/(const SparseDiff< T > &left, const SparseDiff< T > &right)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
SparseDiff< T > sinh(const SparseDiff< T > &ad)
LatticeExprNode asin(const LatticeExprNode &expr)
this file contains all the compiler specific defines
SparseDiff< T > ceil(const SparseDiff< T > &ad)
SparseDiff< T > cosh(const SparseDiff< T > &ad)
const Double c
Fundamental physical constants (SI units):
Bool operator<=(const SparseDiff< T > &left, const SparseDiff< T > &right)
Bool near(const SparseDiff< T > &left, const SparseDiff< T > &right)
Class that computes partial derivatives by automatic differentiation.
SparseDiff< T > tan(const SparseDiff< T > &ad)
LatticeExprNode isNaN(const LatticeExprNode &expr)
Test if a value is a NaN.
Bool allnear(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
Bool operator!=(const SparseDiff< T > &left, const SparseDiff< T > &right)
SparseDiff< T > asin(const SparseDiff< T > &ad)
LatticeExprNode tanh(const LatticeExprNode &expr)
SparseDiff< T > log10(const SparseDiff< T > &ad)
LatticeExprNode operator<=(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode floor(const LatticeExprNode &expr)
Bool allnearAbs(const SparseDiff< T > &left, const SparseDiff< T > &right, const Double tol)
bool Bool
Define the standard types used by Casacore.
Bool operator>(const SparseDiff< T > &left, const SparseDiff< T > &right)
Comparison operators.
SparseDiff< T > square(const SparseDiff< T > &ad)
Implements all mathematical operators and functions for SparseDiff.
MVBaseline operator*(const RotMatrix &left, const MVBaseline &right)
Rotate a Baseline vector with rotation matrix and other multiplications.
LatticeExprNode operator>(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode sinh(const LatticeExprNode &expr)
Bool operator>=(const SparseDiff< T > &left, const SparseDiff< T > &right)
LatticeExprNode operator-(const LatticeExprNode &expr)
LatticeExprNode exp(const LatticeExprNode &expr)
TableExprNode nearAbs(const TableExprNode &left, const TableExprNode &right)