octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Algorithmic Differentiation, Using a C++ library


From: Brad Bell
Subject: Re: Algorithmic Differentiation, Using a C++ library
Date: Wed, 1 Mar 2017 07:38:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Another thing to consider, instead of the library, is using CppAD + Eigen. That would make it easy to implement matrix operations. For example, see
    https://www.coin-or.org/CppAD/Doc/eigen_array.cpp.htm

On 02/28/2017 10:34 AM, Olaf Till wrote:
On Tue, Feb 28, 2017 at 07:44:49AM -0700, Brad Bell wrote:
Sorry for the delay since my previous message
http://lists.gnu.org/archive/html/octave-maintainers/2017-02/msg00029.html
I was busy adding sparse calculations to Cppad Swig; see
     http://www.seanet.com/~bradbell/cppad_swig/sparse.htm

How about not using Swig, but just the C++ library that Cppad Swig creates ?
See the corresponding example
  http://www.seanet.com/~bradbell/cppad_swig/a_fun_jacobian_xam.cpp.htm

The tests (for the library without Swig) correspond to the command
     make check_lib_cplusplus
See
     http://www.seanet.com/~bradbell/cppad_swig/testing.htm
I had thought to use just cppad, but will have a look at the C++
library.

There was much delay from my side due to unforeseen involvement with
Octave Forge administration. But I'll come back to this.

Olaf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]