Commit Graph

70 Commits (d1a2633be03b4abb9c07058d09ba5ae2bf411fe0)

Author SHA1 Message Date
Christophe Favergeon b46a2f86b5 First version of the dynamic time warping algorithm.
F32 only. Some windows suppported.
3 years ago
Christophe Favergeon f757add3bb Added window functions for use with Fourier transforms.
Regular functions for use with tone detection and noise estimation.
Flat-top windows for estimation of tone amplitudes.

Parameters of the windows are given.

Kaiser window missing (Bessel function not available in the library).

No f16 implementation since it is not accurate enough. It is better
to compute a f32 window and convert to f16 after.
3 years ago
Silfurion 633ab5913e Add Conversion functions from and to 64 bit floating point
Cleaned f64 conversion functions.
3 years ago
Christophe Favergeon 91ef795234 Corrected issue #66
Saturation problem in arm_absmax_no_idx_q(7|15|31)
Difference of behavior for absmax_q(7|15|31) between reference and code:
reference is first max found. Code was last max found.
3 years ago
Christophe Favergeon 865419778b Added tests for the new accumulate functions.
Corrected build issue on Neon without aarch64 support.
Corrected some Doxygen issues
3 years ago
Christophe Favergeon 91f599c052 Householder and QR decomposition for matrices (f64,f32,f16).
(not yet optimized)
3 years ago
Christophe Favergeon 99bcacd027 CMSIS-DSP: Some improvements for sign conversion warnings.
Added new tests for function in utils.h
4 years ago
Christophe Favergeon 29cb70ce55 CMSIS-DSP: scalar atan2 q31, q15, f32 and f16
Correction to q15 and q31 division when denominator is max
negative value.
4 years ago
Christophe Favergeon 8dcdb350a4 CMSIS-DSP: Mean square error for q15, q31, f16, f32, f64.
Reworked q7 to have a bit more accuracy.
4 years ago
Christophe Favergeon 47a987217f CMSIS-DSP: Mean square error q7 4 years ago
Christophe Favergeon 02b12fd1cf CMSIS-DSP: New min/max functions.
Added arm_(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c
Added arm_abs(max|min)_no_idx_(q7|q15|q31|f16|f32|f64).c

For both functions : Helium and scalar versions.
4 years ago
Christophe Favergeon e45dc7c22e CMSIS-DSP: Improvements to pull request #1363
To avoid having to change the API in an incompatible way,
a arm_mat_mult_opt_q31 was introduced and is providing a faster implementation
to use with Helium (but requiring more storage for intermediate results).

Some improvements to tests for matrix functions added.
4 years ago
Christophe Favergeon 8092cc61f9 CMSIS-DSP: New MFCC Q15 and Q31
arm_cmplx_mag_q15 reworked to be more accurate but less efficient.

New function arm_cmplx_mag_fast_q15 introduced to retain previous
(less accurate) but faster behavior.

Improvement to Python wrapper to support the new functions.
4 years ago
Christophe Favergeon 0597838b9f CMSIS-DSP: New f64 tests
Tests for : BasicMaths, ComplexMaths, Stats, FastMath
Filtering, Distances, Support.

Some tests are disabled because only a subset
of the functions has been converted to f64.
4 years ago
Christophe Favergeon 3d264cfabb CMSIS-DSP: MFCC F32
MFCC F32 implementation
MFCC F32 tests
MFCC F32 in Python wrapper
Python wrapper structure updated to support submodule like
cmsisdsp.mfcc and cmsisdsp.fixedpoint
PythonWrapper tests updated to use the new fixedpoint
cmsisdsp.mfcc is used to generate the mel filter, dct and window coefficients.
4 years ago
Christophe Favergeon 9f36d99a0b CMSIS-DSP: Correction os issue 1274
arm_mat_solve_lower_triangular_f32 and arm_mat_solve_upper_triangular_f32
had constraints which could be removed to make the function
more generic.
4 years ago
Christophe Favergeon 840a233053 CMSIS-DSP: Scalar version for arm_vlog_q31
Added scalar version of arm_vlog_q15

Updated PythonWrapper with vlog q31 and q15
Corrected small compilation issue with AC5 compiler.
4 years ago
Christophe Favergeon 90c27e0f4a CMSIS-DSP: Added absmin and absmax
Scalar versions only.
f32, f16, q31, q15, q7.
5 years ago
Christophe Favergeon baa16ae1a1 CMSIS-DSP: Correcting issue #1165 5 years ago
Christophe Favergeon e9a8ba6255 CMSIS-DSP: Scalar version of Levinson Durbin algorithms.
f32, f16 and q31.
5 years ago
Christophe Favergeon 0556e5fb2a CMSIS-DSP: Added scalar version of clipping functions. 5 years ago
Christophe Favergeon 4357c9e947 CMSIS-DSP: Added scalar f32 quaternion functions.
Some correction for RFFT Fast f32 in Python wrapper
5 years ago
Christophe Favergeon 212e9cb805 CMSIS-DSP: Added Cholesky decomposition
LL^t and LDL^t variant.

Added foward and backward substitution to solve linear systems
with triangular matrix.
5 years ago
Christophe Favergeon 69d56b1a31 CMSIS-DSP: f16 versions of classical ML functions 5 years ago
Christophe Favergeon 41f2015387 CMSIS-DSP: Re-organization of arm_math.h
arm_math.h splitted into several headers.
Interpolation functions moved from arm_math.h to a separate folder.
5 years ago
Christophe Favergeon a20e215bfc CMSIS-DSP: Added new matrix functions and their MVE implementation
arm_mat_cmplx_trans_f32.c
arm_mat_cmplx_trans_q15.c
arm_mat_cmplx_trans_q31.c
6 years ago
Christophe Favergeon 8268b079d5 CMSIS-DSP: Added new matrix functions and MVE version
arm_mat_mult_q7.c
arm_mat_trans_q7.c
arm_mat_vec_mult_f32.c
arm_mat_vec_mult_q15.c
arm_mat_vec_mult_q31.c
arm_mat_vec_mult_q7.c
6 years ago
ClaudioMartino 1d51b2ba00 CMSIS-DSP: Modified spline f32 to compute coeffs at init time
- Moved coefficients computation to init function
- Improved documentation
6 years ago
ClaudioMartino 64d43685fb CMSIS-DSP: Added MVE support for logical operators (modified prototypes) 6 years ago
ClaudioMartino fb1f6b04a7 CMSIS-DSP: Added scalar float64 entropy and kullback leibler 6 years ago
ClaudioMartino 3446683ed3 Improved arm_quick_sort_f32 6 years ago
Christophe Favergeon efd47b9da6 CMSIS-DSP: Improvement for issue 809 6 years ago
Christophe Favergeon d2fb32de54 CMSIS-DSP: Added longer test patterns and corrected saturation bugs.
Longer test patterns for BasicMaths, ComplexMaths and Statistics.
Corrected saturation bug in MVE code for arm_abs_q7,
arm_cmplx_conj_q15 and arm_cmplx_conj_q31.
6 years ago
Christophe Favergeon f130e78572 CMSIS-DSP: Added more tests for ComplexMathsQ15 6 years ago
Christophe Favergeon 8f121092cd CMSIS-DSP: Added more tests for ComplexMaths. 6 years ago
Christophe Favergeon dcda169de6 CMSIS-DSP: Cleaning for RFFT
Updated Doxygen comments.
Moved cfft_init_f64 from PythonWrapper to normal repository.
6 years ago
Christophe Favergeon 05fcad5977 CMSIS-DSP:Added tests for arm_bilinear_interp (f32,q31,q15 and q7).
Corrected bug in arm_bilinear_interp_f32. Now indexes are starting at 0
like with other bilinear versions.
6 years ago
Christophe Favergeon ceca332b10 CMSIS-DSP:Added tests for arm_linear_interp f32, q31, q15 and q7. 6 years ago
Christophe Favergeon c0a597a51c CMSIS-DSP: Added test patterns for arm_fir_decimate and arm_fir_interpolate.
Added MVE code for arm_fir_decimate and arm_fir_interpolate.
6 years ago
Christophe Favergeon f5c31e6af4 CMSIS-DSP: Added MVE code for cfft q31
Added tests patterns for RFFT Q31 and Q15.
6 years ago
Christophe Favergeon 3060b1da8f CMSIS-DSP: MVE version of arm_cfft_f32. 6 years ago
Christophe Favergeon 76ab9556db CMSIS-DSP: Added new tests
Added tests for arm_math.h functions read_q15x2 and similar ones ...
Improved Doxygen.
Improved functions read_q15x2 and similar ones ...
6 years ago
Christophe Favergeon 665ba5d4cb CMSIS-DSP: Corrected compilation warnings
Regenerated some test patterns to remove end of line issues.
6 years ago
ClaudioMartino bbafcb8960 Added logical operators + sorting + spline
- Added NEON bitwise AND, NOT, OR, XOR (q7, q15, q31)
- Added Sorting algorithms f32 (NEON bitonic sort)
- Added cubic spline interpolation function
- Added test patterns for all
6 years ago
Christophe Favergeon ea8a5b2800 CMSIS-DSP: Added new tests for Biquads.
Added MVE code for Biquads.
6 years ago
Christophe Favergeon 1389e6c3e5 CMSIS-DSP: Added test patterns for RFFT float. 6 years ago
Christophe Favergeon b649edbec2 CMSIS-DSP: Added new test patterns for Transform 6 years ago
Christophe Favergeon ecf9525765 CMSIS-DSP: Added test patterns for fir
Added MVE version of arm_fir_f32
Improved test framework to display more information about errors.
6 years ago
Christophe Favergeon 2fea89109f CMSIS-DSP: Added test examples 6 years ago
Christophe Favergeon b1af1d4766 CMSIS-DSP: Generated test patterns for convolutions and correlations.
Added MVE code for convolutions and correlations.
6 years ago