martinResearch / MatlabAutoDiff

A matlab implementation of forward automatic differentiation with operator overloading and sparse jacobians
BSD 3-Clause "New" or "Revised" License
39 stars 12 forks source link

diff #5

Closed jamesascham closed 3 years ago

jamesascham commented 3 years ago

diff not coded into autodiff class. specifically, along a third dimension.

martinResearch commented 3 years ago

This is fixed now , I generalized diff to nd arrays. see https://github.com/martinResearch/MatlabAutoDiff/blob/05600dfb08134c55065e7001aa8deee2be2e34db/src/AutoDiff_tests.m#L83 Thanks for the feedback

martinResearch commented 3 years ago

@jamesascham , does that solve your problem ?