Is it possible to do calculus in Ruby? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this questionWhat I mean is differentiation and integration, stuff that a CAS would do? (like a Typical handheld CAS if not better.)
Is this possible? What gem(s) would I need to install? Does anyone have any experience with this?
Here are a few gems - in different states of development and completeness - that help increase the "mathing" power of Ruby:
numo-linalg
Linear Algebra Library for Ruby/Numo::NArraynmatrix
Dense and sparse linear algebra library for Ruby via SciRubyrb-gsl
Ruby interface to the GNU Scientific Librarydaru
Data Analysis in Rubymathn
Deprecated library that extends math operationsmathematical
Convert mathematical equations to SVGs, PNGs, or MathML
Unfortunately, Ruby as a language has mostly been used for rapid web application prototyping and development and NOT scientific analysis or data science. Thus, it's capabilities in this area - when compared to other languages such as a Python - are still somewhat lacking.
精彩评论