CppAD: A C++ Algorithmic Differentiation Package  20130918
template<typename Base >
void CppAD::ADFun< Base >::capacity_order ( size_t  c)

set number of orders and directions currently allocated

Control of number of orders allocated.

Template Parameters:
BaseThe type used during the forward mode computations; i.e., the corresponding recording of operations used the type AD<Base>.
Parameters:
cis the number of orders to allocate memory for. If c == 0, the values num_order_taylor_, cap_order_taylor_, and num_direction_taylor_ are all set to zero. In addition, taylor_.free() is called.
num_order_taylor_
The output value of num_order_taylor_ is the mininumum of its input value and c. This minimum is the number of orders that are copied to the new taylor coefficient buffer.

Definition at line 150 of file capacity_order.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines