randsvd 0.2.0 → 0.2.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 +4 -4
- data/.github/workflows/build.yml +2 -1
- data/CHANGELOG.md +3 -0
- data/Steepfile +1 -1
- data/lib/randsvd/version.rb +1 -1
- data/randsvd.gemspec +3 -1
- metadata +31 -4
- data/sig/patch.rbs +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e97aecf0bfe7acbec28459c5964d49d132862b572aec6ffceb6d70336932b430
|
4
|
+
data.tar.gz: 653795fe0f7865a8508d9e9f6dab9f15bb4d1d2ae7ca2ccccd909a2b16e3b1fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9231e3597942c6c8335596b3e21ec248a2f2d3c7e46802885b480bcd7a77e89446500e2f4e2a69ac2cbcef2cead8d0708940f0fe67f5b8852445cc2f53420603
|
7
|
+
data.tar.gz: 4bcea6ab455eba44d15055adf9167fad8ae2a7cd8436049e1f42735047e7eed822f949446707e4d693ecdd9efc319e9cd8f75536ff2295fd45684fc730395ad1
|
data/.github/workflows/build.yml
CHANGED
@@ -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:
|
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
data/Steepfile
CHANGED
data/lib/randsvd/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|