29 #ifndef SCIMATH_AUTODIFF_H
30 #define SCIMATH_AUTODIFF_H
352 #ifndef CASACORE_NO_AUTO_TEMPLATES
353 #include <casacore/scimath/Mathematics/AutoDiff.tcc>
354 #endif //# CASACORE_NO_AUTO_TEMPLATES
A 1-D Specialization of the Array class.
const Vector< T > & derivatives() const
Returns a vector of the derivatives of an AutoDiff.
uInt nd_p
The number of derivatives.
AutoDiff()
Construct a constant with a value of zero.
Vector< T > grad_p
The derivatives.
uInt nDerivatives() const
Return total number of derivatives.
const T & deriv(uInt which) const
bool Bool
Define the standard types used by Casacore.
Class that computes partial derivatives by automatic differentiation.
const T & derivative(uInt which) const
T val_p
The function value.
void operator/=(const AutoDiff< T > &other)
Bool isConstant() const
Is it a constant, i.e., with zero derivatives?
void operator-=(const AutoDiff< T > &other)
const value_type * const_iterator
Vector< T > & derivatives()
void operator*=(const AutoDiff< T > &other)
In-place mathematical operators.
T & value()
Returns the value of the function.
void operator+=(const AutoDiff< T > &other)
T & derivative(uInt which)
Returns a specific derivative.
AutoDiff< T > & operator=(const T &v)
Assignment operator.
const value_type & const_reference
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.