Commit graph

33 commits

Author SHA1 Message Date
Ahmet Inan
e2def0f3c9 use default value 0 if arg to reset() is ommited 2018-07-29 08:32:22 +02:00
Ahmet Inan
b3bede5cea added operator with void args, just returning CRC 2018-07-29 08:11:14 +02:00
Ahmet Inan
2c9248f6f8 added check for CRC with example from README 2018-07-29 08:01:56 +02:00
Ahmet Inan
5eec31a61f need CRCs way to often 2018-07-28 21:13:53 +02:00
Ahmet Inan
6120bb163f added a divisor argument with default 1 to normalize() 2018-04-11 14:48:02 +02:00
Ahmet Inan
4332041e3e init variables using ITYPE 2018-03-29 08:57:36 +02:00
Ahmet Inan
d3cdb23fb2 simplified and made arrays one element shorter 2018-03-29 08:26:35 +02:00
Ahmet Inan
54ae4f735e added x0 and dx args to constructor 2018-03-28 19:48:42 +02:00
Ahmet Inan
9bd5546470 added Algorithm for computing Natural Cubic Splines
Modified algorithm from Wikipedia to work with integer x_i and x_i >= 0:
https://en.wikipedia.org/wiki/Spline_(mathematics)#Algorithm_for_computing_natural_cubic_splines
2018-03-28 16:29:46 +02:00
Ahmet Inan
6c1064ad37 test double and single float in Kahan summation 2018-03-16 08:13:49 +01:00
Ahmet Inan
37537e2f23 added skip() to PCM reader 2018-03-14 09:03:25 +01:00
Ahmet Inan
7e437b2fc9 added support for 24 and 32 bit signed PCM 2018-03-11 16:38:27 +01:00
Ahmet Inan
823b069f9b quick and dirty WAV reader 2018-03-11 13:47:50 +01:00
Ahmet Inan
d2770a9de2 specify bits instead of bytes 2018-03-11 08:26:44 +01:00
Ahmet Inan
52b16be64a added WAV file writer 2018-03-10 20:10:54 +01:00
Ahmet Inan
b08665e8d9 renamed Window to WinFunc and Taps to Window 2018-03-06 07:43:48 +01:00
Ahmet Inan
baa8d42a19 added normalize() to Taps 2018-03-05 17:53:02 +01:00
Ahmet Inan
375d8dea41 made window functions more flexible 2018-03-05 17:44:07 +01:00
Ahmet Inan
24594f93bb added Blackman window 2018-03-04 09:14:13 +01:00
Ahmet Inan
37f98dcf1c added FourPi() 2018-03-04 09:11:00 +01:00
Ahmet Inan
ef65f1630a use the new const.hh 2018-03-04 08:25:35 +01:00
Ahmet Inan
4e00849662 added const.hh for some constants 2018-03-04 08:23:57 +01:00
Ahmet Inan
2d4e1886c3 simplified i0() and added some LaTeX code 2018-03-03 19:49:56 +01:00
Ahmet Inan
7041b750af improved sentence about Kahan summation a bit 2018-03-03 12:51:42 +01:00
Ahmet Inan
d08fb02393 added list of window functions 2018-03-03 12:48:52 +01:00
Ahmet Inan
573f52a574 added Lanczos window 2018-03-03 12:37:30 +01:00
Ahmet Inan
f1f34d1123 return the sum earlier on convergence 2018-03-03 12:17:53 +01:00
Ahmet Inan
1a7d4d2dc1 added same() method to Kahan summation
same() returns true if added value doesn't change the low or high values
2018-03-03 12:14:22 +01:00
Ahmet Inan
c6de7e95e0 added Kaiser window 2018-03-03 10:11:20 +01:00
Ahmet Inan
c53e782b3c added rectangular window 2018-03-03 08:29:07 +01:00
Ahmet Inan
799c09a0fb added some window functions 2018-03-02 15:57:07 +01:00
Ahmet Inan
7770fff23c The Kahan summation is very handy 2018-03-02 14:26:30 +01:00
Ahmet Inan
826ee2b085 Initial commit 2018-03-02 14:04:46 +01:00