Menu

#40 MATLAB style matrices

closed
None
5
2002-06-09
2002-05-13
Anonymous
No

What about syntax:
[1 2 3:4 5 6:7 8 9]
instead of
matrix(3:3:1:2:3:4:5:6:7:8:9)
?
It's more readable and simpler!
I've written the code needed to do that, sent it to
the author but I got no answer... :-(

Ignazio Di Napoli
neclepsio@hotmail.com

Discussion

  • Ondrej Palkovsky

    Logged In: YES
    user_id=88611

    I got it, but I do not agree with the way the thing was
    implemented. The problem is that in the Palm notation the
    space can be part of a number. I will think about it though
    and I might add some better support though.

     
  • Nobody/Anonymous

    Logged In: NO

    You could simply change " " with "," :-)

     
  • Ondrej Palkovsky

    Logged In: YES
    user_id=88611

    Nope. The comma can be a part of the number too - look into
    preferences of the PalmOS , General and Format of the
    numbers - easycalc can support most of them. I will think
    about a way how to get it done, and I will hopefully find
    some...

     
  • Nobody/Anonymous

    Logged In: NO

    ";"?
    "$"?
    "|"?
    "!"?
    " ' "?
    ""?
    :-)

     
  • Ondrej Palkovsky

    Logged In: YES
    user_id=88611

    Ok, it is now implemented:
    [[1:2:3]:[4:5:6]:[7:8:9]]
    You may skip zeros by the end of every row, except the last
    one. E.g:
    [[1:2:3]:[1:2]]

     
  • Ondrej Palkovsky

    • assigned_to: nobody --> ondrap
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB