Prev | Next | whats_new_20 |
compiled_fun
to code_gen_fun
,
to emphasize the fact that it used the CppADCodeGen package.
compiled_fun.hpp
and compiled_fun.cpp
in the documentation.
example/general
to example/utility/
.
cg
branch which had the following changes:
SizeVector
class in
sparse_rc
and
sparse_rcv
must support the swap
operation.
swap
operator was added to the
sparse_rc
and
sparse_rcv
template classes.
job
option was added to the
det_minor
and
sparse_jacobian
speed tests.
compiled_fun
example for using CppADCodeGen was added
(since moved to code_gen_fun
).
In addition, cppadcg_sparse_jacobian.cpp
and
cppadcg_det_minor.cpp
examples were modified to use this utility.
build/external
to external
.
This enables one to remove the old build directory
without having to rebuild the optional packages.
bin/get_cppadcg.sh
install of newer version
of cppadcg.
cppad_vector
more like std::vector
.
is_pod
function.
This function, which is not in the CppAD user API, was simplified because
it is no longer necessary to handle the c++98 case.
example/utility/to_string.cpp
test; see
issue 44
.
Requires.private
and Libs.private
.
In addition, the
extra definitions
were added.
CPPAD_HAS_IPOPT
and CPPAD_HAS_ADOLC
to be undefined,
instead of 0 or 1, this has been fixed.
not_used_rec_base
was not initialized.
cmake-3.19
of cmake had an change that was not backward
compatible; see
CHECK_CXX_SOURCE_RUNS
.
This broke the CppAD install and was fixed.
Thus versions of CppAD before 20201023 do not work with version of CMake
at or after 3.18.
ar-lib
to github repository distribution.
This fixes a problem with autotools build when using the
Microsoft C++ compiler and msys2
.
match_op.hpp
to avoid a
possibly un-initialized warning on some compilers.
have_ar
variable has been removed from the
autotools
configuration and the configuration now exits
if AM_PROG_AR
does not find an archiving tool.
This was done to try and solve some configuration problems with
a combination of msys2
and the Visual Studio compiler.
cppadcg
).
This has been fixed.
speed_profile
program.
(We also use callgrind
to do CppAD speed profiling.)
match_op.hpp
about
possibly uninitialized variable.
cppad/cppad.hpp
.
The sparse2eigen
utility can still be used even
if include_eigen
is not specified on the cmake command line.
NDEBUG
is not defined.
There was a mistaken assertion that has been fixed.
optimize
hash coding used to remove identical expressions
was improved. The can make a big difference for very large programs.
optimize
command.
optimize
routine because,
in some cases, gathering cumulative summations
interferes with recognizes pieces of summations that are
the same in different cumulative sums.
CppAD::vector
constructor was extended to allow its
size
to be a int
(this used to generate a warning when using the clang
compiler).
get_optional.sh
prefix was extended so that it could be a
relative path
.
In addition
configuration
instructions were added to cover the case where the prefix is changed.
get_optional.sh
script.
package_test_optionlist_ok = result
This has been changed to
package_test_optionlist_correct = result
bin/get_optional.sh
.
In addition, these scripts were updated to use more recent versions
of the optional packages.
Base
type does not support ordered comparison.
As a consequence, the reverse mode the derivative of
pow(x, y)
may result in zero (not nan) when
x
is zero; see the
reverse mode
wish list item.
VecAD
objects have been extended to work with
dynamic parameters. However, this is not as efficient as it should be; see
efficiency
and
VecAD vectors
under dynamic parameters in the wish list.
omh
was being
install below the include directory.
This has been fixed.