Skip to main content

InterpDataViewed

Type Alias InterpDataViewed 

Source
pub type InterpDataViewed<T, const N: usize> = InterpData<ViewRepr<T>, N>;
Expand description

InterpData that views data.

Aliased Type§

pub struct InterpDataViewed<T, const N: usize> {
    pub grid: [ArrayBase<ViewRepr<T>, Dim<[usize; 1]>>; N],
    pub values: ArrayBase<ViewRepr<T>, Dim<[usize; N]>>,
}

Fields§

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

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; N]>>

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