CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
#define CPPAD_ASSERT_UNKNOWN (   exp)
Value:
{ if( ! ( exp ) ) \
false , \
__LINE__ , \
__FILE__ , \
#exp , \
"" ); \
}
AD< Base > exp(const AD< Base > &x)
static void Call(bool known, int line, const char *file, const char *exp, const char *msg)

Check that exp is true, if not terminate execution.

The C++ expression exp is expected to be true. If it is false, CppAD has detected an error but does not know the cause of the error. If the preprocessor symbol NDEBUG is not defined, and exp is false, this macro will report the source code line number at which this expected result occurred.

Definition at line 139 of file cppad_assert.hpp.

Referenced by CppAD::AD< Base >::abs_me(), CppAD::ADFun< Base >::abs_normal_fun(), CppAD::AD< Base >::AD(), CppAD::discrete< Base >::ad(), CppAD::VecAD_reference< Base >::ADBase(), CppAD::local::sparse_pack::add_element(), CppAD::local::sparse_list::add_element(), CppAD::local::sparse_sizevec::add_element(), CppAD::local::ADTape< Base >::AddVec(), CppAD::ADFun< Base >::ADFun(), CppAD::local::arg_is_variable(), CppAD::local::sparse_pack::assignment(), CppAD::local::sparse_list::assignment(), CppAD::local::sparse_sizevec::assignment(), CppAD::atomic_base< double >::atomic_base(), CppAD::thread_alloc::available(), CppAD::azmul(), CppAD::local::sparse_pack::binary_intersection(), CppAD::local::sparse_list::binary_intersection(), CppAD::local::sparse_sizevec::binary_intersection(), CppAD::local::sparse_pack::binary_union(), CppAD::local::sparse_sizevec::binary_union(), CppAD::local::sparse_list::binary_union(), CppAD::ADFun< Base >::capacity_order(), CppAD::thread_alloc::capacity_t::capacity_t(), CppAD::local::player< double >::check_dag(), CppAD::local::sparse_sizevec::check_data_structure(), CppAD::local::sparse_list::check_data_structure(), CppAD::local::player< double >::check_inv_op(), CppAD::local::subgraph::subgraph_info::check_map_user_op(), CppAD::atomic_base< double >::class_name(), CppAD::atomic_base< double >::class_object(), CppAD::local::sparse_pack::clear(), CppAD::local::sparse_list::clear(), CppAD::sparse_rc< SizeVector >::col_major(), CppAD::local::color_general_cppad(), CppAD::local::color_symmetric_colpack(), CppAD::local::color_symmetric_cppad(), CppAD::CondExpOp(), CppAD::CondExpTemplate(), CppAD::local::conditional_exp_op(), CppAD::thread_alloc::dec_available(), CppAD::thread_alloc::dec_inuse(), CppAD::ADFun< Base >::Dependent(), CppAD::local::sparse_sizevec::drop(), CppAD::local::sparse_list::drop(), CppAD::local::subgraph::entire_call(), CppAD::AD< Base >::erf_me(), CppAD::discrete< Base >::eval(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_h(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::eval_jac_g(), CppAD::local::pod_vector< Pack >::extend(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::finalize_solution(), CppAD::ADFun< Base >::for_hes_sparsity(), CppAD::local::for_hes_sweep(), CppAD::local::for_jac_sweep(), CppAD::atomic_base< double >::for_sparse_hes(), CppAD::checkpoint< Base >::for_sparse_jac(), CppAD::atomic_base< double >::for_sparse_jac(), CppAD::ADFun< Base >::ForSparseHesCase(), CppAD::ADFun< Base >::ForSparseJacCase(), CppAD::ADFun< Base >::ForSparseJacCheckpoint(), CppAD::ADFun< Base >::Forward(), CppAD::checkpoint< Base >::forward(), CppAD::old_atomic< Base >::forward(), CppAD::local::forward0sweep(), CppAD::local::forward1sweep(), CppAD::local::forward2sweep(), CppAD::local::forward_abs_op(), CppAD::local::forward_abs_op_0(), CppAD::local::forward_abs_op_dir(), CppAD::local::forward_acos_op(), CppAD::local::forward_acos_op_0(), CppAD::local::forward_acos_op_dir(), CppAD::local::forward_acosh_op(), CppAD::local::forward_acosh_op_0(), CppAD::local::forward_acosh_op_dir(), CppAD::local::forward_addpv_op(), CppAD::local::forward_addpv_op_0(), CppAD::local::forward_addpv_op_dir(), CppAD::local::forward_addvv_op(), CppAD::local::forward_addvv_op_0(), CppAD::local::forward_addvv_op_dir(), CppAD::local::forward_asin_op(), CppAD::local::forward_asin_op_0(), CppAD::local::forward_asin_op_dir(), CppAD::local::forward_asinh_op(), CppAD::local::forward_asinh_op_0(), CppAD::local::forward_asinh_op_dir(), CppAD::local::forward_atan_op(), CppAD::local::forward_atan_op_0(), CppAD::local::forward_atan_op_dir(), CppAD::local::forward_atanh_op(), CppAD::local::forward_atanh_op_0(), CppAD::local::forward_atanh_op_dir(), CppAD::local::forward_binary_op(), CppAD::local::forward_binary_op_0(), CppAD::local::forward_binary_op_dir(), CppAD::local::forward_cond_op(), CppAD::local::forward_cond_op_0(), CppAD::local::forward_cond_op_dir(), CppAD::local::forward_cos_op(), CppAD::local::forward_cos_op_0(), CppAD::local::forward_cos_op_dir(), CppAD::local::forward_cosh_op(), CppAD::local::forward_cosh_op_0(), CppAD::local::forward_cosh_op_dir(), CppAD::local::forward_cskip_op_0(), CppAD::local::forward_csum_op(), CppAD::local::forward_csum_op_dir(), CppAD::local::forward_dis_op(), CppAD::local::forward_divpv_op(), CppAD::local::forward_divpv_op_0(), CppAD::local::forward_divpv_op_dir(), CppAD::local::forward_divvp_op(), CppAD::local::forward_divvp_op_0(), CppAD::local::forward_divvp_op_dir(), CppAD::local::forward_divvv_op(), CppAD::local::forward_divvv_op_0(), CppAD::local::forward_divvv_op_dir(), CppAD::local::forward_eqpv_op_0(), CppAD::local::forward_eqvv_op_0(), CppAD::local::forward_erf_op(), CppAD::local::forward_erf_op_0(), CppAD::local::forward_erf_op_dir(), CppAD::local::forward_exp_op(), CppAD::local::forward_exp_op_0(), CppAD::local::forward_exp_op_dir(), CppAD::local::forward_expm1_op(), CppAD::local::forward_expm1_op_0(), CppAD::local::forward_expm1_op_dir(), CppAD::local::forward_lepv_op_0(), CppAD::local::forward_levp_op_0(), CppAD::local::forward_levv_op_0(), CppAD::local::forward_load_op(), CppAD::local::forward_load_op_0(), CppAD::local::forward_load_p_op_0(), CppAD::local::forward_load_v_op_0(), CppAD::local::forward_log1p_op(), CppAD::local::forward_log1p_op_0(), CppAD::local::forward_log1p_op_dir(), CppAD::local::forward_log_op(), CppAD::local::forward_log_op_0(), CppAD::local::forward_log_op_dir(), CppAD::local::forward_ltpv_op_0(), CppAD::local::forward_ltvp_op_0(), CppAD::local::forward_ltvv_op_0(), CppAD::local::forward_mulpv_op(), CppAD::local::forward_mulpv_op_0(), CppAD::local::forward_mulpv_op_dir(), CppAD::local::forward_mulvv_op(), CppAD::local::forward_mulvv_op_0(), CppAD::local::forward_mulvv_op_dir(), CppAD::local::forward_nepv_op_0(), CppAD::local::forward_nevv_op_0(), CppAD::local::forward_par_op_0(), CppAD::local::forward_pow_op(), CppAD::local::forward_pow_op_0(), CppAD::local::forward_pow_op_dir(), CppAD::local::forward_powpv_op(), CppAD::local::forward_powpv_op_0(), CppAD::local::forward_powpv_op_dir(), CppAD::local::forward_powvp_op(), CppAD::local::forward_powvp_op_0(), CppAD::local::forward_powvp_op_dir(), CppAD::local::forward_powvv_op(), CppAD::local::forward_powvv_op_0(), CppAD::local::forward_powvv_op_dir(), CppAD::local::forward_pri_0(), CppAD::local::forward_sign_op(), CppAD::local::forward_sign_op_0(), CppAD::local::forward_sign_op_dir(), CppAD::local::forward_sin_op(), CppAD::local::forward_sin_op_0(), CppAD::local::forward_sin_op_dir(), CppAD::local::forward_sinh_op(), CppAD::local::forward_sinh_op_0(), CppAD::local::forward_sinh_op_dir(), CppAD::local::forward_sparse_jacobian_binary_op(), CppAD::local::forward_sparse_jacobian_cond_op(), CppAD::local::forward_sparse_jacobian_csum_op(), CppAD::local::forward_sparse_jacobian_unary_op(), CppAD::local::forward_sparse_load_op(), CppAD::local::forward_sparse_store_op(), CppAD::local::forward_sqrt_op(), CppAD::local::forward_sqrt_op_0(), CppAD::local::forward_sqrt_op_dir(), CppAD::local::forward_store_op_0(), CppAD::local::forward_store_pp_op_0(), CppAD::local::forward_store_pv_op_0(), CppAD::local::forward_store_vp_op_0(), CppAD::local::forward_store_vv_op_0(), CppAD::local::forward_subpv_op(), CppAD::local::forward_subpv_op_0(), CppAD::local::forward_subpv_op_dir(), CppAD::local::forward_subvp_op(), CppAD::local::forward_subvp_op_0(), CppAD::local::forward_subvp_op_dir(), CppAD::local::forward_subvv_op(), CppAD::local::forward_subvv_op_0(), CppAD::local::forward_subvv_op_dir(), CppAD::local::forward_tan_op(), CppAD::local::forward_tan_op_0(), CppAD::local::forward_tan_op_dir(), CppAD::local::forward_tanh_op(), CppAD::local::forward_tanh_op_0(), CppAD::local::forward_tanh_op_dir(), CppAD::local::forward_unary1_op(), CppAD::local::forward_unary1_op_0(), CppAD::local::forward_unary1_op_dir(), CppAD::local::forward_unary2_op(), CppAD::local::forward_unary2_op_0(), CppAD::local::forward_unary2_op_dir(), CppAD::local::forward_zmulpv_op(), CppAD::local::forward_zmulpv_op_0(), CppAD::local::forward_zmulpv_op_dir(), CppAD::local::forward_zmulvp_op(), CppAD::local::forward_zmulvp_op_0(), CppAD::local::forward_zmulvp_op_dir(), CppAD::local::forward_zmulvv_op(), CppAD::local::forward_zmulvv_op_0(), CppAD::local::forward_zmulvv_op_dir(), CppAD::thread_alloc::free_available(), CppAD::local::player< double >::get(), CppAD::local::subgraph::get_argument_variable(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::get_bounds_info(), CppAD::local::sparse_list::get_data_index(), CppAD::local::get_internal_sparsity(), CppAD::thread_alloc::get_memory(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::get_nlp_info(), CppAD::local::optimize::get_opt_op_info(), CppAD::local::subgraph::subgraph_info::get_rev(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::get_starting_point(), CppAD::local::player< double >::get_user_info(), CppAD::local::player< double >::GetTxt(), CppAD::thread_alloc::inc_available(), CppAD::thread_alloc::inc_inuse(), CppAD::local::ADTape< Base >::Independent(), CppAD::local::subgraph::subgraph_info::init_rev(), CppAD::thread_alloc::inuse(), CppAD::local::sparse_pack::is_element(), CppAD::local::sparse_sizevec::is_element(), CppAD::local::sparse_list::is_element(), CppAD::local::sparse_sizevec::is_subset(), CppAD::local::sparse_list::is_subset(), CppAD::JacobianFor(), CppAD::JacobianRev(), CppAD::local::local_hash_code(), CppAD::LuFactor(), CppAD::LuRatio(), CppAD::AD< Base >::make_parameter(), CppAD::AD< Base >::make_variable(), CppAD::local::optimize::match_op(), CppAD::local::subgraph::subgraph_info::memory(), CppAD::local::player< double >::Memory(), CppAD::local::NumArg(), CppAD::local::sparse_pack::number_elements(), CppAD::local::sparse_sizevec::number_elements(), CppAD::local::sparse_list::number_elements(), CppAD::ADFun< Base >::number_skip(), CppAD::local::NumRes(), CppAD::OdeGearControl(), CppAD::atomic_base< double >::operator()(), CppAD::operator*(), CppAD::AD< Base >::operator*=(), CppAD::operator+(), CppAD::local::sparse_pack_const_iterator::operator++(), CppAD::AD< Base >::operator+=(), CppAD::operator-(), CppAD::AD< Base >::operator-=(), CppAD::operator/(), CppAD::AD< Base >::operator/=(), CppAD::local::sparse_pack::operator=(), CppAD::AD< Base >::operator=(), CppAD::local::pod_vector< Pack >::operator=(), CppAD::ADFun< Base >::operator=(), CppAD::VecAD_reference< Base >::operator=(), CppAD::vectorBool::operator=(), CppAD::operator>>(), CppAD::local::pod_vector< Pack >::operator[](), CppAD::local::OpName(), CppAD::ADFun< Base >::optimize(), CppAD::local::optimize::optimize_hash_code(), CppAD::local::optimize::optimize_run(), CppAD::local::pod_vector< Pack >::pod_vector(), CppAD::local::sparse_sizevec::post_element(), CppAD::local::sparse_list::post_element(), CppAD::pow(), CppAD::TrackElement::Print(), CppAD::local::printOp(), CppAD::local::sparse_sizevec::process_post(), CppAD::local::sparse_list::process_post(), CppAD::local::prototype_put_arg(), CppAD::vector< bool >::push_back(), CppAD::vectorBool::push_back(), CppAD::vector< bool >::push_vector(), CppAD::vectorBool::push_vector(), CppAD::local::recorder< Base >::PutArg(), CppAD::local::recorder< Base >::PutLoadOp(), CppAD::local::recorder< Base >::PutOp(), CppAD::local::recorder< Base >::PutPar(), CppAD::local::recorder< Base >::PutTxt(), CppAD::local::recorder< Base >::PutVecInd(), CppAD::local::optimize::record_csum(), CppAD::local::optimize::record_pv(), CppAD::local::optimize::record_vp(), CppAD::local::optimize::record_vv(), CppAD::local::ADTape< Base >::RecordCondExp(), CppAD::local::ADTape< Base >::RecordParOp(), CppAD::local::recorder< Base >::ReserveArg(), CppAD::local::sparse_pack::resize(), CppAD::local::pod_vector< Pack >::resize(), CppAD::local::subgraph::subgraph_info::resize(), CppAD::local::sparse_sizevec::resize(), CppAD::local::sparse_list::resize(), CppAD::thread_alloc::return_memory(), CppAD::local::rev_hes_sweep(), CppAD::local::rev_jac_sweep(), CppAD::checkpoint< Base >::rev_sparse_hes(), CppAD::old_atomic< Base >::rev_sparse_hes(), CppAD::atomic_base< double >::rev_sparse_hes(), CppAD::checkpoint< Base >::rev_sparse_jac(), CppAD::atomic_base< double >::rev_sparse_jac(), CppAD::ADFun< Base >::Reverse(), CppAD::checkpoint< Base >::reverse(), CppAD::old_atomic< Base >::reverse(), CppAD::local::reverse_abs_op(), CppAD::local::reverse_acos_op(), CppAD::local::reverse_acosh_op(), CppAD::local::reverse_addpv_op(), CppAD::local::reverse_addvv_op(), CppAD::local::reverse_asin_op(), CppAD::local::reverse_asinh_op(), CppAD::local::reverse_atan_op(), CppAD::local::reverse_atanh_op(), CppAD::local::reverse_binary_op(), CppAD::local::reverse_cond_op(), CppAD::local::reverse_cos_op(), CppAD::local::reverse_cosh_op(), CppAD::local::reverse_csum_op(), CppAD::local::reverse_divpv_op(), CppAD::local::reverse_divvp_op(), CppAD::local::reverse_divvv_op(), CppAD::local::reverse_erf_op(), CppAD::local::reverse_exp_op(), CppAD::local::reverse_expm1_op(), CppAD::local::reverse_load_op(), CppAD::local::reverse_log1p_op(), CppAD::local::reverse_log_op(), CppAD::local::reverse_mulpv_op(), CppAD::local::reverse_mulvv_op(), CppAD::local::reverse_pow_op(), CppAD::local::reverse_powpv_op(), CppAD::local::reverse_powvp_op(), CppAD::local::reverse_powvv_op(), CppAD::local::reverse_sign_op(), CppAD::local::reverse_sin_op(), CppAD::local::reverse_sinh_op(), CppAD::local::reverse_sparse_hessian_addsub_op(), CppAD::local::reverse_sparse_hessian_binary_op(), CppAD::local::reverse_sparse_hessian_cond_op(), CppAD::local::reverse_sparse_hessian_csum_op(), CppAD::local::reverse_sparse_hessian_div_op(), CppAD::local::reverse_sparse_hessian_linear_unary_op(), CppAD::local::reverse_sparse_hessian_load_op(), CppAD::local::reverse_sparse_hessian_mul_op(), CppAD::local::reverse_sparse_hessian_nonlinear_unary_op(), CppAD::local::reverse_sparse_hessian_pow_op(), CppAD::local::reverse_sparse_hessian_store_op(), CppAD::local::reverse_sparse_hessian_unary_op(), CppAD::local::reverse_sparse_jacobian_binary_op(), CppAD::local::reverse_sparse_jacobian_cond_op(), CppAD::local::reverse_sparse_jacobian_csum_op(), CppAD::local::reverse_sparse_jacobian_load_op(), CppAD::local::reverse_sparse_jacobian_store_op(), CppAD::local::reverse_sparse_jacobian_unary_op(), CppAD::local::reverse_sqrt_op(), CppAD::local::reverse_subpv_op(), CppAD::local::reverse_subvp_op(), CppAD::local::reverse_subvv_op(), CppAD::local::reverse_sweep(), CppAD::local::reverse_tan_op(), CppAD::local::reverse_tanh_op(), CppAD::local::reverse_unary1_op(), CppAD::local::reverse_unary2_op(), CppAD::local::reverse_zmulpv_op(), CppAD::local::reverse_zmulvp_op(), CppAD::local::reverse_zmulvv_op(), CppAD::ADFun< Base >::RevSparseHesCase(), CppAD::ADFun< Base >::RevSparseHesCheckpoint(), CppAD::ADFun< Base >::RevSparseJacCase(), CppAD::ADFun< Base >::RevSparseJacCheckpoint(), CppAD::TrackElement::Root(), CppAD::sparse_rc< SizeVector >::row_major(), CppAD::thread_alloc::set_get_num_threads(), CppAD::checkpoint< Base >::set_hes_sparse_bool(), CppAD::checkpoint< Base >::set_hes_sparse_set(), CppAD::local::set_internal_sparsity(), CppAD::checkpoint< Base >::set_jac_sparse_bool(), CppAD::checkpoint< Base >::set_jac_sparse_set(), CppAD::local::subgraph::subgraph_info::set_map_user_op(), CppAD::AD< Base >::sign_me(), CppAD::ipopt::solve_callback< Dvector, ADvector, FG_eval >::solve_callback(), CppAD::local::sparse_conditional_exp_op(), CppAD::ADFun< Base >::sparse_hes(), CppAD::sparse_hes_fun(), CppAD::ADFun< Base >::sparse_jac_for(), CppAD::ADFun< Base >::sparse_jac_rev(), CppAD::local::sparse_list::sparse_list(), CppAD::local::sparse_list_const_iterator::sparse_list_const_iterator(), CppAD::local::sparse_load_op(), CppAD::local::sparse_pack::sparse_pack(), CppAD::local::sparse_pack_const_iterator::sparse_pack_const_iterator(), CppAD::local::sparse_sizevec::sparse_sizevec(), CppAD::local::sparse_sizevec_const_iterator::sparse_sizevec_const_iterator(), CppAD::local::sparse_store_op(), CppAD::ADFun< Base >::SparseHessianCompute(), CppAD::ADFun< Base >::SparseJacobianFor(), CppAD::ADFun< Base >::SparseJacobianRev(), CppAD::local::subgraph::subgraph_info::subgraph_info(), CppAD::ADFun< Base >::subgraph_jac_rev(), CppAD::ADFun< Base >::subgraph_reverse(), CppAD::local::subgraph::subgraph_sparsity(), CppAD::ADFun< Base >::subgraph_sparsity(), CppAD::AD< Base >::tape_handle(), CppAD::AD< Base >::tape_id_handle(), CppAD::AD< Base >::tape_id_ptr(), CppAD::AD< Base >::tape_manage(), CppAD::AD< Base >::tape_ptr(), CppAD::AD< Base >::tape_this(), CppAD::thread_alloc::thread_info(), CppAD::TrackElement::TrackElement(), CppAD::TrackError(), CppAD::local::player< double >::var2op(), CppAD::VecAD< Base >::VecAD(), CppAD::vectorBool::vectorBool(), and CppAD::atomic_base< double >::~atomic_base().