rb-gsl
rb-gsl copied to clipboard
Ruby interface to the GNU Scientific Library
#66 was merged a few months ago adding Ruby 3 compatibility, but it's not available in [rubygems](https://rubygems.org/gems/gsl). Can you publish a new release? Thanks!
``` /usr/bin/clang -I. -I/opt/local/include/ruby-3.3.0/arm64-darwin23 -I/opt/local/include/ruby-3.3.0/ruby/backward -I/opt/local/include/ruby-3.3.0 -I. -DGSL_VERSION=2.7.1 -DGSL_1_15_LATER -DGSL_1_15_LATER -DGSL_1_16_LATER -DGSL_2_0_LATER -DGSL_2_1_LATER -DHAVE_ROUND -DHAVE_GSL_EIGEN_FRANCIS -DHAVE_GNU_GRAPH -DHAVE_GSL_SF_MATHIEU_A_E -DHAVE_GSL_SF_MATHIEU_B_E -DHAVE_GSL_SF_MATHIEU_CE_E -DHAVE_GSL_SF_MATHIEU_SE_E -DHAVE_GSL_SF_MATHIEU_MC_E -DHAVE_GSL_SF_MATHIEU_MS_E -I./.gem.20240405-74113-3sf0ok/arm64-darwin23 -I/opt/local/include -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT...
Clang 16 makes `-Wincompatible-function-pointer-types` an error by default. rb-gsl hits the following failure when building with Clang 16: ``` [...] blas2.c:1084:3: error: incompatible function pointer types passing 'VALUE (VALUE, VALUE,...
Since the last update appears to be in 2017, and it only claims support for gsl 2.1 in the README (with the latest version seeming to be v2.6), i'm wondering...
I've tried to get this gem working for ruby 3.0; unfortunately, it seems that some major changes to ruby under the hood make this a rather complex problem. A few...
Hi, I have this small test (test_interp.rb) of the Interp function: require "gsl" x=[0,1,2,3,4].to_gv y=[0,1,2,3,4].to_gv x_new = [3.5].to_gv puts "x: #{x.inspect}" puts "y: #{y.inspect}" puts "x_new: #{x_new.inspect}" i=GSL::Interp.alloc("linear",x.length) y_new =...
I installed the gem, and tried it out but I got this error: ```LoadError: /home/eli/.gem/ruby/2.4.0/gems/gsl-2.1.0.3/lib/gsl_native.so: undefined symbol: gsl_sf_legendre_array_size - /home/eli/.gem/ruby/2.4.0/gems/gsl-2.1.0.3/lib/gsl_native.so from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/eli/.gem/ruby/2.4.0/gems/gsl-2.1.0.3/lib/gsl.rb:11:in `' from...
It looks like 2.1.0.3 got released, but never got tagged. Could someone tag it? It appears to be commit 6f2011ecd57af6f715d3623ac0758e1a57d87edf
I am frequently seeing a segmentation fault during iteration of the nelder-mead algorithm: ``` app/services/g_amoeba.rb:47: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-darwin17] -- Crash Report log...