Display a linear combination: Difference between revisions

m
→‎{{header|Perl 6}}: forgot to remove a line
(Perl 6 solution)
m (→‎{{header|Perl 6}}: forgot to remove a line)
Line 26:
 
=={{header|Perl 6}}==
<lang perl6>mysub linear-combination(@examples =coeff) {
 
sub linear-combination(@coeff) {
my @terms = @coeff Z=> map { "e($_)" }, 1 .. *;
 
1,934

edits