validate_fft_axes

Function validate_fft_axes 

Source
pub fn validate_fft_axes(
    ndim: usize,
    axes: Option<&[usize]>,
) -> FFTResult<Vec<usize>>
Expand description

Validate axes for FFT operations

§Arguments

  • ndim - The number of dimensions in the array
  • axes - The requested axes for FFT (optional)

§Returns

The validated axes

§Errors

Returns an error if any axis is out of bounds