backport this one too
[mono.git] / mcs / class / System.Drawing / Test / DrawingTest / Exocortex.DSP / src / FourierDirection.cs
1 /*\r
2  * BSD Licence:\r
3  * Copyright (c) 2001, 2002 Ben Houston [ ben@exocortex.org ]\r
4  * Exocortex Technologies [ www.exocortex.org ]\r
5  * All rights reserved.\r
6  *\r
7  * Redistribution and use in source and binary forms, with or without \r
8  * modification, are permitted provided that the following conditions are met:\r
9  *\r
10  * 1. Redistributions of source code must retain the above copyright notice, \r
11  * this list of conditions and the following disclaimer.\r
12  * 2. Redistributions in binary form must reproduce the above copyright \r
13  * notice, this list of conditions and the following disclaimer in the \r
14  * documentation and/or other materials provided with the distribution.\r
15  * 3. Neither the name of the <ORGANIZATION> nor the names of its contributors\r
16  * may be used to endorse or promote products derived from this software\r
17  * without specific prior written permission.\r
18  *\r
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
20  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
21  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
22  * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR\r
23  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
24  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r
25  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r
26  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT \r
27  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r
28  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH\r
29  * DAMAGE.\r
30  */\r
31 \r
32 \r
33 using System;\r
34 \r
35 namespace Exocortex.DSP\r
36 {\r
37         // Comments? Questions? Bugs? Tell Ben Houston at ben@exocortex.org\r
38         // Version: May 4, 2002\r
39 \r
40         /// <summary>\r
41         /// <p>The direction of the fourier transform.</p>\r
42         /// </summary>\r
43         public enum FourierDirection : int {\r
44                 /// <summary>\r
45                 /// Forward direction.  Usually in reference to moving from temporal\r
46                 /// representation to frequency representation\r
47                 /// </summary>\r
48                 Forward = 1,\r
49                 /// <summary>\r
50                 /// Backward direction. Usually in reference to moving from frequency\r
51                 /// representation to temporal representation\r
52                 /// </summary>\r
53                 Backward = -1,\r
54         }\r
55 }\r