NewRPL: Complex Numbers in Cartesian Form r[x,y] , ...
|
03-18-2017, 07:24 PM
Post: #7
|
|||
|
|||
RE: NewRPL: Complex Numbers in Cartesian Form
(03-17-2017 04:08 PM)The Shadow Wrote: I've always been a little dubious of using parentheses for complex numbers. For one thing, ordered pairs have plenty of other uses, which don't necessarily multiply in the complex manner. (Or even multiply at all.) Actually, quaternions only have one challenge: make sure the CAS supports non-commutative multiplication. You can define rules (which you can apply whenever you need to simplify the expressions), for ij=k, k^2=-1, etc., that would be covered. But non-commutative multiplication is a challenge not only for quaternions, every time a variable in an expression contains a matrix or vector, how does the machine know that it's supposed to use non-commutative multiplication? For example the expression 'A*B+C' can be manipulated in many ways by a CAS, but the CAS has no way of knowing that A and B are matrices, so how do we tell the CAS: * If the variable is real (REALASSUME) * If the variable is complex * If the variable is a matrix It seems this property should be embedded somehow in the expression, to help solvers and the CAS make the right decisions. More and more to think... |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)