|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
| void CppAD::ADFun< Base >::capacity_order | ( | size_t | c | ) |
set number of orders currently allocated (user API)
User API control of number of orders allocated.
| Base | The type used during the forward mode computations; i.e., the corresponding recording of operations used the type AD<Base>. |
| c | is the number of orders to allocate memory for. If c == 0, num_order_taylor_, cap_order_taylor_, and num_direction_taylor_ are all set to zero. In addition, taylor_.clear() is called. |
is zero (one), num_direction_taylor_ is set to zero (one). Otherwise, if num_direction_taylor_ is zero, it is set to one. Othwerwise, num_direction_taylor_ is not modified. Definition at line 241 of file capacity_order.hpp.