numo-linalg-randsvd 0.2.0 → 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 +9 -0
  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: 71312ec59a5898236280d11b100f6b43c7e42c4851e69198dc105d71745aef67
4
- data.tar.gz: d95416e7779f463e7017d119e701fd232280d2da98767b4c58940b0582174b9f
3
+ metadata.gz: 6aef3ecbc4a381503c8f24a20e120ff39dcd8d7d1c485e0bb2e69de76fbee5db
4
+ data.tar.gz: d394e7284ad14dadea13eeea68d38dd07bc2e3c256dfcfd5cc5d22f34f1db527
5
5
  SHA512:
6
- metadata.gz: 2c1b847a52683c315bbea34e4b685d03332719a1b9b198318c41d55990cb7502b67fcec1e33ac4d8ab13fbf34abf92721e0633e3fd06182603658bf39fd60b0e
7
- data.tar.gz: be658a95443b24be18f82f2895ee49b07133c5ef12355d0d3fcffe49f5b5501af2bead44dde05701df51989e0cd01d41cb427921aec87cd53960b01ba23ac7c6
6
+ metadata.gz: b3c4626c9025a1f8a660798932cf7115181cd8bcb5b180a86f5889b9b6cf22d86afadcca920f675a92487ff5bc39b55a96aaddc10a268fde5464ed4b6d78a9a5
7
+ data.tar.gz: 5f5c363bd5f5445eef62e7bfdaa7746b1541b050c6da88629b766c591088b77b343855161eca33ffb5c2b0159704be1f15366d4284d8ef11ee6dfadab05ed158
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
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
7
+
8
+ - Fix dependent version of numo-random.
9
+
1
10
  ## [0.2.0] - 2022-11-12
2
11
 
3
12
  **Breaking Changes**
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.0
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-12 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.0
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.0
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