smartcalc icon indicating copy to clipboard operation
smartcalc copied to clipboard

Add functions or/and tables

Open Kedap opened this issue 2 years ago • 1 comments

I think it would be amazing if you could do things like:

myfancyfunction = f(x) -> x+1
myfancyfunction.start = 1
myfancyfunction.end = 5
myfancyfunction.step = 1

myfancyfunction

| x |      f(x)      |
----------------------
| 1 |       2        |
| 2 |       3        |
| 3 |       4        |
| 4 |       5        |
| 5 |       6        |

Kedap avatar Mar 10 '22 06:03 Kedap

It could be nice to have more functionality to define/use functions but we need to have a proper design for function call and definition. I am planning to add some predefined functions (like sin, avg, min, max so on.) Also, I would like to keep calculation syntax simple and easy for everyone.

erhanbaris avatar Mar 10 '22 15:03 erhanbaris