Search Comments and Ratings

go

   
Date File Comment by Comment Rating
22 Aug 2014 Automatic Differentiation with Matlab Objects Automatically compute derivatives of functions, without using finite-difference approximations. Author: William McIlhagga William McIlhagga

To Jeffrey Steward:

The documentation says that adiff has restrictions on transpose. (See page 4 where it says that your example _won't_ work). However, you can get a quadratic form to work if you bracket things just right. Writing

f = x'*(A*x)

does work.

Comment only
24 May 2013 Automatic Differentiation with Matlab Objects Automatically compute derivatives of functions, without using finite-difference approximations. Author: William McIlhagga William McIlhagga

To Edward: For simplicity, the package was coded to work solely on functions that take a column vector and return a scalar argument. I can't see reshape helping much because of that restriction. After you've got the derivative though, you can extract it from the adiff object as an ordinary matlab vector (using adiffget) and reshape that.

Comment only
29 Mar 2011 Automatic Differentiation with Matlab Objects Automatically compute derivatives of functions, without using finite-difference approximations. Author: William McIlhagga William McIlhagga

It's just plain forward auto.

Comment only

Contact us