pub trait Projector<I: ?Sized>: Space<Value = Projection> {
fn project(&self, input: &I) -> Projection;
fn project_expanded(&self, input: &I) -> DenseT { ... }
}
Expand description
Trait for basis projectors.
Required Methods§
sourcefn project(&self, input: &I) -> Projection
fn project(&self, input: &I) -> Projection
Project data from an input space onto the basis.
Provided Methods§
sourcefn project_expanded(&self, input: &I) -> DenseT
fn project_expanded(&self, input: &I) -> DenseT
Project data from an input space onto the basis and convert into a raw, dense vector.