linear equation solving (ruby)

For general discussion related FlowStone
Post Reply
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

linear equation solving (ruby)

Post 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?
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: linear equation solving (ruby)

Post by Nubeat7 »

i dont know how to include libs,

but maybe trogs 2dArrayclass could help
viewtopic.php?f=2&t=1787&start=40
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: linear equation solving (ruby)

Post 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.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: linear equation solving (ruby)

Post 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
Post Reply