pub trait Differentiable2D<T, V>: Function2Dwhere
T: Function2D,
V: Function2D,{
fn differentiate_x(&self) -> Result<T, Error>;
fn differentiate_y(&self) -> Result<T, Error>;
}
Expand description
General Information
Every differentiable 2D function-like struct must implement this trait. It is important to know which kind of function will result from differentiating.
Such a function needs to become a struct that represents a family of it’s kind and also implements the trait Function2D
.
A function completely differentiable in 2 dimentions is differentiable on every entry. The converse is not always true.
Functions
differentiate_x(...)
- Differentiate with respect to xdifferentiate_y(...)
- Differentiate with respect to y