80 |
| RoundToInt |
| RoundToInt |
81 |
| CeilToInt |
| CeilToInt |
82 |
| FloorToInt |
| FloorToInt |
83 |
|
| Strands of ty * StrandSets.t |
84 |
| StrandStatus of ty * StrandSets.t |
| StrandStatus of ty * StrandSets.t |
85 |
| Kernel of Kernel.t * int |
| Kernel of Kernel.t * int |
86 |
| Inside of ImageInfo.info * int |
| Inside of ImageInfo.info * int |
132 |
| resultArity RoundToInt = 1 |
| resultArity RoundToInt = 1 |
133 |
| resultArity CeilToInt = 1 |
| resultArity CeilToInt = 1 |
134 |
| resultArity FloorToInt = 1 |
| resultArity FloorToInt = 1 |
135 |
|
| resultArity (Strands _) = 1 |
136 |
| resultArity (StrandStatus _) = 1 |
| resultArity (StrandStatus _) = 1 |
137 |
| resultArity (Kernel _) = 1 |
| resultArity (Kernel _) = 1 |
138 |
| resultArity (Inside _) = 1 |
| resultArity (Inside _) = 1 |
184 |
| arity RoundToInt = 1 |
| arity RoundToInt = 1 |
185 |
| arity CeilToInt = 1 |
| arity CeilToInt = 1 |
186 |
| arity FloorToInt = 1 |
| arity FloorToInt = 1 |
187 |
|
| arity (Strands _) = 0 |
188 |
| arity (StrandStatus _) = 1 |
| arity (StrandStatus _) = 1 |
189 |
| arity (Kernel _) = 0 |
| arity (Kernel _) = 0 |
190 |
| arity (Inside _) = 2 |
| arity (Inside _) = 2 |
243 |
| same (RoundToInt, RoundToInt) = true |
| same (RoundToInt, RoundToInt) = true |
244 |
| same (CeilToInt, CeilToInt) = true |
| same (CeilToInt, CeilToInt) = true |
245 |
| same (FloorToInt, FloorToInt) = true |
| same (FloorToInt, FloorToInt) = true |
246 |
|
| same (Strands(a0,a1), Strands(b0,b1)) = samety(a0, b0) andalso StrandSets.same(a1, b1) |
247 |
| same (StrandStatus(a0,a1), StrandStatus(b0,b1)) = samety(a0, b0) andalso StrandSets.same(a1, b1) |
| same (StrandStatus(a0,a1), StrandStatus(b0,b1)) = samety(a0, b0) andalso StrandSets.same(a1, b1) |
248 |
| same (Kernel(a0,a1), Kernel(b0,b1)) = Kernel.same(a0, b0) andalso sameint(a1, b1) |
| same (Kernel(a0,a1), Kernel(b0,b1)) = Kernel.same(a0, b0) andalso sameint(a1, b1) |
249 |
| same (Inside(a0,a1), Inside(b0,b1)) = ImageInfo.same(a0, b0) andalso sameint(a1, b1) |
| same (Inside(a0,a1), Inside(b0,b1)) = ImageInfo.same(a0, b0) andalso sameint(a1, b1) |
296 |
| hash RoundToInt = 0w157 |
| hash RoundToInt = 0w157 |
297 |
| hash CeilToInt = 0w163 |
| hash CeilToInt = 0w163 |
298 |
| hash FloorToInt = 0w167 |
| hash FloorToInt = 0w167 |
299 |
| hash (StrandStatus(a0,a1)) = 0w173 + hashty a0 + StrandSets.hash a1 |
| hash (Strands(a0,a1)) = 0w173 + hashty a0 + StrandSets.hash a1 |
300 |
| hash (Kernel(a0,a1)) = 0w179 + Kernel.hash a0 + hashint a1 |
| hash (StrandStatus(a0,a1)) = 0w179 + hashty a0 + StrandSets.hash a1 |
301 |
| hash (Inside(a0,a1)) = 0w181 + ImageInfo.hash a0 + hashint a1 |
| hash (Kernel(a0,a1)) = 0w181 + Kernel.hash a0 + hashint a1 |
302 |
| hash (ImageDim(a0,a1)) = 0w191 + ImageInfo.hash a0 + hashint a1 |
| hash (Inside(a0,a1)) = 0w191 + ImageInfo.hash a0 + hashint a1 |
303 |
| hash (BorderCtlDefault(a0)) = 0w193 + ImageInfo.hash a0 |
| hash (ImageDim(a0,a1)) = 0w193 + ImageInfo.hash a0 + hashint a1 |
304 |
| hash (BorderCtlClamp(a0)) = 0w197 + ImageInfo.hash a0 |
| hash (BorderCtlDefault(a0)) = 0w197 + ImageInfo.hash a0 |
305 |
| hash (BorderCtlMirror(a0)) = 0w199 + ImageInfo.hash a0 |
| hash (BorderCtlClamp(a0)) = 0w199 + ImageInfo.hash a0 |
306 |
| hash (BorderCtlWrap(a0)) = 0w211 + ImageInfo.hash a0 |
| hash (BorderCtlMirror(a0)) = 0w211 + ImageInfo.hash a0 |
307 |
| hash (LoadSeq(a0,a1)) = 0w223 + hashty a0 + hashstring a1 |
| hash (BorderCtlWrap(a0)) = 0w223 + ImageInfo.hash a0 |
308 |
| hash (LoadImage(a0,a1)) = 0w227 + hashty a0 + hashstring a1 |
| hash (LoadSeq(a0,a1)) = 0w227 + hashty a0 + hashstring a1 |
309 |
| hash (Print(a0)) = 0w229 + hashtys a0 |
| hash (LoadImage(a0,a1)) = 0w229 + hashty a0 + hashstring a1 |
310 |
| hash (MathFn(a0)) = 0w233 + MathFns.hash a0 |
| hash (Print(a0)) = 0w233 + hashtys a0 |
311 |
|
| hash (MathFn(a0)) = 0w239 + MathFns.hash a0 |
312 |
|
|
313 |
fun toString IAdd = "IAdd" |
fun toString IAdd = "IAdd" |
314 |
| toString ISub = "ISub" |
| toString ISub = "ISub" |
348 |
| toString RoundToInt = "RoundToInt" |
| toString RoundToInt = "RoundToInt" |
349 |
| toString CeilToInt = "CeilToInt" |
| toString CeilToInt = "CeilToInt" |
350 |
| toString FloorToInt = "FloorToInt" |
| toString FloorToInt = "FloorToInt" |
351 |
|
| toString (Strands(a0,a1)) = concat["Strands<", tyToString a0, ",", StrandSets.toString a1, ">"] |
352 |
| toString (StrandStatus(a0,a1)) = concat["StrandStatus<", tyToString a0, ",", StrandSets.toString a1, ">"] |
| toString (StrandStatus(a0,a1)) = concat["StrandStatus<", tyToString a0, ",", StrandSets.toString a1, ">"] |
353 |
| toString (Kernel(a0,a1)) = concat["Kernel<", Kernel.toString a0, ",", intToString a1, ">"] |
| toString (Kernel(a0,a1)) = concat["Kernel<", Kernel.toString a0, ",", intToString a1, ">"] |
354 |
| toString (Inside(a0,a1)) = concat["Inside<", ImageInfo.toString a0, ",", intToString a1, ">"] |
| toString (Inside(a0,a1)) = concat["Inside<", ImageInfo.toString a0, ",", intToString a1, ">"] |