#14 Commercial Macsyma matrix entry

None
wont-fix
nobody
matrix (1)
2
2017-10-03
2003-05-18
Cliff Yapp
No

The commercial Macsyma apparently allows for the
following matrix entry notation:

> mat: [a, b, c; d, e, f];
> works in Macsyma and genrates this error:
>
> at: [a, b, c;
> ^
> (C1) Incorrect syntax: Too many ]'s
> d, e, f]
> ^
> (C1) Incorrect syntax: Premature termination of input
at ;.
> ;
> ^

Clearly this involves an update to the Maxima parser,
and probably the Matrix code as well.

Discussion

  • Robert Dodier

    Robert Dodier - 2005-04-11

    Logged In: YES
    user_id=501686

    It might be pretty hard to reproduce the syntax verbatim
    since the semicolon plays a special role. But maybe
    something like this?

    (%i1) "`" ([L]) := apply (matrix, L);
    (%o1) `([L]) := apply(matrix, L)
    (%i2) nary ("`");
    (%o2) "`"
    (%i3) [a, b] ` [c, d] ` [d, e];
    [ a b ]
    [ ]
    (%o3) [ c d ]
    [ ]
    [ d e ]

    I kind of like this.

     
  • Robert Dodier

    Robert Dodier - 2006-03-27

    Logged In: YES
    user_id=501686

    changing data type to feature request (instead of bug).

     
  • Robert Dodier

    Robert Dodier - 2006-03-27
    • labels: 460522 -->
     
  • Robert Dodier

    Robert Dodier - 2017-10-03
    • labels: --> matrix
    • status: open --> wont-fix
    • Group: -->
     
  • Robert Dodier

    Robert Dodier - 2017-10-03

    Since this is a minor convenience, I think it's reasonable to think we don't need this and won't do it in the future, therefore I'm marking it as "won't fix".

     

Log in to post a comment.