CppAD: A C++ Algorithmic Differentiation Package  20130102
#define CPPAD_ASSERT_NARG_NRES (   op,
  n_arg,
  n_res 
)
Value:
CPPAD_ASSERT_UNKNOWN( NumArg(op) == n_arg ) \
     CPPAD_ASSERT_UNKNOWN( NumRes(op) == n_res )

Check that operator op has the specified number of of arguments and results.

If NDEBUG is not defined and either the number of arguments or the number of results are not as expected, execution is terminated and the source code line number is reported.

Definition at line 171 of file cppad_assert.hpp.

Referenced by ForJacSweep(), forward0sweep(), forward_pri_0(), forward_sweep(), ADTape< Base >::Independent(), optimize(), CppAD::PrintFor(), printOp(), ReverseSweep(), RevHesSweep(), RevJacSweep(), player< Base >::start_forward(), and player< Base >::start_reverse().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines