\newcommand{\W}[1]{ \; #1 \; }
\newcommand{\R}[1]{ {\rm #1} }
\newcommand{\B}[1]{ {\bf #1} }
\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }
\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }
\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }
\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }This is cppad-20221105 documentation. Here is a link to its
current documentation
.
Check NumericType Class Concept
Syntax # include <cppad/utility/check_numeric_type.hpp> CheckNumericType<NumericType>()
Purpose
The syntax
CheckNumericType<NumericType>()
preforms compile and run time checks that the type specified
by
NumericType
satisfies all the requirements for
a NumericType
class.
If a requirement is not satisfied,
a an error message makes it clear what condition is not satisfied.
Include
The file cppad/utility/check_numeric_type.hpp
is included by cppad/cppad.hpp
but it can also be included separately with out the rest
if the CppAD include files.
Example
The file check_numeric_type.cpp
contains an example and test of this function.
The comments in this example suggest a way to change the example
so an error message occurs.
Input File: include/cppad/utility/check_numeric_type.hpp