|
CppAD: A C++ Algorithmic Differentiation Package
20130102
|
| void sparse_pack::resize | ( | size_t | n_set_in, |
| size_t | end_in | ||
| ) | [inline] |
Change number of sets, set end, and initialize all sets as empty.
If n_set_in is zero, any memory currently allocated for this object is freed. Otherwise, new memory may be allocated for the sets (if needed).
| n_set_in | is the number of sets in this vector of sets. |
| end_in | is the maximum element plus one (the minimum element is 0). |
Definition at line 93 of file sparse_pack.hpp.
Referenced by ForSparseJacBool(), CppAD::parallel_ad(), RevSparseJacBool(), and ADFun< Base >::size_forward_bool().