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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/LICENSE.txt +1 -1
- data/README.md +15 -0
- metadata +30 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aef3ecbc4a381503c8f24a20e120ff39dcd8d7d1c485e0bb2e69de76fbee5db
|
4
|
+
data.tar.gz: d394e7284ad14dadea13eeea68d38dd07bc2e3c256dfcfd5cc5d22f34f1db527
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c4626c9025a1f8a660798932cf7115181cd8bcb5b180a86f5889b9b6cf22d86afadcca920f675a92487ff5bc39b55a96aaddc10a268fde5464ed4b6d78a9a5
|
7
|
+
data.tar.gz: 5f5c363bd5f5445eef62e7bfdaa7746b1541b050c6da88629b766c591088b77b343855161eca33ffb5c2b0159704be1f15366d4284d8ef11ee6dfadab05ed158
|
data/CHANGELOG.md
CHANGED
data/LICENSE.txt
CHANGED
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.
|
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:
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: numo-
|
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
|
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
|
26
|
+
version: 0.9.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: numo-
|
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.
|
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
|
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-
|
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
|
48
|
-
type: :
|
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
|
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.
|
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
|