\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
2018#
View page sourceRelease Notes for 2018#
mm-dd#
11-10#
Added the dynamic argument to the
independentfunction and the f_new_dynamic function.Added the sections more.cpp and more.py. These have been replaced by new_feature .
11-09#
Include binary operations where first operand is an a_double
and second operand is a double ; see
a_double_binary,
a_double_compare, and
a_double_assign.
11-07#
11-05#
API Change : change
cppad_py.a_funtocppad_py.d_funbecause it is a function that evaluates indoubleand plan to usecppad_py.a_funfor a function that evaluates ina_double.Advance to cppad-20181105 (must re-run
bin/get_cppad.sh).
08-13#
Change
cppad_cxx_flagsto extra_cxx_flags in the user configuration settings. Also removeswig_cxx_flagsfrom these user settings (set automatically).Improve the install instructions; see old_setup.py.
07-31#
The general purpose Swig example
swig_xam, which was not specific to cppad_py, has been removed.A change to
old_setup.pywas making the get_cppad.sh script fail. This has been fixed.The python tests are no run in
example/python(not copied to the build directory).
07-26#
Change cppad_py/python_major_version
to cppad_py/python_version
because it now contains both major and minor version numbers.
07-19#
Add -std=c++11 to the default compile flags in
old_setup.py.
Add -py3 to the swig builds
when running old_setup.py using Python 3; see
swig python 3.
07-15#
Better error reporting for type and size errors in
numpy.arrayarguments tocppad_pyfunctions using numpy2vec.Finish converting all vectors and matrices in py_lib to numpy arrays. Note the py_utility routines do the conversion.
07-14#
Continue conversion of python library to using
numpy.array; see py_fun_forward, py_fun_reverse.Add the f_size_order() function.
07-13#
Continue conversion of python library to using numpy.array ; see
py_fun_jacobian, py_fun_hessian.
07-12#
Continue conversion of python library to using
numpy.array; see py_independent, py_fun_ctor.Add the file
cppad_py/python_major_versionwhich contains the major version of python that this build ofcppad_pyis for.Automatically use build_type control how old_setup.py compiles C++ (one used to use flags on old_setup.py command line).
old_setup.py was using the git repository version of CppAD instead of the one installed in
build/prefixby get_cppad.sh. This has been fixed.Change
size_indto size_domain andsize_depto size_range.
07-10#
Start conversion of python library from using
vector to using numpy.array ; see
py_independent.
07-08#
Advanced to
cppad-20180703.Fix the following warning:
catching polymorphic type class 'std::runtime_error' by value.Suppress the following warning when running old_setup.py:
clearing an object of non-trivial type class 'cppad_py::a_double'; see swig issue 1259.Move all settings to old_setup.py and run
cmakefrom there.The file
cppad_py/__init__.pywas not being created. This has been fixed.
07-07#
Change build of Python module to use Python 3 (now it can use either 2 or 3).
07-03#
Birthday when CppAD Py was first extracted from CppAD Swig.