DerivativeNumber

Automatic Differentiation

DerivativeNumber class for SuperCollider

Status of this project

This is a first working draft for automatic differentiation in SuperCollider. It follows Jerzy Karczmarczuk 1998, Functional differentiation of computer programs.

See also: - http://conal.net/blog/posts/beautiful-differentiation - http://conal.net/blog/posts/what-is-automatic-differentiation-and-why-does-it-work

It supports partial derivatives, derivatives on floats, arrays, signals, complex numbers.

Some methods of SimpleNumber are missing (like degreeToKey and the boost special functions) and may never be implemented.

There are unit tests for many of the operators.

In the future, there may be a subclass that will do arbitrary order derivatives (see Barak A. Pearlmutter and Jeffrey Mark Siskind 2007 – Lazy Multivariate Higher-Order Forward-Mode AD).

DerivativeNumber
Extension
Superclass:
Number
Function
Extension
Superclass:
Number
Extension
Superclass:
SequenceableCollection
Extension
Superclass:
TestDerivativeNumber
Extension
Superclass:
UnitTest
Extension
Superclass:

Found no versions tagged via git

Installation

Repository

URL

https://lab.al0.de/julian/dn

Since

2024-12-17

Last update

2024-12-30

Current version

Quark info

name

DerivativeNumber

since

2024

author

Julian Rohrhuber

country

Germany

summary

Automatic Differentiation

organization

Institute for Music and Media Duesseldorf

Possible dependcies

Possible dependants