Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re: Re: TIMTOWTDI and other languages

by TheDamian (Priest)
on Apr 30, 2002 at 04:32 UTC ( #162994=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: TIMTOWTDI and other languages
in thread TIMTOWTDI and other languages

@intersection = @alphas =~ @betas;
Does anyone know if this will actually work?

I seriously doubt it. Larry has never even hinted that =~ will operate like that in a list context.

Of course, if superpositions do get in then this:

@intersection = eigenstates(any @alphas =~ any @betas);

would work.

And it's possible that the eigenstates operator is superfluous; that a superposition in a list context just yields its eigenstates automatically. In which case you only need this:

@intersection = any @alphas =~ any @betas;

Comment on Re: Re: Re: TIMTOWTDI and other languages
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-11-26 00:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls