home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / frasrc18.zip / FRACTYPE.H < prev    next >
C/C++ Source or Header  |  1993-03-28  |  6KB  |  210 lines

  1. #ifndef FRACTYPE_H
  2. #define FRACTYPE_H
  3.  
  4. #define SIN        0
  5. #define COS        1
  6. #define SINH        2
  7. #define COSH        3
  8. #define EXP        4
  9. #define LOG        5
  10. #define SQR        6
  11.  
  12. /* These MUST match the corresponding fractalspecific record in fractals.c */
  13. #define NOFRACTAL        -1
  14. #define MANDEL             0
  15. #define JULIA             1
  16. #define NEWTBASIN         2
  17. #define LAMBDA             3
  18. #define MANDELFP         4
  19. #define NEWTON             5
  20. #define JULIAFP          6
  21. #define PLASMA             7
  22. #define LAMBDASINE         8 /* obsolete */
  23. #define MANDELTRIGFP         8
  24. #define LAMBDACOS         9 /* obsolete */
  25. #define MANOWARFP         9
  26. #define LAMBDAEXP        10 /* obsolete */
  27. #define MANOWAR         10
  28. #define TEST            11
  29. #define SIERPINSKI        12
  30. #define BARNSLEYM1        13
  31. #define BARNSLEYJ1        14
  32. #define BARNSLEYM2        15
  33. #define BARNSLEYJ2        16
  34. #define MANDELSINE        17 /* obsolete */
  35. #define SQRTRIG         17
  36. #define MANDELCOS        18 /* obsolete */
  37. #define SQRTRIGFP        18
  38. #define MANDELEXP        19 /* obsolete */
  39. #define TRIGPLUSTRIG        19
  40. #define MANDELLAMBDA        20
  41. #define MARKSMANDEL        21
  42. #define MARKSJULIA        22
  43. #define UNITY            23
  44. #define MANDEL4         24
  45. #define JULIA4            25
  46. #define IFS            26
  47. #define IFS3D            27
  48. #define BARNSLEYM3        28
  49. #define BARNSLEYJ3        29
  50. #define DEMM            30 /* obsolete */
  51. #define TRIGSQR         30
  52. #define DEMJ            31 /* obsolete */
  53. #define TRIGSQRFP        31
  54. #define BIFURCATION        32
  55. #define MANDELSINH        33 /* obsolete */
  56. #define TRIGPLUSTRIGFP        33
  57. #define LAMBDASINH        34 /* obsolete */
  58. #define TRIGXTRIG        34
  59. #define MANDELCOSH        35 /* obsolete */
  60. #define TRIGXTRIGFP        35
  61. #define LAMBDACOSH        36 /* obsolete */
  62. #define SQR1OVERTRIG        36
  63. #define LMANDELSINE        37 /* obsolete */
  64. #define SQR1OVERTRIGFP        37
  65. #define LLAMBDASINE        38 /* obsolete */
  66. #define ZXTRIGPLUSZ        38
  67. #define LMANDELCOS        39 /* obsolete */
  68. #define ZXTRIGPLUSZFP        39
  69. #define LLAMBDACOS        40 /* obsolete */
  70. #define KAMFP            40
  71. #define LMANDELSINH        41 /* obsolete */
  72. #define KAM            41
  73. #define LLAMBDASINH        42 /* obsolete */
  74. #define KAM3DFP         42
  75. #define LMANDELCOSH        43 /* obsolete */
  76. #define KAM3D            43
  77. #define LLAMBDACOSH        44 /* obsolete */
  78. #define LAMBDATRIG        44
  79. #define LMANTRIGPLUSZSQRD    45
  80. #define LJULTRIGPLUSZSQRD    46
  81. #define FPMANTRIGPLUSZSQRD    47
  82. #define FPJULTRIGPLUSZSQRD    48
  83. #define LMANDELEXP        49 /* obsolete */
  84. #define LAMBDATRIGFP        49
  85. #define LLAMBDAEXP        50 /* obsolete */
  86. #define MANDELTRIG        50
  87. #define LMANDELZPOWER        51
  88. #define LJULIAZPOWER        52
  89. #define FPMANDELZPOWER        53
  90. #define FPJULIAZPOWER        54
  91. #define FPMANZTOZPLUSZPWR    55
  92. #define FPJULZTOZPLUSZPWR    56
  93. #define LMANTRIGPLUSEXP     57
  94. #define LJULTRIGPLUSEXP     58
  95. #define FPMANTRIGPLUSEXP    59
  96. #define FPJULTRIGPLUSEXP    60
  97. #define FPPOPCORN        61
  98. #define LPOPCORN        62
  99. #define FPLORENZ        63
  100. #define LLORENZ         64
  101. #define LLORENZ3D        65
  102. #define MPNEWTON        66
  103. #define MPNEWTBASIN        67
  104. #define COMPLEXNEWTON        68
  105. #define COMPLEXBASIN        69
  106. #define COMPLEXMARKSMAND    70
  107. #define COMPLEXMARKSJUL     71
  108. #define FORMULA         72
  109. #define FFORMULA        73
  110. #define SIERPINSKIFP        74
  111. #define LAMBDAFP        75
  112. #define BARNSLEYM1FP        76
  113. #define BARNSLEYJ1FP        77
  114. #define BARNSLEYM2FP        78
  115. #define BARNSLEYJ2FP        79
  116. #define BARNSLEYM3FP        80
  117. #define BARNSLEYJ3FP        81
  118. #define MANDELLAMBDAFP        82
  119. #define JULIBROT        83
  120. #define FPLORENZ3D        84
  121. #define LROSSLER        85
  122. #define FPROSSLER        86
  123. #define LHENON            87
  124. #define FPHENON         88
  125. #define FPPICKOVER        89
  126. #define FPGINGERBREAD        90
  127. #define DIFFUSION        91
  128. #define UNITYFP         92
  129. #define SPIDERFP        93
  130. #define SPIDER            94
  131. #define TETRATEFP        95
  132. #define MAGNET1M        96
  133. #define MAGNET1J        97
  134. #define MAGNET2M        98
  135. #define MAGNET2J        99
  136. #define LBIFURCATION           100
  137. #define LBIFLAMBDA           101
  138. #define BIFLAMBDA           102
  139. #define BIFADSINPI           103
  140. #define BIFEQSINPI           104
  141. #define FPPOPCORNJUL           105
  142. #define LPOPCORNJUL           106
  143. #define LSYSTEM            107
  144. #define MANOWARJFP           108
  145. #define MANOWARJ           109
  146. #define FNPLUSFNPIXFP           110
  147. #define FNPLUSFNPIXLONG        111
  148. #define MARKSMANDELPWRFP       112
  149. #define MARKSMANDELPWR           113
  150. #define TIMSERRORFP           114
  151. #define TIMSERROR           115
  152. #define LBIFEQSINPI           116
  153. #define LBIFADSINPI           117
  154. #define BIFSTEWART             118
  155. #define LBIFSTEWART            119
  156. #define FPHOPALONG             120
  157. #define FPCIRCLE               121
  158. #define FPMARTIN               122
  159. #define LYAPUNOV               123
  160. #define FPLORENZ3D1            124
  161. #define FPLORENZ3D3            125
  162. #define FPLORENZ3D4            126
  163. #define LLAMBDAFNFN            127
  164. #define FPLAMBDAFNFN           128
  165. #define LJULFNFN               129
  166. #define FPJULFNFN              130
  167. #define LMANLAMFNFN            131
  168. #define FPMANLAMFNFN           132
  169. #define LMANFNFN               133
  170. #define FPMANFNFN              134
  171. #define LBIFMAY                135
  172. #define BIFMAY                 136
  173. #define MPHALLEY               137
  174. #define HALLEY                 138
  175. #define DYNAMICFP              139
  176. #define QUATFP                 140
  177. #define QUATJULFP              141
  178. #define CELLULAR               142
  179. #define JULIBROTFP             143
  180. #define INVERSEJULIA           144
  181. #define INVERSEJULIAFP         145
  182. #define MANDELCLOUD            146
  183. #define PHOENIX                147
  184. #define PHOENIXFP              148
  185. #define MANDPHOENIX            149
  186. #define MANDPHOENIXFP          150
  187. #define HYPERCMPLXFP           151    
  188. #define HYPERCMPLXJFP           152
  189. #define FROTH                  153
  190. #define FROTHFP                154
  191. #define MANDEL4FP              155
  192. #define JULIA4FP               156
  193. #define MARKSMANDELFP          157
  194. #define MARKSJULIAFP           158
  195. #define ICON                   159
  196. #define ICON3D                 160
  197.  
  198. /* demonstration Mandelbrot and Julia fractals
  199.  
  200. #define DEMOWALK            161
  201. #define DEMOMANDEL          160
  202. #define DEMOJULIA           161
  203. #define DEMOMANDELFP        162
  204. #define DEMOJULIAFP         163
  205.  
  206. */
  207.  
  208.  
  209. #endif
  210.