"y \= scalar" fails

John W. Eaton jwe at bevo.che.wisc.edu
Wed Mar 5 15:45:41 CST 2008


On  3-Mar-2008, John W. Eaton wrote:

| On  3-Mar-2008, Jaroslav Hajek wrote:
| 
| | OK, no problem. In my eyes, matrix \=  scalar is confusing. Perhaps
| | just because I've never seen it (because it does not work). Anyway, I
| | think such an extension would be easy to implement. I'd even volunteer
| | to do it if more people are interested.
| | Does anyone else share Rolf's opinion?
| 
| If you want M \ s (and presumably s / M) to work, then I think for

Another possibility is to fix the documentation and instead of saying
that x = M \ y is conceptually equivalent to x = inv (M) * y, we could
say that it solves the set of equations M * x = y for the unknonwn
vector X.  Stated that way, I don't see any particular justification
for special handling for scalar values of Y.

Comments?

jwe




More information about the Bug-octave mailing list