matt-weinstein / adigator

Matlab Algorithmic Differentiation Toolbox
22 stars 5 forks source link

Fixing derivative rule for a few trig functions #1

Closed matt-weinstein closed 5 years ago

matt-weinstein commented 5 years ago

Most trig "degree" versions had errors, a few inverse functions had errors only on particular inputs (typically when dealing with imaginary results). Added a unit test for testing all unary math derivative rules.