randsvd 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6a549a51ab2ed25c96e636f86cc5cc42cb628ce2addb14f42d5e894c406bdd0
4
- data.tar.gz: a1e42f0d9017b323b92d9b59468a37d5ce76508ab7de24e661f0dc062ab9b32f
3
+ metadata.gz: e97aecf0bfe7acbec28459c5964d49d132862b572aec6ffceb6d70336932b430
4
+ data.tar.gz: 653795fe0f7865a8508d9e9f6dab9f15bb4d1d2ae7ca2ccccd909a2b16e3b1fb
5
5
  SHA512:
6
- metadata.gz: f53887728067b34dca5bd60fda4149902882bc2131e488186b2d16b468cd30f59d3d9ada48810b692858b726284035ebfa6e7737b25b7630242e0e6d34e10f73
7
- data.tar.gz: 33114840169f5029d68f0ce7db578f812e8536c680848dbb4d9b0c32e51dbb3d43f2c3bcc8fbf97c393737191ee246fd0811187a4e693b9ec10933e71393f349
6
+ metadata.gz: 9231e3597942c6c8335596b3e21ec248a2f2d3c7e46802885b480bcd7a77e89446500e2f4e2a69ac2cbcef2cead8d0708940f0fe67f5b8852445cc2f53420603
7
+ data.tar.gz: 4bcea6ab455eba44d15055adf9167fad8ae2a7cd8436049e1f42735047e7eed822f949446707e4d693ecdd9efc319e9cd8f75536ff2295fd45684fc730395ad1
@@ -14,9 +14,10 @@ jobs:
14
14
  - name: Install BLAS and LAPACK
15
15
  run: sudo apt-get install -y libopenblas-dev libatlas-base-dev liblapacke-dev
16
16
  - name: Set up Ruby ${{ matrix.ruby }}
17
- uses: actions/setup-ruby@v1
17
+ uses: ruby/setup-ruby@v1
18
18
  with:
19
19
  ruby-version: ${{ matrix.ruby }}
20
+ bundler-cache: true
20
21
  - name: Build and test with Rake
21
22
  run: |
22
23
  gem install --no-document bundler
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 0.2.1
2
+ - Remove dependent gem's type declaration file from installation files.
3
+
1
4
  # 0.2.0
2
5
  - Add type declaration file: sig/randsvd.rbs
3
6
  - Add frozen string literal comment.
data/Steepfile CHANGED
@@ -1,5 +1,5 @@
1
1
  target :lib do
2
- signature "sig"
2
+ signature "sig", "sig-deps"
3
3
 
4
4
  check "lib" # Directory name
5
5
  # check "Gemfile" # File name
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class RandSVD
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
data/randsvd.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
- f.match(%r{^(test|spec|features)/})
18
+ f.match(%r{^(test|spec|features|sig-deps)/})
19
19
  end
20
20
  spec.bindir = 'exe'
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -23,4 +23,6 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_runtime_dependency 'nmatrix'
25
25
  spec.add_runtime_dependency 'nmatrix-lapacke'
26
+ spec.add_runtime_dependency 'numo-narray', '>= 0.9.1'
27
+ spec.add_runtime_dependency 'numo-linalg', '>= 0.1.4'
26
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: randsvd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-26 00:00:00.000000000 Z
11
+ date: 2021-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nmatrix
@@ -38,6 +38,34 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: numo-narray
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.9.1
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: numo-linalg
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.4
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.4
41
69
  description:
42
70
  email:
43
71
  - yoshoku@outlook.com
@@ -58,7 +86,6 @@ files:
58
86
  - lib/randsvd.rb
59
87
  - lib/randsvd/version.rb
60
88
  - randsvd.gemspec
61
- - sig/patch.rbs
62
89
  - sig/randsvd.rbs
63
90
  homepage: https://github.com/yoshoku/randsvd
64
91
  licenses:
@@ -79,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
106
  - !ruby/object:Gem::Version
80
107
  version: '0'
81
108
  requirements: []
82
- rubygems_version: 3.1.6
109
+ rubygems_version: 3.2.21
83
110
  signing_key:
84
111
  specification_version: 4
85
112
  summary: RandSVD is a class that performs truncated singular value decomposition using
data/sig/patch.rbs DELETED
@@ -1,20 +0,0 @@
1
- class NMatrix
2
- INDEX_DTYPE: Symbol
3
-
4
- def self.size: (untyped shape) -> untyped
5
-
6
- def initialize: (*untyped) -> untyped
7
-
8
- def []: (*untyped) -> untyped
9
- def *: (untyped) -> untyped
10
- def +: (untyped) -> untyped
11
-
12
- def shape: () -> untyped
13
- def transpose: (?untyped permute) -> untyped
14
- def dot: (untyped right_v) -> untyped
15
- def log: (*untyped) -> untyped
16
- def sin: () -> untyped
17
- def factorize_qr: () -> untyped
18
- def gesdd: (?untyped workspace_size) -> untyped
19
- def gesvd: (?untyped workspace_size) -> untyped
20
- end