Ruby module LINALG 0.32 for linear algebra

zhaozj2021-02-16  53

(From Ruby-Talk)

[Ann] Linalg-0.3.2 - Ruby Linear Algebra Library http://linalg.rubyforge.org/ http://rubyforge.org/frs/?group_id=273 ------------ -----> From the README: Major features: * Cholesky decomposition * LU decomposition * QR decomposition * Schur decomposition * Singular value decomposition * Eigenvalues ​​and eigenvectors of a general matrix * Minimization by least squares * Linear equation solving * Stand-alone LAPACK BINDINGS: CALL ANY LAPACK ROUTINE from Directly from Ruby. ----------------- Release Notes: Initial Release. There Are no dependendencies for the pre-build packages - linaAlg-0.3 .2-i686-linux-ruby18.tgz tinalg-0.3.2-i386-mswin32-ruby18.zip to build from Source, you need: LAPACK, BLAS, LIBF2C. Your Os Should Have Ssese Packages Available In Binary Form. If Not NOT , you will need a Fortran compiler. (The pre-builts statically link these packages, thus no dependencies.) The pre-built win32 linalg is somewhat incompatible with the 1.8.1 Ruby One-Click Installer, as are all extensions not BUILT WITH VISUAL Studio .NET. (i say "homewhat" Because IT Probably Won "

T Crash for Light Use, but no guarance at http://www.dm4Lab.to/~usa/ruby/index_en.html there is a new test 1.8.2 one -Click Installer Which Seems To Work (It Reverts Back to the Common Win32 Compatible Runtime): http://rubyforge.org/frs/download.php/852/ruby182-14-test.zip -------- --------- linalg is a by-product of my academic work with crystallographic space groups. A good deal of linear algebra functionality from Mathematica and Matlab can be found in linalg, with equal or greater speed insofar as per- matrix function calls. It started when I was too lazy to move from ruby ​​back to Mathematica, and too lazy to set up Mathlink or some such. What I was doing was not particularly suited to Mathematica either, minus the linear algebra part, which among Other Things Was Communicating with Two Other Processes, a little networking, and spitting out latex output. it was nice to be free of much mathematica as well. i Have Pounded On this package Pret . Ty thoroughly in real-life applications, so I do not expect many serious bugs, if at all This kind of package is very amenable to unit testing as well I realize linalg is mostly for specialized use;. Singular value decompositions are not the most urgent necessity for rubyists, I can assume But that is what I needed, so here it is Excerpt from the end of the README:.. Perhaps some day there will be a common library which all numerical ruby ​​packages may share Perhaps the basis will. BUT for now, Linalg Exists Because The LaPack Routines Were, I Needed Them, And It Was Easy To Call Them. I '

转载请注明原文地址:https://www.9cbs.com/read-19017.html

New Post(0)