Skip to main content

InterpDataOwned

Type Alias InterpDataOwned 

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

InterpData that owns data.

Aliased Type§

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

Fields§

§grid: [ArrayBase<OwnedRepr<T>, Dim<[usize; 1]>, T>; 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<OwnedRepr<T>, Dim<[usize; N]>, T>

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