Struct stencil::N1D2
[−]
[src]
pub struct N1D2<A: LinalgScalar> { pub t: A, pub b: A, pub l: A, pub r: A, pub c: A, }
one-neighbor, two-dimensional stencil
Fields
t: A
top
b: A
bottom
l: A
left
r: A
right
c: A
center
Trait Implementations
impl<A: LinalgScalar> StencilArray<N1D2<A>> for Torus<A, Ix2>
[src]
fn stencil_map<Output, Func>(&self, out: &mut Output, f: Func) where
Output: NdArray<Dim = Self::Dim>,
Func: Fn(N1D2<A>) -> Output::Elem,
[src]
Output: NdArray<Dim = Self::Dim>,
Func: Fn(N1D2<A>) -> Output::Elem,
Execute a stencil calculation
impl<A: Clone + LinalgScalar> Clone for N1D2<A>
[src]
fn clone(&self) -> N1D2<A>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more