pub trait Mapping<I: MatElement, O: MatElement, const DIMDOM: usize, const DIMCOD: usize> {
// Required method
fn evaluate_fill<'a>(
&self,
i: &Point<I, DIMDOM>,
o: &'a mut Point<O, DIMCOD>,
) -> &'a mut Point<O, DIMCOD>;
// Provided method
fn evaluate(&self, i: &Point<I, DIMDOM>) -> Point<O, DIMCOD> { ... }
}Expand description
Generic interface for an evaluatable element from ℝ^DIMDOM to ℝ^DIMCOD.
Required Methods§
Sourcefn evaluate_fill<'a>(
&self,
i: &Point<I, DIMDOM>,
o: &'a mut Point<O, DIMCOD>,
) -> &'a mut Point<O, DIMCOD>
fn evaluate_fill<'a>( &self, i: &Point<I, DIMDOM>, o: &'a mut Point<O, DIMCOD>, ) -> &'a mut Point<O, DIMCOD>
Evaluates the function and assigns the values to an existing point object.