Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How to save first two columns of an array into another array

by Anonymous Monk
on Oct 03, 2012 at 15:39 UTC ( #997079=note: print w/replies, xml ) Need Help??


in reply to Re: How to save first two columns of an array into another array
in thread How to save first two columns of an array into another array

Hi guys, there's one more thing Im stuck with. Suppose I have these points=(a,b,c,d);

Then I want to find the set of triplets induced by these 4 vertices.

For example for above four points the induced triplets should be:
b c a a c d
Whereas for vertices=(d,e,a) there isn't any triplet in the data.
  • Comment on Re^2: How to save first two columns of an array into another array
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997079]
help
Chatterbox?
[dazz]: Hi I have grabbed an image from an IP camera with Image::Grab. I then want to pass that image object to a subroutine where I do a read-only test on the image with Image:Magick.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-03-27 07:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (317 votes). Check out past polls.