ronkok / Hurmet

Rich text editor on the web, featuring live calculations.
https://hurmet.org/
150 stars 2 forks source link

Empty Matrix/Vector #14

Closed swopnil123 closed 7 months ago

swopnil123 commented 7 months ago

Is there a way to create an empty matrix or vector? It would be helpful in the code blocks inside a function to append new elements and return empty if the condition is not met.

image

swopnil123 commented 7 months ago

Also append is not working with row vector. But seems to work with column vector

image

swopnil123 commented 7 months ago

Issue is solved.

To create a row vector insert new values by hitting tab not comma. To create an empty vector, don't forget to write =? after [ ]. It will render as [] and works fine.