numo-linalg-randsvd 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/LICENSE.txt +1 -1
  4. data/README.md +15 -0
  5. metadata +30 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6124cfa5d92e207e25176f5a76c10edf7efe094c7467b38bedaef3221ebf1125
4
- data.tar.gz: c38604617b8dc031414205bd2359ecf54ceeac3d496cdd6c28b1e35b049baf88
3
+ metadata.gz: 6aef3ecbc4a381503c8f24a20e120ff39dcd8d7d1c485e0bb2e69de76fbee5db
4
+ data.tar.gz: d394e7284ad14dadea13eeea68d38dd07bc2e3c256dfcfd5cc5d22f34f1db527
5
5
  SHA512:
6
- metadata.gz: '04126899d6e0fdf582778a435d027380eaaff1eb6826614220dce3533f8e055ed518e3128e7bf822fe52e766858ea45ab08badb57d3f6ae83d92911e55abd056'
7
- data.tar.gz: be04847c850344d151508bcd5a6051da2bd373480fdc8a2c91fd9e4403b41e8bc2ede31932aefa29f8271c7c3b1f4786f4a164593d04e773d63e041d1fce2aa9
6
+ metadata.gz: b3c4626c9025a1f8a660798932cf7115181cd8bcb5b180a86f5889b9b6cf22d86afadcca920f675a92487ff5bc39b55a96aaddc10a268fde5464ed4b6d78a9a5
7
+ data.tar.gz: 5f5c363bd5f5445eef62e7bfdaa7746b1541b050c6da88629b766c591088b77b343855161eca33ffb5c2b0159704be1f15366d4284d8ef11ee6dfadab05ed158
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ## [0.2.1] - 2022-11-2022
1
+ ## [0.3.0] - 2023-08-15
2
+ **Breaking Changes**
3
+
4
+ - Remove numo-linalg from runtime dependencies so that users can also choose to use Numo::TinyLinalg.
5
+
6
+ ## [0.2.1] - 2022-11-20
2
7
 
3
8
  - Fix dependent version of numo-random.
4
9
 
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022 Atsushi Tatsuma
1
+ Copyright (c) 2022-2023 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/README.md CHANGED
@@ -15,6 +15,17 @@ References:
15
15
  - P.-G. Martinsson, V. Rokhlin, M. Tygert, "A randomized algorithm for the approximation of matrices," Tech. Rep., 1361, Yale University Department of Computer Science, 2006.
16
16
 
17
17
  ## Installation
18
+ This gem requires Numo::Linalg, so install numo-linalg or numo-tiny_linalg:
19
+
20
+ ```sh
21
+ $ gem install numo-linalg
22
+ ```
23
+
24
+ Or:
25
+
26
+ ```sh
27
+ $ gem install numo-tiny_linalg
28
+ ```
18
29
 
19
30
  Add this line to your application's Gemfile:
20
31
 
@@ -34,6 +45,10 @@ Or install it yourself as:
34
45
 
35
46
  ```ruby
36
47
  require 'numo/linalg/autoloader'
48
+ # # Or
49
+ # require 'numo/tiny_linalg'
50
+ # Numo::Linalg = Numo::TinyLinalg
51
+
37
52
  require 'numo/linalg/randsvd'
38
53
 
39
54
  # An example of matrix decomposition is as follows:
metadata CHANGED
@@ -1,57 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numo-linalg-randsvd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-20 00:00:00.000000000 Z
11
+ date: 2023-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: numo-linalg
14
+ name: numo-narray
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.4
19
+ version: 0.9.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.4
26
+ version: 0.9.1
27
27
  - !ruby/object:Gem::Dependency
28
- name: numo-narray
28
+ name: numo-random
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.9.1
33
+ version: '0.4'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: numo-linalg
43
+ requirement: !ruby/object:Gem::Requirement
37
44
  requirements:
38
45
  - - ">="
39
46
  - !ruby/object:Gem::Version
40
- version: 0.9.1
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
- name: numo-random
56
+ name: numo-tiny_linalg
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - "~>"
59
+ - - ">="
46
60
  - !ruby/object:Gem::Version
47
- version: '0.4'
48
- type: :runtime
61
+ version: '0'
62
+ type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - "~>"
66
+ - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: '0.4'
68
+ version: '0'
55
69
  description: |
56
70
  Numo::Linalg.randsvd is a module function on Numo::Linalg for
57
71
  truncated singular value decomposition with randomized algorithm.
@@ -90,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
104
  - !ruby/object:Gem::Version
91
105
  version: '0'
92
106
  requirements: []
93
- rubygems_version: 3.3.7
107
+ rubygems_version: 3.3.26
94
108
  signing_key:
95
109
  specification_version: 4
96
110
  summary: Numo::Linalg.randsvd is a module function on Numo::Linalg for truncated singular