4 ms·
Several months ago, I was looking for something like this. Then I started using bc but wasn't enough for me then I thought why not Python? It has tons of math a
by harunurhan 11y ago
Several months ago, I was looking for something like this. Then I started using bc but wasn't enough for me then I thought why not Python? It has tons of math and statistics libraries/functions and easier than shell script with bc.
So I started using Python by simply typing Python and do my stuff. It is fast enough and super productive.
- bnegreve 11y agoFWIW, I use awk, which is POSIX standard $ awk 'BEGIN{print sqrt(2)+4;}'; 5.41421 bc is also standard but for some arbitrary reason I don't like it.
- acomjean 11y agoAnother option would be to use the language called "R". I'm fairly new to it but its pretty much a programming language for math. Lots of libraries. Great programmatic graphing capability (ggplot2). Easy to dump file data into it. In my lab a lot of biologists run there data with it. I think something like 80% of the graphs they publish are created in it. Better then excel in my opinion. R, and Rstudio is what I've been using.