Page 1 of 1

linear equation solving (ruby)

Posted: Mon Nov 11, 2013 12:38 pm
by KG_is_back
http://amaras-tech.co.uk/article/136/matrix%3A_A_Ruby_Standard_Library

How can this be done in ruby? I've copied and successfully loaded the matrix.rb but ruby still doesn't recognizes "inverse". Is there someone capable of implementing linear equation solving in ruby?

Re: linear equation solving (ruby)

Posted: Mon Nov 11, 2013 1:17 pm
by Nubeat7
i dont know how to include libs,

but maybe trogs 2dArrayclass could help
viewtopic.php?f=2&t=1787&start=40

Re: linear equation solving (ruby)

Posted: Mon Nov 11, 2013 1:47 pm
by KG_is_back
Unfortunately it doesn't help at all. Te problem is not getting the array in in right format. My problem is how to preform the calculation. I've tried to make the calculator in assembly, but it was too complex to make it work.

Re: linear equation solving (ruby)

Posted: Mon Nov 11, 2013 2:00 pm
by Nubeat7
i think an easy way of including external libraries is one of the missing things, you also need to provide the libraries when exporting it to exe (dont know if it works with vst?) but it would really be a big feature to include and use libraries in an easy way..

here is also a topic about..

viewtopic.php?f=2&t=941&start=90