Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Algorithm for cancelling common factors between two lists of multiplicands

by ikegami (Patriarch)
on Aug 08, 2005 at 20:42 UTC ( [id://482024]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Math::BigInt ();
    
    ...
    
    @c = grep { $_ != 1 } @c;
    @d = grep { $_ != 1 } @d;
    
  2. or download this
    use Math::BigInt       ();
    use Math::Big::Factors ();
    ...
    
    @c = grep { $_ != 1 } @c;
    @d = grep { $_ != 1 } @d;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-16 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found