Re:Show HN: Blabr – Scientific Computing for the Web
by forgotmypassw on Friday October 30, 2015 @11:31PM
(#10481692)
That demo was really nice to watch! One thing though, why does the "output" textarea show a list of values for kxx, (the y = kxx line early in) however when you make the table that dynamically computes values (editable cells table), you get a numeric result? Am I missing something here?
[ Parent
| on HN ]
Re:Show HN: Blabr – Scientific Computing for the Web
by mvclark on Friday October 30, 2015 @11:49PM
(#10481725)
Thanks! By the way, if you click "Doc & Examples" (at bottom of blab), you'll see several of these dynamic demos under the "Demos" column.
For the main demo on the home page, the editable table returns a vector x containing the values of the editable column.
You could also have it return the computed values (kxx). Here's an example of how to do this: http://blabr.io/?70b9f256088478e4d861
Edit the first column (x) and you see both x and y (x*x) displayed in the computation eval box. Down arrow in the last cell extends the table. Backspace in an empty cell removes the row.
For more table examples, see links in http://blabr.io/?0a248098997a6f95635c.