MAD

An efficient overloaded implementation of forward mode automatic differentiation in MATLAB. The Mad package described here facilitates the evaluation of first derivatives of multidimensional functions that are defined by computer codes written in MATLAB. The underlying algorithm is the well-known forward mode of automatic differentiation implemented via operator overloading on variables of the class fmad. The main distinguishing feature of this MATLAB implementation is the separation of the linear combination of derivative vectors into a separate derivative vector class derivvec. This allows for the straightforward performance optimization of the overall package. Additionally, by internally using a matrix (two-dimensional) representation of arbitrary dimension directional derivatives, we may utilize MATLAB’s sparse matrix class to propagate sparse directional derivatives for MATLAB code which uses arbitrary dimension arrays. On several examples, the package is shown to be more efficient than Verma’s ADMAT package.


References in zbMATH (referenced in 19 articles )

Showing results 1 to 19 of 19.
Sorted by year (citations)

  1. Elsheikh, Atiyah: An equation-based algorithmic differentiation technique for differential algebraic equations (2015)
  2. Hascoet, Laurent; Pascual, Valérie: The Tapenade automatic differentiation tool, principles, model, and specification (2013)
  3. Patterson, Michael A.; Weinstein, Matthew; Rao, Anil V.: An efficient overloaded method for computing derivatives of mathematical functions in MATLAB (2013)
  4. Andersson, Joel; Åkesson, Johan; Diehl, Moritz: CasADi: A symbolic package for automatic differentiation and optimal control (2012)
  5. Van Willigenburg, L.Gerard; De Koning, Willem L.: Temporal and differential stabilizability and detectability of piecewise constant rank systems (2012)
  6. Xu, Yunjun; Basset, Gareth: Sequential virtual motion camouflage method for nonlinear constrained optimal trajectory control (2012)
  7. De Witte, Virginie; Govaerts, Willy: Numerical computation of normal form coefficients of bifurcations of ODEs in Matlab (2011)
  8. Lampoh, Komlanvi; Charpentier, Isabelle; Daya, El Mostafa: A generic approach for the solution of nonlinear residual equations. III: Sensitivity computations (2011)
  9. Toivanen, Jukka I.; Mäkinen, Raino A.E.: Implementation of sparse forward mode automatic differentiation with application to electromagnetic shape optimization (2011)
  10. Basset, G.; Xu, Y.; Yakimenko, O.A.: Computing short-time aircraft maneuvers using direct methods (2010)
  11. Neidinger, Richard D.: Introduction to automatic differentiation and MATLAB object-oriented programming (2010)
  12. Pryce, J.D.; Ghaziani, R.Khoshsiar; De Witte, V.; Govaerts, W.: Computation of normal form coefficients of cycle bifurcations of maps by algorithmic differentiation (2010)
  13. Bücker, H.Martin; Vehreschild, Andre: Coping with a variable number of arguments when transforming MATLAB programs (2008)
  14. Giles, Mike B.: Collected matrix derivative results for forward and reverse mode algorithmic differentiation (2008)
  15. Hascoët, Laurent; Dauvergne, Benjamin: Adjoints of large simulation codes through automatic differentiation (2008)
  16. Koutsawa, Yao; Charpentier, Isabelle; Daya, El Mostafa; Cherkaoui, Mohammed: A generic approach for the solution of nonlinear residual equations. I: The Diamant toolbox (2008)
  17. Padulo, Mattia; Forth, Shaun A.; Guenov, Marin D.: Robust aircraft conceptual design using automatic differentiation in Matlab (2008)
  18. Kharche, Rahul V.; Forth, Shaun A.: Source transformation for MATLAB automatic differentiation (2006)
  19. Shampine, L.F.; Ketzscher, Robert; Forth, Shaun A.: Using AD to solve BVPs in MATLAB (2005)