/autodiff-js

Primary LanguageJavaScript

Reverse Mode Autodiff

Autodiff-js is javascript library performing reverse mode autodiff which is completely built from scratch.

Visit

Visit https://devnev39.github.io/autodiff-js

Reference

New Node creates Node which contains an operation or a constant or a variable.

Variable Node

Choosing variable node creates node with variable with given variable name. Variable name should be single literal.

Operatin Node

Choosing operation node creates node with operation. Single valued operation contains logarithmic, trigonometric and inverse trigonometric functions.

Functions other than single valued functions need two nodes to create a node.

You can choose a constant in operation by choosing const in dropdown list.

You cannot create operation node without atleast one variable node.

Editing Node

You can edit the nodes by choosing Edit Node.