NMatrix compatibility with rb-gsl

28 views
Skip to first unread message

Sameer Deshmukh

unread,
Jan 3, 2016, 2:53:04 AM1/3/16
to SciRuby Development

Hello,

So here's my plan for full nmatrix compatibility of GSL:

  • In every test file that is currently housed in the test/gsl folder, write an additional function or set of functions that will take an NMatrix as input and return an NMatrix as output for whatever functions are being tested in the file. Something similar to this NArray test that is already present.
  • These tests will only be written for functions that actually compute something, and for conversion between GSL and NMatrix data types (for example, from GSL::Matrix to NMatrix).
  • Once the tests have been written, I will start modifying the code so that the tests pass.
  • When all the tests are passing, I will begin with fixing bugs relating to working with different GSL versions.
  • Support for 1.15 will be dropped, and rb-gsl will support GSL 2.1 and 1.16 once the whole project is over.
  • For accomplishing backwards compatibility with different GSL versions, guards will be placed in the C code.

Here's the github link for this issue - https://github.com/SciRuby/rb-gsl/issues/23


Eager to hear your thoughts on this.

John Woods

unread,
Jan 20, 2016, 9:45:18 AM1/20/16
to SciRuby Development
I think this sounds great.

--
You received this message because you are subscribed to the Google Groups "SciRuby Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sciruby-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages