We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d760889 commit 96dc498Copy full SHA for 96dc498
1 file changed
mathics/builtin/compilation.py
@@ -34,7 +34,7 @@ class Compile(Builtin):
34
: Duplicate parameter x found in {{x, _Real}, {x, _Integer}}.
35
= Compile[{{x, _Real}, {x, _Integer}}, Sin[x + y]]
36
#> cf = Compile[{{x, _Real}, {y, _Integer}}, Sin[x + z]]
37
- = CompiledFunction[{x, y}, Sin[x + z], -CompiledCode-]
+ = CompiledFunction[{x, y}, Sin[x + z], -PythonizedCode-]
38
#> cf = Compile[{{x, _Real}, {y, _Integer}}, Sin[x + y]]
39
= CompiledFunction[{x, y}, Sin[x + y], -CompiledCode-]
40
#> cf[1, 2]
@@ -53,7 +53,7 @@ class Compile(Builtin):
53
Loops and variable assignments are supported as python (not llvmlite)
54
functions
55
>> Compile[{{a, _Integer}, {b, _Integer}}, While[b != 0, {a, b} = {b, Mod[a, b]}]; a] (* GCD of a, b *)
56
- = CompiledFunction[{a, b}, a, -CompiledCode-]
+ = CompiledFunction[{a, b}, a, -PythonizedCode-]
57
'''
58
59
requires = (
0 commit comments