W3cubDocs

/Rust

Module autodiff

🔬This is a nightly-only experimental API. (autodiff #124509)

This module provides support for automatic differentiation.

Attribute Macros

autodiff_forwardExperimental
This macro handles automatic differentiation. This macro uses forward-mode automatic differentiation to generate a new function. It may only be applied to a function. The new function will compute the derivative of the function to which the macro was applied.
autodiff_reverseExperimental
This macro handles automatic differentiation. This macro uses reverse-mode automatic differentiation to generate a new function. It may only be applied to a function. The new function will compute the derivative of the function to which the macro was applied.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/autodiff/index.html