Skip to main content

Projection

Trait Projection 

Source
pub trait Projection<const N: usize> {
    // Required method
    fn project(&self, position: [f64; N]) -> f64;
}
Expand description

A projection takes in a position and returns a system of values.

Required Methods§

Source

fn project(&self, position: [f64; N]) -> f64

Implementors§

Source§

impl<const N: usize> Projection<N> for Gaussian<N>

Source§

impl<const N: usize> Projection<N> for TanH<N>