so it was clear there was still confusion.

No, no confusion, I have a clear mathematical concept!

But I don't know how to transport mathematical concepts in a board of perl hackers, thats why I simplified to "less" cartesian and quoted less!

Let me try:

Universal Algebra abstracts the concept of "Cartesian product" to direct product. (A vector space is just an example of "an algebra" or variety)

If an algebra is not a direct product but embeddable in a direct product it's a subdirect product. The dimension of an algebra is the number on non-irreducible factors.

E.g. the algebra (e.g. a graph or a lattice) representing the state machine for the cases of + and ++ is a subdirect product of the graph representing the cases of "+" multiplied with the rule "++ := +1". Subdirect because of the missing warning.

Sometimes exceptions will even force you to add an extra dimension, just to model this special case.

The algebra representing perl in total is a product of the algebras of it's features, the more it differs from a direct product (i.e. the non-embeddable parts missing from sub-direct products of higher dimensions) the "less cartesian" it is. There are different metrics possible to measure the distance between algebras, but breaks in symmetry are always increasing this distance.

So do you prefer this mathematical approach? :)

Cheers Rolf


In reply to Re^9: Numification of strings by LanX
in thread Numification of strings by LanX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.