LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need to define arithmetic functions and evaluate with different values (http://www.linuxquestions.org/questions/linux-software-2/need-to-define-arithmetic-functions-and-evaluate-with-different-values-705128/)

david.karr 02-16-2009 01:35 PM

Need to define arithmetic functions and evaluate with different values
 
I have a need to be able to interactively enter different arithmetic functions that reference user-defined variables, and then interactively evaluate those functions with different values for those variables.

I didn't see a way to do this with gcalctool. It looks like qalculate might do this for me, but I can't figure out how it works. The docs for it are a little rough.

Randux 02-16-2009 02:12 PM

Sounds like LISP with Slime would be killer for this...APL would also be great but is NOT FUN without an APL keyboard.

david.karr 02-17-2009 11:19 AM

Yeah, that was pretty silly of me. I already had what I needed. Ordinary lisp interaction mode works fine. Good to write defuns again. :)


All times are GMT -5. The time now is 08:45 AM.