可以在Ruby中进行微积分吗? [英] Is it possible to do calculus in Ruby?

查看:139
本文介绍了可以在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 Linear Algebra Library for Ruby/Numo::NArray
  • nmatrix Dense and sparse linear algebra library for Ruby via SciRuby
  • rb-gsl Ruby interface to the GNU Scientific Library
  • daru Data Analysis in Ruby
  • mathn Deprecated library that extends math operations
  • mathematical 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆