Rev 1713 | Rev 2009 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1528 | jag | 1 | /* |
2 | * cosine.h |
||
1857 | jag | 3 | * DIN Is Noise is copyright (c) 2006-2022 Jagannathan Sampath |
1713 | jag | 4 | * DIN Is Noise is released under GNU Public License 2.0 |
1528 | jag | 5 | * For more information, please visit https://dinisnoise.org/ |
6 | */ |
||
7 | |||
8 | #ifndef __COSINE |
||
9 | #define __COSINE |
||
10 | |||
11 | #include <math.h> |
||
12 | #include "funktion.h" |
||
13 | |||
14 | struct cosine : funktion { |
||
15 | float operator() (float a, float ea) { |
||
16 | return cos (a); |
||
17 | } |
||
18 | }; |
||
19 | |||
20 | #endif |
||
21 | |||
22 | |||
23 |