使用Ruby进行科学编程 [英] Scientific Programming with Ruby
问题描述
由于使用了非常好的函数和库,因此我正在使用python或octave进行数学计算.但是最近我对ruby产生了兴趣,我想知道Ruby中是否有与Python相对应的用于科学编程的numpy,scipy.具体来说,我正在寻找可以像在matplotlib中那样绘制图并可以像在numpy和scipy中一样快速进行数学,代数计算的东西.
I was doing the mathematical calculations with python or octave because of availability of really nice functions and libraries at hand. But recently I gained interest in ruby and I wonder if there is an equivalent in Ruby to the numpy, scipy in Python for scientific programming. Specifically, I'm looking something that I can draw plots as in matplotlib and do mathematical, algebraic calculations quickly as in numpy and scipy.
推荐答案
线性代数是大多数大规模科学计算的核心. LAPACK是线性代数库的黄金标准,最早是用FORTRAN编写的.
Linear algebra is at the heart of most large-scale scientific computing. LAPACK is the gold standard for linear algebra libraries, first written in FORTRAN.
在此处处有一个到Ruby的端口.一旦有了,其余的都是偶然的,但是在Ruby中也有绘图例程.
There's a port to Ruby here. Once you have that, the rest is incidental, but there are also plotting routines in Ruby.
这篇关于使用Ruby进行科学编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!