gslr 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/gslr/version.rb +1 -1
- data/lib/gslr.rb +11 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '096a21638b7b984b6a1942d0f9858d5835c3ea10eb1cb84d9128b793dc9e5447'
|
4
|
+
data.tar.gz: 2119c1dec30f2ed1c3013c630091268ba3053fd54c104acff98db11570f062d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f6c34852bd83eb6a195958c330afdd781d59b0939a53a9bd41e6ed5fdd8b22a713765b94d3841b6e3d9949df4629161c75e79b24a426da364e7ceca8129c536
|
7
|
+
data.tar.gz: 36e9336ce4ff03cf60da3268fc9a4c6237e2227ba9878ea411ca0f6fea57dbc8648dfa6efa20c0655c6069a8d3c9c79a1394cc23d05b681f71be1dd8c66af264
|
data/CHANGELOG.md
CHANGED
data/lib/gslr/version.rb
CHANGED
data/lib/gslr.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
require "fiddle/import"
|
3
3
|
|
4
4
|
# modules
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
require_relative "gslr/model"
|
6
|
+
require_relative "gslr/ols"
|
7
|
+
require_relative "gslr/ridge"
|
8
|
+
require_relative "gslr/version"
|
9
9
|
|
10
10
|
module GSLR
|
11
11
|
class Error < StandardError; end
|
@@ -18,8 +18,13 @@ module GSLR
|
|
18
18
|
if Gem.win_platform?
|
19
19
|
["gsl.dll"]
|
20
20
|
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
|
21
|
-
|
22
|
-
|
21
|
+
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
22
|
+
self.cblas_lib = ["libgslcblas.dylib", "/opt/homebrew/lib/libgslcblas.dylib"]
|
23
|
+
["libgsl.dylib", "/opt/homebrew/lib/libgsl.dylib"]
|
24
|
+
else
|
25
|
+
self.cblas_lib = ["libgslcblas.dylib"]
|
26
|
+
["libgsl.dylib"]
|
27
|
+
end
|
23
28
|
else
|
24
29
|
self.cblas_lib = ["libgslcblas.so"]
|
25
30
|
["libgsl.so"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gslr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: andrew@ankane.org
|
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0'
|
47
47
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
48
|
+
rubygems_version: 3.4.10
|
49
49
|
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: High performance linear regression for Ruby, powered by GSL
|