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

Re^2: Fast Way to find one array in second array

by hippo (Bishop)
on Aug 15, 2016 at 08:25 UTC ( [id://1169789]=note: print w/replies, xml ) Need Help??


in reply to Re: Fast Way to find one array in second array (updated)
in thread Fast Way to find one array in second array

Let X < Y denote set X included in set Y.

This is called a subset and there is already a character used for it so you don't actually need to overload the < character. Even better, it is a named entity in HTML so even unicode-unfriendly sites can use it. The entity is called "sub" and here it is in use:

X ⊂ Y

If you use this to mean "X is a subset of Y" then the meaning should be clear to anyone familiar with set theory. HTH.

  • Comment on Re^2: Fast Way to find one array in second array

Replies are listed 'Best First'.
Re^3: Fast Way to find one array in second array
by BrowserUk (Patriarch) on Aug 15, 2016 at 09:15 UTC
    If you use this to mean "X is a subset of Y" then the meaning should be clear to anyone familiar with set theory.

    All of which will make his diatribe more 'correct' in certain circles but just as meaningless.

    Set theory is as much help to anyone implementing an efficient practical algorithm as Bernoulli principle is to someone constructing a model plane.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
Re^3: Fast Way to find one array in second array
by LanX (Saint) on Aug 15, 2016 at 11:30 UTC
    In mathematics it's common to redefine symbols if needed.

    Like when you can't easily access unicode characters ... :)

    There are also already other symbols in use for X° and X*

    edit

    Anyway < is the common symbol for the binary relation of posets ...

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-24 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found