# include <cppad/utility/to_string.hpp>
cppad/utility; see 11-30 .
--with-implicit_ctoroption to autotools . This was removed on 2017-02-10 .
librarysection has been moved to the utilities section. In addition, the corresponding source code files in
cppadhave been moved to
You should us the utility include instead; i.e.,# include <cppad/runge_45.hpp>
# include <cppad/utility.hpp>
librarythe a separate documentation section.
cmake_install_prefixto cppad_prefix and Change
cmake_install_postfixto cppad_postfix .
cppad_implicit_ctor_from_any_typeto cppad_deprecated and change its specifications to refer to all deprecated features.
to be included when linking. Currently, it is only required when colpack_prefix is specified on the cmake command .-lcppad_lib
when colpack_prefix is specified during the install process; see cmake command . (It is included incppad_colpack.cpp
check_for_nanoutput now includes the first dependent variable index that is
nanin its error message.
pow_int.hppin pow_int .
ris the identity.)
bool_sparsity.cppexamples which show how to conserve memory when computing sparsity patterns. (This has since been replaced by rc_sparsity.cpp .)
vectorBoolclass. (This aids the memory conservation mentioned above.)
nanresult during an operation with an ADFun object. The new feature get_check_for_nan was added to make this easier.
CPPAD_STANDARD_MATH_UNARY, to the preprocessor section. In addition, remove checking that all user API preprocessor symbols are in this section form the wish_list .
numeric_limits. Note the reason for not using std::numeric_limits .
nanby dividing zero by zero which results in a warning when using some compilers. This function has been deprecated and the corresponding wish_list item has been removed.
test_more/azmul.cppwhereby the vector
zhad the wrong dimension (in two places). This has been fixed.
zdoubleclass has been deprecated. Use the azmul function for absolute zero (when it is needed).
double. In other words, not all multiplications will need to have an absolute zero (as is the case with the zdouble base class.
/W4warnings (previous warnings were are level 3). In addition, disable warning
4100unreferenced formal parameter, and warning
4127conditional expression is constant.
gmtimenot being thread safe.
< CppAD::AD<adouble> >where
adoubleis the ADOL-C AD type. This has been fixed by adding a call to CPPAD_COND_EXP_REL in
atomic_baseconstructor and the checkpoint constructor.
Independentand parallel mode .
CppAD::vectordata function was being shadowed by a local variable.
compile, instead of real file. This sometimes caused problems with the deprecated autotools install procedure and has been fixed.
atom_fun. In addition, include the fact that
atom_funmust not be destructed for as along as the corresponding atomic operations are used.
CppAD::vectorduring a resize when the capacity of the vector does not change. In addition, added and example of this to cppad_vector.cpp .
pin sparse_jacobian and sparse_hessian was not properly dimensioned. These have been changed to known asserts to give better error reporting.
a1zwas not properly dimensioned. This has been fixed and the dimensions of all the variables have been clarified.
Error detected by false result for
at line number in the file
numberwas the line number of an assert in
cskip_op.hpp. This has been fixed.
zdouble, see CppAD motivation for this new type. (It is no longer necessary to use
zdoubleto get an absolute zero because CppAD now uses azmul where an absolute zero is required.)
CPPAD_USE_CPLUSPLUS_2011to signal that the functions erf, asinh, acosh, atanh, expm1, log1p are part of the base type requirements.
size()function returns an
intinstead of a
acoshmultiple direction forward mode forward_dir (when compiler has acosh ).
workis present, and has already been computed, the sparsity pattern
pis not used. This has been added to the documentation; see sparse jacobian and sparse hessian documentation for
for the AD constructor documentation because it does not work when the constructor is explicit . Also document the restriction that the constructor in the assignment must be implicit.
AD<Base> y = x
The corresponding reverse mode calculation, atIndependent(ax); AD<double> aeps = 1e-10; ay = CondExpGt( ax, aeps, 1.0/ax, 1.0/aeps ); ADFun<double> f(ax, ay);
x = 0.0, would result in
This has been fixed so that only the conditional expression case that is used affects the reverse mode results. The example cond_exp.cpp was changed to reflect this (a check forError detected by false result for ! ( hasnan(value) && check_for_nan_ )
nanwas changed to a check for zero). Note that this fix only works when IdenticalPar is true for the base type of the result in the conditional expression; e.g., one can still get a
naneffect from the case that is not selected when using
AD< AD<double> >conditional expressions.
std::chrono:high_resolution_clockthen use it for the elapsed_seconds function.
Error detected by false result for var_index_ >= NumRes(op_)
test_more/optimize.cppwas failing on some systems because an exactly equality check should have been a near equal check. This has been fixed.
speed/srccould not be found. This library is only used for testing and so has been changed to always be static (hence does not need to be found at run time).
work.color_methodwas not being set to
work.color_method.clear(). This has been fixed.
g++ --std=c++11and with
g++ --std=c++98. Previously if the cppad_cxx_flags specified C++11, then it could only be used in that way.
cmaketo be greater than or equal 2.8 (due a bug in
cppad/local/op_code.hppon 2014-50-14 created a bug in parallel_ad (some local statics needed to be initialized). This has been fixed.
gettimeofdayfunction, the cmake install would sometimes report
This has been fixed.
cppad_has_gettimeofday = 0
unsigned intwas the same as the size of a
size_t. This has been fixed.
CompareChangeused to always return zero after
and was not even defined when
NDEBUGwas defined. There was a resulting speed effect for this; see no_compare_op .
"colpack", the choices are
"colpack.star". This is not compatible with the change on 01-02 , which was so recent that this should not be a problem.
n_sweepto link_sparse_hessian and speed_main .
cppadsparse Hessian color_method to take advantage of the symmetry of the Hessian (in a similar fashion to the