1 # ifndef CPPAD_UTILITY_CHECK_SIMPLE_VECTOR_HPP
2 # define CPPAD_UTILITY_CHECK_SIMPLE_VECTOR_HPP
108 template <
class Scalar,
class Vector>
111 template <
class Scalar,
class Vector>
115 template <
class S,
class T>
121 template <
class Scalar,
class Vector>
142 "default construtor result does not have size zero"
155 "element assignment failed"
164 "copy constructor is shallow"
173 "assignment operator is shallow"
181 "element assignment from const failed"
184 template <
class Scalar,
class Vector>
193 CheckSimpleVector<Scalar, Vector>(x, y);
#define CPPAD_ASSERT_KNOWN(exp, msg)
Check that exp is true, if not print msg and terminate execution.
Define processor symbols and macros that are used by CppAD.
Define the CppAD error checking macros (all of which begin with CPPAD_ASSERT_)
#define CPPAD_ASSERT_FIRST_CALL_NOT_PARALLEL
Check that the first call to a routine is not during parallel execution mode.
File used to define the CppAD multi-threading allocator class.
void CheckSimpleVector(const Scalar &x, const Scalar &y)