Trait FitModelTrait

Source
pub trait FitModelTrait<T, U, const NPARAMS: usize>
where T: Float + Into<U>, U: LikeFloat,
{ // Required method fn model(t: T, param: &[U; NPARAMS]) -> U where T: Float + Into<U>, U: LikeFloat; }

Required Methods§

Source

fn model(t: T, param: &[U; NPARAMS]) -> U
where T: Float + Into<U>, U: LikeFloat,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, U> FitModelTrait<T, U, NPARAMS> for BazinFit
where T: Float + Into<U>, U: LikeFloat,

Source§

impl<T, U> FitModelTrait<T, U, NPARAMS> for LinexpFit
where T: Float + Into<U>, U: LikeFloat,

Source§

impl<T, U> FitModelTrait<T, U, NPARAMS> for VillarFit
where T: Float + Into<U>, U: LikeFloat,