[go: up one dir, main page]

Menu

#32 Add an easy way to create an array in command line

Next_Release
open
nobody
None
2
2015-11-28
2015-04-21
No

For example to create an array in Calc we may type:
{1;2;3|4;5;6}

And the result will be:
1 2 3
4 5 6

I'm sure there is some standard syntax for separators of elements in rows and columns, which is better to be used, instead of "STACK{# ##}" etc.

Discussion

  • Jan Rheinlaender

    Hi zeon,

    I agree that STACK{} isn't the best way to write vectors, but really this is an Office problem, not an iMath problem. Meaning that we should patch the Office code instead of making an iMath workaround.

    BTW, you can specifiy vectors in iMath as {1;2;3} (which is not intentional, but a by-product of the iFormula parser).

    Jan

     
  • zeon_account_will_be_deleted

    Hi, Jan.

    That's why I requested to add a way to specify matrix as {1;2;3|4;5;6}. But since iMath can import/ export data from/ to tables, perhaps there is no need in this. (I haven't tested last beta yet)

    Matrix itself was not what I needed that time. I needed the table where I can input data and then use it in calculations.

    What about matrix. I think it's better to design new appropriate gui, that let us create any 2D matrix with any quantity of rows and columns. After you finish with VCL support. And we may leave STACK{} as is.

     

Anonymous
Anonymous

Add attachments
Cancel