|
Prev | Next | whats_new_22 |
zdouble(i)
where
i
is long.
AD<Base>
constructor.
To be specific, the value was converted to double before being
converted to
AD<Base>
.
This has been fixed and the ad_ctor
documentation has been
improved to note which result are always constant parameters.
speed/example/speed_program.cpp because
some compilers have gotten smarter and do not calculate values
that are not used.
This lead to an the repeat count overflowing and then an infinite loop.
The speed_test
and speedtest
routines now check for
an overflow of the repeat counter and abort.
AD<Base>
and type
Base
;
see ScalarBinaryOpTraits
in cppad_eigen.hpp.
x
to u
in the to_csrc operation
and add specifications as the position of the independent dynamic
parameters and variables in
u
.
CPPAD_TEST_VECTOR.
CPPAD_packageVECTOR
for
package
equal to
CPPAD, STD, BOOST, EIGEN.
CMakeCache.txt file.
type_forward_zero
into
jit_type
for JIT functions
, and
atomic_type
for atomic callbacks
.
CPPAD_TEST_VECTOR macro was removed
(it was deprecated on 2012-07-03).
CPPAD_packageVECTOR
for
package
equal to
CPPAD, STD, BOOST, EIGEN.
/Tc to the flag /TC,
so that the C source file need not follow directly after in the compile
command. This fixed a test failure when using that compiler.
| to_csrc | C Source Code Corresponding to an ADFun Object |
| create_dll_lib | Create a Dynamic Link Library |
| link_dll_lib | Link a Dynamic Link Library |
| example_jit | JIT Creation, Compilation, and Linking of C Source Code |
| cppad_jit_det_minor.cpp | cppad_jit Speed: Gradient of Determinant by Minor Expansion |
base_lin_ode function was changed to
base_solver
.
In addition, a maximum step
size was added to this atomic linear ODE solver.
test_more/debug_rel/CMakeLists.txt.
cppad_eigen.hpp
std Definitions
of the AD versions of
isinf and isnan.
ident_zero_x
and mention that this version
of the callback is deprecated.
infinity().
In addition, cppad_eigen.hpp added isinf
and isnan for AD types to the std namespace; see
std Definitions
.
case_seven in
test_more/general/hes_sparsity.cpp/ tests a case
where this bug occurred.
cmake/compile_source_test.cmake was not
working properly on Darwin systems which resulted in the following warning:
warning: 'tmpnam' is deprecated: ...
file_name = tmpnam( nullptr );
This has been fixed.
f
and
af = f.base2ad()
, the following assert
would happen during forward mode calculations using the
af
function:
error from unknown source
Error detected by false result for
index < List().size()
at line 325 in the file
... discrete.hpp
This bug has been fixed.
assert to
CPPAD_ASSERT_UNKNOWN
.
sparse_rc template class.
AD<Base>
version of the derivative calculations a done using atomic operations.
y(nx) to y(ny) in
atomic_four_mat_mul_forward.cpp
.
atomic_four<double> to
atomic_four<Base>
;
see atomic_four_mat_mul.hpp
.
atomic_vector to atomic_four_vector
.
atomic_four<double> to
atomic_four<Base>
.
Make some other similar corrections in atomic_four_vector.hpp
.
after[i]
in the
print_graph_op
documentation.
To be specific, - 2 was changed to - 1.
identical_zero to the possible
ad_type
values in
the atomic four for_type function.
See atomic_four_vector_for_type.hpp
,
atomic_four_mat_mul_for_type.hpp
, and
atomic_four_mat_mul_identical_zero.cpp
for an examples using this feature.
# include <cppad/example/atomic_four/vector.hpp>
sparse_rc template class.
Libs: in the cppad.pc pkgconfig
file
was not being set correctly for some cases. This has been fixed.
call_id
to specify which
element by element operator is being called; see
call_id
.
[] operator using CppAD vector
iterators
.
In addition it was extended to include size_t indices.
size_t iterator indices.
example/atomic_three/vector_op.cpp example
(see atomic_four_vector
) was split into multiple files and moved into the
example/atomic_vector directory.