From: Christian Neukirchen Date: 2006-08-08T05:48:56+09:00 Subject: Re: Profiling Ruby Matrix operations "M. Edward (Ed) Borasky" writes: > This is the sort of code I'd *like* to write in pure Ruby, rather than > having to call a C library for efficiency. The matrix I generated is > quite ill-conditioned. It's quite possible that a "standard" floating > point numerical determinant or matrix inversion routine would choke on > it, while the combination of "matrix", "mathn" and "rational" I used > had no problem with it. In short, I'm willing to pay for rational > arithmetic and correct results, but not for an inefficient > interpreter. :) So if someone is going to rewrite Matrix in C, they > need to do the underlying arithmetic too. Tried NArray? -- Christian Neukirchen http://chneukirchen.org