Skip to main content

Crate advantage

Crate advantage 

Source

Modules§

drivers
Procedures creating derivatives of functions
prelude
Default imports that all projects using this crate should have in scope

Macros§

adv_fn
Define a function and automatically collect metadata
adv_fn_obj
Get the associated metadata for a function defined with adv_fn!
adv_struct
Create a generic struct for use in differentiable functions

Structs§

AContext
Records a function evaluation
AFloat
Floating point variable type for tapeless forward-mode automatic differentiation
FunctionChain
A chain of function where each node takes its input from its predecessor
Operation
Representation of a single elementary operation and inputs and output

Enums§

OpCode
Enum of possible elementary operations

Traits§

Arithmetic
Type supporting all arithmetic operations resulting in a certain type
ArithmeticAssign
Type supporting all arithmetic assignments
Float
Generic trait for floating point numbers
Function
Abstraction of a function that can be examined by AD
Scalar
Type supporting all arithmetic operations and assignments
Tape
Evaluation procedure and intermediate values of a function evaluation

Type Aliases§

ADouble
Double precision AFloat
ASingle
Single precision AFloat
DMatrix
A dynamically sized column-major matrix.
DVector
A dynamically sized column vector.