Polynomial long division: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: online tag) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 4,007: | Line 4,007: | ||
===Version 1=== |
===Version 1=== |
||
{{libheader|Wren-dynamic}} |
{{libheader|Wren-dynamic}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./dynamic" for Tuple |
||
var Solution = Tuple.create("Solution", ["quotient", "remainder"]) |
var Solution = Tuple.create("Solution", ["quotient", "remainder"]) |
||
Line 4,106: | Line 4,106: | ||
===Version 2=== |
===Version 2=== |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">class Polynom { |
||
construct new(factors) { |
construct new(factors) { |
||
_factors = factors.toList |
_factors = factors.toList |