Skip to content

Commit d0e037f

Browse files
authored
Fft (#16)
* added lfilter * Ran pre-commit * Fixed env file * Improved implementation * Ran pre-commit * Updated to reflect PR comments * Use size_type * Try to fix tests * Moved one pad out * Removed extra pad call * Run pre-commit * Added basic fft more work needed * pre-commit * Tests passing * Updated cmake version * Run pre=commit * Added axis * pre-commit * Added check for power of 2 * Added todo * pre-commit * Added comment * Added power of 2 check * Added TBB to configuration * Ran pre-commit * Added comments * Format again * Update ghworkflow.yml * Update fft.hpp Added comments * Ran pre-commit * Run static on pr
1 parent 2aa4f31 commit d0e037f

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

Diff for: .github/workflows/static-analysis.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Static Analysis
22

3-
on: push
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches: [master]
8+
49

510
jobs:
611
pre-commit:

Diff for: include/xtensor-signal/fft.hpp

+10-10
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ inline auto fft(E &&e) {
5959
} // namespace detail
6060

6161
/**
62-
* @breif 1D FFT of an Nd array along a specified axis
63-
* @param e an Nd expression to be transformed to the fourier domain
64-
* @param axis the axis along which to perform the 1D FFT
65-
* @return a transformed xarray of the specified precision
66-
*/
62+
* @brief 1D FFT of an Nd array along a specified axis
63+
* @param e an Nd expression to be transformed to the fourier domain
64+
* @param axis the axis along which to perform the 1D FFT
65+
* @return a transformed xarray of the specified precision
66+
*/
6767
template <class E,
6868
typename std::enable_if<
6969
xtl::is_complex<typename std::decay<E>::type::value_type>::value,
@@ -82,11 +82,11 @@ inline auto fft(E &&e, std::ptrdiff_t axis = -1) {
8282
}
8383

8484
/**
85-
* @breif 1D FFT of an Nd array along a specified axis
86-
* @param e an Nd expression to be transformed to the fourier domain
87-
* @param axis the axis along which to perform the 1D FFT
88-
* @return a transformed xarray of the specified precision
89-
*/
85+
* @breif 1D FFT of an Nd array along a specified axis
86+
* @param e an Nd expression to be transformed to the fourier domain
87+
* @param axis the axis along which to perform the 1D FFT
88+
* @return a transformed xarray of the specified precision
89+
*/
9090
template <class E,
9191
typename std::enable_if<
9292
!xtl::is_complex<typename std::decay<E>::type::value_type>::value,

0 commit comments

Comments
 (0)