Rev 2097 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1528 | jag | 1 | /* |
2 | * sine.h |
||
2302 | jag | 3 | * DIN Is Noise is copyright (c) 2006-2025 Jagannathan Sampath |
1528 | jag | 4 | * For more information, please visit http://dinisnoise.org/ |
5 | */ |
||
6 | |||
7 | #ifndef __SINE |
||
8 | #define __SINE |
||
9 | |||
10 | #include <math.h> |
||
11 | #include "funktion.h" |
||
12 | |||
13 | struct sine : funktion { |
||
14 | float operator() (float a, float ea) { |
||
15 | return sin (a); |
||
16 | } |
||
17 | }; |
||
18 | |||
19 | #endif |
||
20 | |||
21 | |||
22 |