Trait signal_processing::gen::Cheb

source ·
pub trait Cheb<T, N>: List<T> + Sized
where T: Num, N: Maybe<usize>,
{ type Output: Maybe<Self>; // Required method fn cheb(kind: usize, order: N) -> Self::Output; }

Required Associated Types§

source

type Output: Maybe<Self>

Required Methods§

source

fn cheb(kind: usize, order: N) -> Self::Output

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Cheb<T, usize> for Vec<T>
where T: Num + Copy + Add<Output = T> + Sub<Output = T> + Neg<Output = T> + AddAssign + Mul<Output = T> + One + Zero,

§

type Output = Vec<T>

source§

fn cheb(kind: usize, order: usize) -> Self

source§

impl<T, const N: usize> Cheb<T, ()> for [T; N]
where T: Num + Copy + Add<Output = T> + Sub<Output = T> + Neg<Output = T> + AddAssign + Mul<Output = T> + One + Zero,

§

type Output = [T; N]

source§

fn cheb(kind: usize, (): ()) -> Self

source§

impl<T, const N: usize> Cheb<T, usize> for [T; N]
where T: Num + Copy + Add<Output = T> + Sub<Output = T> + Neg<Output = T> + AddAssign + Mul<Output = T> + One + Zero,

§

type Output = Option<[T; N]>

source§

fn cheb(kind: usize, order: usize) -> Option<Self>

Implementors§