Skip to main content

InterpData2DViewed

Type Alias InterpData2DViewed 

Source
pub type InterpData2DViewed<T> = InterpData2D<ViewRepr<T>>;
Expand description

InterpData2D that views data.

Aliased Type§

pub struct InterpData2DViewed<T> {
    pub grid: [ArrayBase<ViewRepr<T>, Dim<[usize; 1]>>; 2],
    pub values: ArrayBase<ViewRepr<T>, Dim<[usize; 2]>>,
}

Fields§

§grid: [ArrayBase<ViewRepr<T>, Dim<[usize; 1]>>; 2]

Coordinate grid: an N-length array of 1-dimensional ArrayBase<D, Ix1>.

  • 1-D: [x]
  • 2-D: [x, y]
  • 3-D: [x, y, z]
§values: ArrayBase<ViewRepr<T>, Dim<[usize; 2]>>

Function values at coordinates: a single N-dimensional ArrayBase.