Internal functions
ManifoldDiff.AbstractDiffBackend
— TypeAbstractDiffBackend
An abstract type for diff backends. See FiniteDifferencesBackend
for an example.
ManifoldDiff.CurrentDiffBackend
— TypeCurrentDiffBackend(backend::AbstractDiffBackend)
A mutable struct for storing the current differentiation backend in a global constant _current_default_differential_backend
.
See also
AbstractDiffBackend
, default_differential_backend
, set_default_differential_backend!
ManifoldDiff._current_default_differential_backend
— Constant_current_default_differential_backend
The instance of CurrentDiffBackend
that stores the globally default differentiation backend.
ManifoldDiff._hessian
— Function_hessian(f, p[, backend::AbstractDiffBackend])
Compute the Hessian of a callable f
at point p
computed using the given backend
, an object of type AbstractDiffBackend
. If the backend is not explicitly specified, it is obtained using the function default_differential_backend
.
This function calculates plain Euclidean Hessian.
Not specifying the backend explicitly will usually result in a type instability and decreased performance.
ManifoldDiff._jacobian
— Function_jacobian(f, p[, backend::AbstractDiffBackend])
Compute the Jacobian of a callable f
at point p
computed using the given backend
, an object of type AbstractDiffBackend
. If the backend is not explicitly specified, it is obtained using the function default_differential_backend
.
This function calculates plain Euclidean Jacobians, for Riemannian Jacobian calculation see for example gradient
.
Not specifying the backend explicitly will usually result in a type instability and decreased performance.
ManifoldDiff._gradient
— Function_gradient(f, p[, backend::AbstractDiffBackend])
Compute the gradient of a callable f
at point p
computed using the given backend
, an object of type AbstractDiffBackend
. If the backend is not explicitly specified, it is obtained using the function default_differential_backend
.
This function calculates plain Euclidean gradients, for Riemannian gradient calculation see for example gradient
.
Not specifying the backend explicitly will usually result in a type instability and decreased performance.
ManifoldDiff._derivative
— Function_derivative(f, t[, backend::AbstractDiffBackend])
Compute the derivative of a callable f
at time t
computed using the given backend
, an object of type AbstractDiffBackend
. If the backend is not explicitly specified, it is obtained using the function default_differential_backend
.
This function calculates plain Euclidean derivatives, for Riemannian differentiation see for example differential
.
Not specifying the backend explicitly will usually result in a type instability and decreased performance.