Jump to content

Formal power series: Difference between revisions

m
→‎{{header|Perl 6}}: Comment edits.
m (→‎{{header|Perl 6}}: delete extra newlines)
m (→‎{{header|Perl 6}}: Comment edits.)
Line 1,166:
multi infix:</>(FPS $x, FPS $y) { $x * InvFPS.new(:x($y)) }
 
# an example forof a mixed-type operator:
multi infix:<->(Numeric $x, FPS $y) { ExplicitFPS.new(:coeffs($x, 0 xx *)) - $y }
 
Line 1,174:
$sin.realized = $cos.integrate;
 
# define tangent in terms of sine and cosine
my $tan = $sin / $cos;
 
57

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.