Commit graph

181 commits

Author SHA1 Message Date
Ahmet Inan
c83add357c made *x and *y args const v1.0 2021-09-11 16:34:35 +02:00
Ahmet Inan
9958f54184 added hierarchical estimation of the y intercept 2021-09-10 23:46:53 +02:00
Ahmet Inan
e90a3b601b added the repeated median estimator of Siegel 2021-09-10 00:09:26 +02:00
Ahmet Inan
5c456aae28 added clamp() 2021-05-07 17:43:17 +02:00
Ahmet Inan
82ce34dea3 use well known order of lerp arguments 2021-05-07 17:18:06 +02:00
Ahmet Inan
a3c8d375c2 use revised value K0 for SRGB 2021-04-16 17:31:44 +02:00
Ahmet Inan
9334e0339e limit reading from input array to 0 .. samples-1 2021-04-12 11:25:50 +02:00
Ahmet Inan
d7acee8494 made methods const 2021-04-01 12:34:11 +02:00
Ahmet Inan
0427f29ce5 fixed bug in Gaussian window introduced 2019
Typo in commit: 98a5a204d1
2021-04-01 11:31:40 +02:00
Ahmet Inan
1aa398c285 added Theil-Sen estimator 2021-03-29 11:19:16 +02:00
Ahmet Inan
8f13d86377 relax test for files with garbage at end 2020-11-03 17:18:24 +01:00
Ahmet Inan
f43b438d63 added least mean squares filter implementations 2020-10-23 11:51:20 +02:00
Ahmet Inan
80894d7207 use Delay in MovExt while avoiding code duplication 2020-10-15 22:30:29 +02:00
Ahmet Inan
b2af3feebd use Stack for MovExt too 2020-10-14 15:05:22 +02:00
Ahmet Inan
98220dc04f use the much faster Stack 2020-10-13 17:12:45 +02:00
Ahmet Inan
77307d70f5 added fixed-size stack implementation 2020-10-13 17:10:59 +02:00
Ahmet Inan
1ae40ccf3b use simple Delay for the window 2020-10-13 16:23:54 +02:00
Ahmet Inan
b934d9fe4e initialize buffer optionally with provided value 2020-10-13 15:49:58 +02:00
Ahmet Inan
4de8fe9af1 removed system includes 2020-10-13 10:47:14 +02:00
Ahmet Inan
ad9407c66e use the std wrappers 2020-10-13 10:26:26 +02:00
Ahmet Inan
0b8fa61da7 added MovExt to avoid code duplication 2020-10-13 08:38:22 +02:00
Ahmet Inan
52d2a5b0f4 added amortized O(1) moving extrema 2020-10-12 23:12:33 +02:00
Ahmet Inan
5824421c73 added clear() 2020-10-11 13:08:15 +02:00
Ahmet Inan
fde7c654b6 added ring buffer based double-ended queue 2020-10-11 10:48:26 +02:00
Ahmet Inan
18a72daa4c initialize buffer with provided neutral element 2020-10-10 23:30:17 +02:00
Ahmet Inan
0ccdcfd979 use Delay 2020-10-09 16:46:18 +02:00
Ahmet Inan
b643eade0d added sliding window accelerator 2020-10-09 16:46:13 +02:00
Ahmet Inan
2509f5293a use double to avoid numerical issues on large arrays 2020-05-19 16:28:03 +02:00
Ahmet Inan
e2eefcb98b need coeffs computed for the input, not output array .. 2020-05-19 16:25:25 +02:00
Ahmet Inan
c77a4a2c54 compute recip from ratio to solve numerical issues 2020-05-19 13:21:43 +02:00
Ahmet Inan
65925d53a3 added reset() 2020-04-30 19:55:52 +02:00
Ahmet Inan
4b698d51c7 added const 2020-04-29 16:01:09 +02:00
Ahmet Inan
87eb83eef0 added reader and writer for Netpbm P5 and P6 files 2020-04-29 14:22:43 +02:00
Ahmet Inan
3242f2dee8 added const to input 2020-04-27 20:18:00 +02:00
Ahmet Inan
05ea242ae3 added support for equidistant x 2020-04-25 00:07:56 +02:00
Ahmet Inan
c188371411 added support for disabling normalization 2020-04-24 10:16:09 +02:00
Ahmet Inan
707f6539de added support to change thresholds independently 2020-04-23 00:27:14 +02:00
Ahmet Inan
27e8a40e1b added digital delay line 2020-04-23 00:27:14 +02:00
Ahmet Inan
10a8fc6867 added bip buffer 2020-04-23 00:27:06 +02:00
Ahmet Inan
2de77865c1 added SMA3 and SMA4
Pairwise reduction accelerator idea lifted from:
https://github.com/xdsopl/sma/blob/master/pairwise.hh
2020-04-09 15:22:25 +02:00
Ahmet Inan
af64c37b9c added VALUE template parameter 2020-03-26 19:47:19 +01:00
Ahmet Inan
61a611e33c get stride from channel count per default 2020-03-24 08:32:19 +01:00
Ahmet Inan
2e5910bebc set history to zero 2020-03-16 17:57:50 +01:00
Ahmet Inan
6528c1581d added polar() 2020-03-16 13:59:04 +01:00
Ahmet Inan
20515208f3 added freq() to Phasor 2020-03-15 16:19:36 +01:00
Ahmet Inan
fcffc56acc swapped ratio and recip to match new resampler 2020-03-15 11:52:10 +01:00
Ahmet Inan
db805aff47 added streaming resampler 2020-03-15 11:48:11 +01:00
Ahmet Inan
b857753ddf added discrete Hilbert transform 2020-03-12 10:09:06 +01:00
Ahmet Inan
999ee7d2be check if TAPS-1 is divisible by four 2020-03-11 23:35:01 +01:00
Ahmet Inan
58fe117116 expose number of bits 2020-03-11 13:24:05 +01:00