Trait chime::kind::Roots

source ·
pub trait Roots: FluxKind {
    type Output: IntoTimes;

    // Required method
    fn roots(self) -> <Self as Roots>::Output;
}
Expand description

Roots of a Polynomial.

For discontinuous change-over-time, roots should also include any moments where the polynomial discontinuously “teleports” across 0.

Required Associated Types§

Required Methods§

source

fn roots(self) -> <Self as Roots>::Output

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Roots for Sum<f64, 0>

§

type Output = [f64; 0]

source§

impl Roots for Sum<f64, 1>

§

type Output = [f64; 1]

source§

impl Roots for Sum<f64, 2>

§

type Output = [f64; 2]

source§

impl Roots for Sum<f64, 3>

§

type Output = [f64; 3]

source§

impl Roots for Sum<f64, 4>

§

type Output = [f64; 4]

source§

impl<T: Linear, const D: usize> Roots for Sum<Exp<T>, D>
where Sum<T, D>: FluxKind<Value = T> + Roots,

§

type Output = <Sum<T, D> as Roots>::Output