Struct stencil::region::Line
[−]
[src]
pub struct Line<A: LinalgScalar, P: Padding, E: Edge> { /* fields omitted */ }
One-dimensional line with finite length
Methods
impl<A: LinalgScalar, P: Padding, E: Edge> Line<A, P, E>
[src]
Trait Implementations
impl<A: Debug + LinalgScalar, P: Debug + Padding, E: Debug + Edge> Debug for Line<A, P, E>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<A: Clone + LinalgScalar, P: Clone + Padding, E: Clone + Edge> Clone for Line<A, P, E>
[src]
fn clone(&self) -> Line<A, P, E>
[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
impl<A: LinalgScalar, P: Padding, E: Edge> NdArray for Line<A, P, E>
[src]
type Elem = A
type Dim = Ix1
fn shape(&self) -> usize
[src]
fn as_view(&self) -> ArrayView1<A>
[src]
fn as_view_mut(&mut self) -> ArrayViewMut1<A>
[src]
impl<A: LinalgScalar + Float, P: Padding, E: Edge> Manifold for Line<A, P, E>
[src]
type Coordinate = A
Type of coordinate
fn dx(&self) -> A
[src]
Increment of coordinate
fn coordinate_fill<F>(&mut self, f: F) where
F: Fn(Self::Coordinate) -> Self::Elem,
[src]
F: Fn(Self::Coordinate) -> Self::Elem,
Fill manifold by a function
fn coordinate_map<F>(&mut self, f: F) where
F: Fn(Self::Coordinate, Self::Elem) -> Self::Elem,
[src]
F: Fn(Self::Coordinate, Self::Elem) -> Self::Elem,
Map values on manifold using a function
impl<A, P, E> StencilArray<N1D1<A>> for Line<A, P, E> where
A: LinalgScalar,
E: Edge,
P: GreaterEq<<N1D1<A> as Stencil>::Padding>,
[src]
A: LinalgScalar,
E: Edge,
P: GreaterEq<<N1D1<A> as Stencil>::Padding>,