Mercurial > hg > aim92
comparison stitch/funcs.h @ 0:5242703e91d3 tip
Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author | tomwalters |
---|---|
date | Fri, 20 May 2011 15:19:45 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5242703e91d3 |
---|---|
1 /* | |
2 Copyright (c) Applied Psychology Unit, Medical Research Council. 1988, 1989 | |
3 =========================================================================== | |
4 | |
5 Permission to use, copy, modify, and distribute this software without fee | |
6 is hereby granted for research purposes, provided that this copyright | |
7 notice appears in all copies and in all supporting documentation, and that | |
8 the software is not redistributed for any fee (except for a nominal shipping | |
9 charge). Anyone wanting to incorporate all or part of this software in a | |
10 commercial product must obtain a license from the Medical Research Council. | |
11 | |
12 The MRC makes no representations about the suitability of this | |
13 software for any purpose. It is provided "as is" without express or implied | |
14 warranty. | |
15 | |
16 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING | |
17 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE | |
18 A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY | |
19 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN | |
20 AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
21 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
22 */ | |
23 | |
24 /* | |
25 funcs.h | |
26 ======= | |
27 | |
28 | |
29 */ | |
30 | |
31 | |
32 extern DoubleSource LogarithmDoubleSource( _ONE_SOURCE ) ; | |
33 extern DoubleSource ExponentiateDoubleSource( _ONE_SOURCE ) ; | |
34 extern DoubleSource SineDoubleSource( _ONE_SOURCE ) ; | |
35 extern DoubleSource CosineDoubleSource( _ONE_SOURCE ) ; | |
36 extern DoubleSource SquareRootDoubleSource( _ONE_SOURCE ) ; | |
37 extern DoubleSource AbsoluteValueDoubleSource( _ONE_SOURCE ) ; | |
38 | |
39 extern ShortSource milliBellShortSource( _ONE_SOURCE ) ; | |
40 | |
41 | |
42 #define OscilatorDoubleSource( _frequency, _samplerate, _phase0 ) \ | |
43 oscilatorDoubleSource( _frequency, _samplerate, _phase0 ) | |
44 | |
45 extern DoubleSource oscilatorDoubleSource( _ONE_SOURCE_PLUS ) ; | |
46 | |
47 | |
48 #define CosinewaveDoubleSource( _frequency, _amplitude, _phase0 ) \ | |
49 cosinewaveDoubleSource( _frequency, _amplitude, _phase0 ) | |
50 | |
51 extern DoubleSource cosinewaveDoubleSource( _MANY_ARGS ) ; | |
52 | |
53 | |
54 #define SinewaveDoubleSource( _frequency, _amplitude, _phase0 ) \ | |
55 sinewaveDoubleSource( _frequency, _amplitude, _phase0 ) | |
56 | |
57 extern DoubleSource sinewaveDoubleSource( _MANY_ARGS ) ; | |
58 | |
59 | |
60 #define RaisedCosinewaveDoubleSource( _frequency, _amplitude, _phase0 ) \ | |
61 raisedCosinewaveDoubleSource( _frequency, _amplitude, _phase0 ) | |
62 | |
63 extern DoubleSource raisedCosinewaveDoubleSource( _MANY_ARGS ) ; | |
64 | |
65 | |
66 #define RaisedSinewaveDoubleSource( _frequency, _amplitude, _phase0 ) \ | |
67 raisedSinewaveDoubleSource( _frequency, _amplitude, _phase0 ) | |
68 | |
69 extern DoubleSource raisedSinewaveDoubleSource( _MANY_ARGS ) ; |