可以在Ruby中进行微积分吗? [英] Is it possible to do calculus in Ruby?
问题描述
我的意思是区分和整合,CAS会做的事情? (如果不是更好的话,就像典型的手持式CAS).
What 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?
推荐答案
以下是一些处于发展和完善状态的宝石-帮助提高Ruby的强大"能力:
Here are a few gems - in different states of development and completeness - that help increase the "mathing" power of Ruby:
-
numo-linalg
Ruby的线性代数库/Numo :: NArray -
nmatrix
通过Ruby的密集稀疏线性代数库SciRuby - >
rb-gsl
GNU科学库的Ruby接口 -
daru
Ruby中的数据分析 -
mathn
已弃用的扩展数学运算的库 -
mathematical
将数学方程式转换为SVG,PNG或MathML
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
不幸的是,Ruby作为一种语言已被广泛用于快速的Web应用程序原型设计和开发以及 NOT 科学分析或数据科学.因此,与Python之类的其他语言相比,它在这一领域的功能仍然有所欠缺.
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.
这篇关于可以在Ruby中进行微积分吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!