Skip to main content

Seedable

Trait Seedable 

pub trait Seedable: Scalar {
    // Required method
    fn seed(value: f64) -> Self;
}
Expand description

A forward mode that can carry a seeded unit tangent.

Separate from LiftParams because seeding is meaningful only for a forward mode: the passive scalar has no tangent to set, and a reverse-mode scalar gets its sensitivity from tape registration rather than from a seed.

Required Methods§

fn seed(value: f64) -> Self

value, carrying a unit derivative in this mode’s single direction.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

§

impl Seedable for Jet1<f64>

§

impl Seedable for Jet2<f64>