pub trait BaseSpaceSize<const N: usize> {
fn shape_physical(&self) -> [usize; N];
fn shape_spectral(&self) -> [usize; N];
fn shape_spectral_ortho(&self) -> [usize; N];
fn ndarray_from_shape<T: Clone + Zero>(
&self,
shape: [usize; N]
) -> Array<T, Dim<[usize; N]>>;
}
Expand description
Dimensions
Required methods
fn shape_physical(&self) -> [usize; N]
fn shape_physical(&self) -> [usize; N]
Shape of physical space
fn shape_spectral(&self) -> [usize; N]
fn shape_spectral(&self) -> [usize; N]
Shape of spectral space
fn shape_spectral_ortho(&self) -> [usize; N]
fn shape_spectral_ortho(&self) -> [usize; N]
Shape of spectral space (orthogonal bases)