Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Subtraction by digit

by moklevat (Priest)
on Feb 11, 2008 at 15:18 UTC ( #667397=note: print w/ replies, xml ) Need Help??


in reply to Subtraction by digit

The A trivial PDL solution would be:

use strict; use warnings; use PDL; my $first = pdl qw/1 2 3 4 5 6/; my $second = pdl qw/2 9 8 4 7 6/; my $result = $first - $second; print "$result\n";


Comment on Re: Subtraction by digit
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2015-07-07 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls