Function validate_fftshapes
Source pub fn validate_fftshapes(
inputshape: &[usize],
shape: Option<&[usize]>,
) -> FFTResult<Vec<usize>>
Expand description
Determine the N-dimensional shapes for FFT operations
§Arguments
inputshape
- The shape of the input array
shape
- The requested output shape (optional)
§Returns
The validated output shape
§Errors
Returns an error if the dimensions don’t match