CppAD: A C++ Algorithmic Differentiation Package  20130102
cppad_assert.hpp

Files

file  cppad_assert.hpp
 

Define the CppAD error checking macros (all of which begin with CPPAD_ASSERT_)


Defines

#define CPPAD_ASSERT_KNOWN(exp, msg)
 Check that exp is true, if not print msg and terminate execution.
#define CPPAD_ASSERT_UNKNOWN(exp)
 Check that exp is true, if not terminate execution.
#define CPPAD_ASSERT_NARG_NRES(op, n_arg, n_res)
 Check that operator op has the specified number of of arguments and results.
#define CPPAD_ASSERT_FIRST_CALL_NOT_PARALLEL
 Check that the first call to a routine is not during parallel execution mode.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines