numo-gsl-integration 0.1.0

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.
@@ -0,0 +1,131 @@
1
+ module Numo
2
+ module GSL
3
+ module Integration
4
+ VERSION: String
5
+
6
+ class Error < ::Numo::GSL::GslError
7
+ end
8
+
9
+ GAUSS15: Integer
10
+ GAUSS21: Integer
11
+ GAUSS31: Integer
12
+ GAUSS41: Integer
13
+ GAUSS51: Integer
14
+ GAUSS61: Integer
15
+ COSINE: Integer
16
+ SINE: Integer
17
+
18
+ def self.qag: (
19
+ Numeric a,
20
+ Numeric b,
21
+ ?epsabs: Numeric,
22
+ ?epsrel: Numeric,
23
+ ?limit: Integer,
24
+ ?key: Integer
25
+ ) { (Float) -> Numeric } -> [Float, Float]
26
+
27
+ def self.qng: (
28
+ Numeric a,
29
+ Numeric b,
30
+ ?epsabs: Numeric,
31
+ ?epsrel: Numeric
32
+ ) { (Float) -> Numeric } -> [Float, Float, Integer]
33
+
34
+ def self.qags: (
35
+ Numeric a,
36
+ Numeric b,
37
+ ?epsabs: Numeric,
38
+ ?epsrel: Numeric,
39
+ ?limit: Integer
40
+ ) { (Float) -> Numeric } -> [Float, Float]
41
+
42
+ def self.qagp: (
43
+ Array[Numeric] points,
44
+ ?epsabs: Numeric,
45
+ ?epsrel: Numeric,
46
+ ?limit: Integer
47
+ ) { (Float) -> Numeric } -> [Float, Float]
48
+
49
+ def self.qagi: (
50
+ ?epsabs: Numeric,
51
+ ?epsrel: Numeric,
52
+ ?limit: Integer
53
+ ) { (Float) -> Numeric } -> [Float, Float]
54
+
55
+ def self.qagiu: (
56
+ Numeric a,
57
+ ?epsabs: Numeric,
58
+ ?epsrel: Numeric,
59
+ ?limit: Integer
60
+ ) { (Float) -> Numeric } -> [Float, Float]
61
+
62
+ def self.qagil: (
63
+ Numeric b,
64
+ ?epsabs: Numeric,
65
+ ?epsrel: Numeric,
66
+ ?limit: Integer
67
+ ) { (Float) -> Numeric } -> [Float, Float]
68
+
69
+ def self.qawc: (
70
+ Numeric a,
71
+ Numeric b,
72
+ Numeric c,
73
+ ?epsabs: Numeric,
74
+ ?epsrel: Numeric,
75
+ ?limit: Integer
76
+ ) { (Float) -> Numeric } -> [Float, Float]
77
+
78
+ def self.qaws: (
79
+ Numeric a,
80
+ Numeric b,
81
+ Numeric alpha,
82
+ Numeric beta,
83
+ Integer mu,
84
+ Integer nu,
85
+ ?epsabs: Numeric,
86
+ ?epsrel: Numeric,
87
+ ?limit: Integer
88
+ ) { (Float) -> Numeric } -> [Float, Float]
89
+
90
+ def self.qawo: (
91
+ Numeric a,
92
+ Numeric b,
93
+ Numeric omega,
94
+ Integer sine,
95
+ ?epsabs: Numeric,
96
+ ?epsrel: Numeric,
97
+ ?limit: Integer
98
+ ) { (Float) -> Numeric } -> [Float, Float]
99
+
100
+ def self.qawf: (
101
+ Numeric a,
102
+ Numeric omega,
103
+ Integer sine,
104
+ ?epsabs: Numeric,
105
+ ?limit: Integer
106
+ ) { (Float) -> Numeric } -> [Float, Float]
107
+
108
+ def self.cquad: (
109
+ Numeric a,
110
+ Numeric b,
111
+ ?epsabs: Numeric,
112
+ ?epsrel: Numeric,
113
+ ?limit: Integer
114
+ ) { (Float) -> Numeric } -> [Float, Float, Integer]
115
+
116
+ def self.romberg: (
117
+ Numeric a,
118
+ Numeric b,
119
+ ?epsabs: Numeric,
120
+ ?epsrel: Numeric,
121
+ ?limit: Integer
122
+ ) { (Float) -> Numeric } -> [Float, Integer]
123
+
124
+ def self.glfixed: (
125
+ Numeric a,
126
+ Numeric b,
127
+ ?order: Integer
128
+ ) { (Float) -> Numeric } -> Float
129
+ end
130
+ end
131
+ end
data/sig/numo/gsl.rbs ADDED
@@ -0,0 +1,6 @@
1
+ module Numo
2
+ module GSL
3
+ class GslError <::StandardError
4
+ end
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: numo-gsl-integration
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Takahiro SATOH
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: numo-gsl-alt
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: 0.1.3
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.1.3
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '0.2'
32
+ description: Provides GNU Scientific Library numerical integration routines under
33
+ Numo::GSL::Integration.
34
+ email:
35
+ - zalt50cc@gmail.com
36
+ executables: []
37
+ extensions:
38
+ - ext/numo/gsl/integration/extconf.rb
39
+ extra_rdoc_files: []
40
+ files:
41
+ - CHANGELOG.md
42
+ - LICENSE
43
+ - README.md
44
+ - docs/development.md
45
+ - docs/error-handling.md
46
+ - docs/routines.md
47
+ - ext/numo/gsl/integration/callback.c
48
+ - ext/numo/gsl/integration/cquad.c
49
+ - ext/numo/gsl/integration/extconf.rb
50
+ - ext/numo/gsl/integration/glfixed.c
51
+ - ext/numo/gsl/integration/integration.c
52
+ - ext/numo/gsl/integration/integration_internal.h
53
+ - ext/numo/gsl/integration/options.c
54
+ - ext/numo/gsl/integration/qag.c
55
+ - ext/numo/gsl/integration/qagi.c
56
+ - ext/numo/gsl/integration/qagil.c
57
+ - ext/numo/gsl/integration/qagiu.c
58
+ - ext/numo/gsl/integration/qagp.c
59
+ - ext/numo/gsl/integration/qags.c
60
+ - ext/numo/gsl/integration/qawc.c
61
+ - ext/numo/gsl/integration/qawf.c
62
+ - ext/numo/gsl/integration/qawo.c
63
+ - ext/numo/gsl/integration/qaws.c
64
+ - ext/numo/gsl/integration/qng.c
65
+ - ext/numo/gsl/integration/resources.c
66
+ - ext/numo/gsl/integration/romberg.c
67
+ - lib/numo/gsl/integration.rb
68
+ - lib/numo/gsl/integration/version.rb
69
+ - sig/numo/gsl.rbs
70
+ - sig/numo/gsl/integration.rbs
71
+ homepage: https://github.com/zalt50/numo-gsl-integration
72
+ licenses:
73
+ - GPL-3.0-or-later
74
+ metadata:
75
+ homepage_uri: https://github.com/zalt50/numo-gsl-integration
76
+ source_code_uri: https://github.com/zalt50/numo-gsl-integration
77
+ changelog_uri: https://github.com/zalt50/numo-gsl-integration/blob/master/CHANGELOG.md
78
+ rubygems_mfa_required: 'true'
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 3.2.0
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubygems_version: 4.0.20
94
+ specification_version: 4
95
+ summary: GSL numerical integration for Numo
96
+ test_files: []