numo-linalg-alt 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 878a6945e58e2447673f33738b51bd5f10d61d0b4ac2237105a7f58b55da4ea3
4
- data.tar.gz: ff8d43ac0316864b8510271561b7dca0401350fc3028e822248e19d674e6eb68
3
+ metadata.gz: 2be058f70990035c731689a4784185d6eef5ce44f27269dac0069ab463837cf1
4
+ data.tar.gz: 395d611376e5b39da69ee641834d60386caa5903354afa5c2a6374ca7b4e12b2
5
5
  SHA512:
6
- metadata.gz: d7d31594b072954acc244dcc41fde1b7a0b3ae095d9b9b1c9ce5f1af8803c5826d0ff287c56ce4447c196aa9e60f80c8f382ae1bb930368509fb4355f073f549
7
- data.tar.gz: b319186e15031c6754497c8121d31aaa8454a690d828fdcc85bc67bbcf6c06595ca61cacbdd3e2867eb3731d076405d20d08ca044cae2e9649a6a3e936bcccf6
6
+ metadata.gz: 7d848848e62683dd518a043f941bb45c7f9d9b99d92943e08664c4fee6cff7fc8b3838a1aaeeed65bdd3cfb7218adfc085e3523f8e6d24f75d7f41e5cbebbc69
7
+ data.tar.gz: 3cb5325539e038a528e576532e2442fbc99da21031a20428051a4803e6f44d83f135d2c05e9abb2b844639a6378770f2ba80f5cf913f53014ba0834eaec70e15
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [[0.9.1](https://github.com/yoshoku/numo-linalg-alt/compare/v0.9.0...v0.9.1)] - 2026-04-26
2
+
3
+ - bump OpenBLAS from 0.3.30 to 0.3.33.
4
+ - add `ilaver` module function to Numo::Linalg::Lapack.
5
+
1
6
  ## [[0.9.0](https://github.com/yoshoku/numo-linalg-alt/compare/v0.8.0...v0.9.0)] - 2026-02-14
2
7
 
3
8
  - add `eigh_tridiagonal` and `eigvalsh_tridiagonal` module functions to Numo::Linalg.
@@ -71,8 +71,8 @@ if build_openblas
71
71
 
72
72
  VENDOR_DIR = File.expand_path("#{__dir__}/../../../vendor")
73
73
  LINALG_DIR = File.expand_path("#{__dir__}/../../../lib/numo/linalg")
74
- OPENBLAS_VER = '0.3.31'
75
- OPENBLAS_KEY = '05050271d9196f65bc4ac3a89c6a3b05'
74
+ OPENBLAS_VER = '0.3.33'
75
+ OPENBLAS_KEY = '96c5cd9013013faefc294bc57830c77d'
76
76
  OPENBLAS_URI = "https://github.com/OpenMathLib/OpenBLAS/archive/v#{OPENBLAS_VER}.tar.gz"
77
77
  OPENBLAS_TGZ = "#{VENDOR_DIR}/tmp/openblas.tgz"
78
78
 
@@ -202,6 +202,16 @@ static VALUE linalg_dot(VALUE self, VALUE a_, VALUE b_) {
202
202
  return ret;
203
203
  }
204
204
 
205
+ static VALUE linalg_lapack_ilaver(VALUE self) {
206
+ lapack_int vers_major;
207
+ lapack_int vers_minor;
208
+ lapack_int vers_patch;
209
+ LAPACKE_ilaver(&vers_major, &vers_minor, &vers_patch);
210
+ VALUE version_arr =
211
+ rb_ary_new3(3, INT2NUM(vers_major), INT2NUM(vers_minor), INT2NUM(vers_patch));
212
+ return version_arr;
213
+ }
214
+
205
215
  void Init_linalg(void) {
206
216
  rb_require("numo/narray");
207
217
 
@@ -256,6 +266,13 @@ void Init_linalg(void) {
256
266
  * Numo::Linalg::Blas.call(:gemv, a, b)
257
267
  */
258
268
  rb_define_singleton_method(rb_mLinalgBlas, "call", linalg_blas_call, -1);
269
+ /**
270
+ * Returns the version of LAPACKE used in background library.
271
+ *
272
+ * @overload ilaver() -> Array<Integer>
273
+ * @return [Array<Integer>] [major, minor, patch]
274
+ */
275
+ rb_define_module_function(rb_mLinalgLapack, "ilaver", linalg_lapack_ilaver, 0);
259
276
 
260
277
  define_linalg_blas_dot(rb_mLinalgBlas);
261
278
  define_linalg_blas_dot_sub(rb_mLinalgBlas);
@@ -5,6 +5,6 @@ module Numo
5
5
  # Numo::Linalg Alternative (numo-linalg-alt) is an alternative to Numo::Linalg.
6
6
  module Linalg
7
7
  # The version of numo-linalg-alt you install.
8
- VERSION = '0.9.0'
8
+ VERSION = '0.9.1'
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-linalg-alt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
@@ -165,7 +165,7 @@ metadata:
165
165
  homepage_uri: https://github.com/yoshoku/numo-linalg-alt
166
166
  source_code_uri: https://github.com/yoshoku/numo-linalg-alt
167
167
  changelog_uri: https://github.com/yoshoku/numo-linalg-alt/blob/main/CHANGELOG.md
168
- documentation_uri: https://gemdocs.org/gems/numo-linalg-alt/0.9.0/
168
+ documentation_uri: https://gemdocs.org/gems/numo-linalg-alt/0.9.1/
169
169
  rubygems_mfa_required: 'true'
170
170
  rdoc_options: []
171
171
  require_paths:
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 4.0.3
184
+ rubygems_version: 4.0.6
185
185
  specification_version: 4
186
186
  summary: Numo::Linalg Alternative (numo-linalg-alt) is an alternative to Numo::Linalg.
187
187
  test_files: []