newRPL  build 1255 released! [updated to 1299]

01262019, 04:55 PM
Post: #368




RE: newRPL  build 1089 released! [update:build 1158]
In the new version, 'X*X' now becomes 'X^2'. Whew! However, while 'X^2*X' becomes 'X^3', 'X*X^2' does not. If that's because you're using noncommutative multiplication, you needn't bother for that case  it takes quite a lot of warping and spindling of the multiplication operator before powers stop making sense. Even sedenions, for which multiplication isn't commutative, associative, or even alternative have welldefined powers which are the same from the left and from the right (or indeed, in any order with any set of parentheses). True, rectangular matrices don't have powers, but then those expressions would error in any case.
I'm also a little puzzled by the parity attribute. What is the difference between a number being 'known to be odd' and being 'known to be an odd integer'? Are there nonintegers for which parity is defined? I suppose you could define halfintegers (ie, '1/2', '3/2', '5/2' and so on) to be odd in some sense, but I've never run across it before. By the way, parity can be defined for complex numbers too  at least in the Gaussian integers. Anything divisible by '1+i' (which has a norm of 2) is even, all other Gaussian integers are odd. That works out to, "If the real and imaginary parts have the same parity, the complex number is even. If they have different parity, it's odd." For the real integers, that gives the usual parity, but in the Gaussian integers as a whole, you get a checkerboard pattern. Of course, there are many ways to define 'integers' in the complex plane, of which the Gaussian integers are only one. (Though the simplest.) 

« Next Oldest  Next Newest »

User(s) browsing this thread: