pub trait ScalarField<const N: usize, B: Backend>:
DynClone
+ Send
+ Sync {
// Required methods
fn evaluate(&self, origins: Origins<B, N>) -> Scalars<B>;
fn device(&self) -> &B::Device;
}
Expand description
A ScalarField
is a function that maps a collection of points to a collection of scalars.