Skip to main content

ObjectiveFunctionWithGradient

Trait ObjectiveFunctionWithGradient 

Source
pub trait ObjectiveFunctionWithGradient: ObjectiveFunction + GradientFunction { }
Expand description
  • ObjectiveFunctionWithGradient: A trait for objective functions that also have a gradient. It is a marker trait that indicates that the objective function implements both ObjectiveFunction and GradientFunction.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§