2 # ifndef CPPAD_LOCAL_INDEPENDENT_HPP
3 # define CPPAD_LOCAL_INDEPENDENT_HPP
15 namespace CppAD {
namespace local {
34 template <
typename Base>
35 template <
typename VectorAD>
39 CheckSimpleVector< AD<Base>, VectorAD>();
45 "Indepdendent: the argument vector x has zero size"
50 Rec_.set_abort_op_index(abort_op_index);
61 for(j = 0; j < n; j++)
63 x[j].taddr_ = Rec_.PutOp(
InvOp);
70 size_independent_ = n;
#define CPPAD_ASSERT_KNOWN(exp, msg)
Check that exp is true, if not print msg and terminate execution.
void Independent(VectorADBase &u)
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Variable(const AD< Base > &x)
#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.