Crate rust_ad_core[][src]

Expand description

I do not recommend using this directly, please sea rust-ad.

Modules

Some utility functions used for syn.

Macros

Given identifier string (e.g. x) appends DERIVATIVE_PREFIX (e.g. der_a).

With-Respect-To

Structs

Signature infomation to refer to specific function.

Signature infomation to refer to specific method.

Signature infomation to refer to specific binary operation.

Infomation to relating to specific procedure, output type, etc. (including functions for transforming statements into deriatives).

Internal map of currently supported functions.

Internal map of currently supported methods.

Internal map of currently supported operations.

Enums

Currently supported binary operations.

Constants

Prefix used for the derivatives of a variable (e.g. The derivative of x would be der_x).

Prefix used to for the forward differentiation function.

Prefix used for flattening binary expressions in function arguments.

Prefix used for flattening binary expressions as a reciever for a method.

Prefix used for flattening retrn statements;

Prefix used to for the reverse differentiation function.

Functions

Gets cumulative derivative for given expression for a given input variable (only supports literals and paths).

Gets type of given expression (only supports literals and paths)

Gets function signature for internal use

Gets type of literal (only supproted numerical types)

Gets method signature for internal use

Gets opertion signature for internal use