Headers and Namespaces¶
All XAD data types and operations are defined in the
For brevity, this namespace has been omitted in the reference section.
XAD provides a general header
which includes all headers that are commonly needed to work with XAD.
Typically, this is all that clients need to include.
There are two additional headers provided that can be included on demand:
XAD/StdCompatibility.hpp- This header imports the XAD math functions into the
stdnamespace, for compatibility reasons. It enables using constructs like
xis an XAD type. Additionally, it also specialises
std::numeric_limitsfor the XAD data types, so that it provides traits similar to the standard floating point types.