Scientific Programming with Ruby

前端 未结 3 1853
忘了有多久
忘了有多久 2020-12-30 11:23

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 rub

3条回答
  •  误落风尘
    2020-12-30 12:15

    SciRuby is working on this. NMatrix and Statsample are probably the most useful SciRuby gems for linear algebra and statistics, respectively, though you might also find these useful: distribution, minimization, and integration.

    As far as visualization and plotting goes, check out Rubyvis (a Ruby port of Protovis). Nyaplot is also coming along nicely.

    If you need something more stable than NMatrix, there's always NArray.

    I'm also surprised no one has mentioned Ruby/GSL. There's also a fork which supports NMatrix over in the SciRuby github account.

    Full disclosure: I'm an admin for SciRuby, but I don't make any money off of it. =)

提交回复
热议问题