Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
(this calculates n choose k). This used to work as expected, but at some point it stopped working, and defining this function gives the error message
Unable to invert: Function 'nCr'
This error does not happen if I define the function as being named f instead of nCr. Moreover, function definitions like foo(x) = x^2 work as expected. How should I define the function nCr with that name?
This looks like a bug indeed. I'm able to reproduce it in the latest release but not in the latest commit, so it seems like it has been fixed!
By the way, there is actually already a nCr function available!
In my kalk config file I have defined a function
(this calculates
n choose k
). This used to work as expected, but at some point it stopped working, and defining this function gives the error messageThis error does not happen if I define the function as being named
f
instead ofnCr
. Moreover, function definitions likefoo(x) = x^2
work as expected. How should I define the functionnCr
with that name?