rb-gsl 1.15.3.1 → 1.15.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +2 -2
- data/ChangeLog +8 -0
- data/Rakefile +39 -96
- data/VERSION +1 -1
- data/ext/array.c +2 -2
- data/ext/block_source.c +1 -1
- data/ext/dirac.c +1 -1
- data/ext/eigen.c +13 -13
- data/ext/extconf.rb +17 -11
- data/ext/function.c +5 -5
- data/ext/gsl_narray.c +6 -6
- data/ext/histogram.c +7 -6
- data/ext/histogram2d.c +4 -4
- data/ext/interp.c +1 -1
- data/ext/linalg.c +13 -11
- data/ext/linalg_complex.c +8 -6
- data/ext/math.c +1 -1
- data/ext/matrix_complex.c +6 -6
- data/ext/matrix_source.c +10 -10
- data/ext/monte.c +2 -2
- data/ext/multimin.c +4 -4
- data/ext/multiroots.c +8 -8
- data/ext/nmf.c +6 -6
- data/ext/ntuple.c +4 -4
- data/ext/odeiv.c +2 -2
- data/ext/permutation.c +1 -1
- data/ext/poly2.c +6 -6
- data/ext/poly_source.c +9 -6
- data/ext/sf.c +31 -45
- data/ext/signal.c +2 -2
- data/ext/vector_complex.c +11 -10
- data/ext/vector_double.c +7 -4
- data/ext/vector_source.c +29 -26
- data/ext/wavelet.c +1 -1
- data/include/rb_gsl_common.h +12 -0
- data/include/rb_gsl_config.h +10 -1
- data/rdoc/blas.rdoc +4 -4
- data/rdoc/bspline.rdoc +8 -8
- data/rdoc/cheb.rdoc +9 -9
- data/rdoc/cholesky_complex.rdoc +1 -1
- data/rdoc/combi.rdoc +10 -10
- data/rdoc/complex.rdoc +12 -12
- data/rdoc/const.rdoc +21 -21
- data/rdoc/dht.rdoc +7 -7
- data/rdoc/diff.rdoc +7 -7
- data/rdoc/ehandling.rdoc +4 -4
- data/rdoc/eigen.rdoc +12 -12
- data/rdoc/fft.rdoc +27 -27
- data/rdoc/fit.rdoc +19 -19
- data/rdoc/function.rdoc +1 -1
- data/rdoc/graph.rdoc +3 -3
- data/rdoc/hist.rdoc +17 -17
- data/rdoc/hist2d.rdoc +5 -5
- data/rdoc/hist3d.rdoc +4 -4
- data/rdoc/index.rdoc +4 -4
- data/rdoc/integration.rdoc +17 -17
- data/rdoc/interp.rdoc +12 -12
- data/rdoc/intro.rdoc +4 -4
- data/rdoc/linalg.rdoc +21 -21
- data/rdoc/linalg_complex.rdoc +1 -1
- data/rdoc/math.rdoc +14 -14
- data/rdoc/matrix.rdoc +21 -21
- data/rdoc/min.rdoc +10 -10
- data/rdoc/monte.rdoc +4 -4
- data/rdoc/multimin.rdoc +13 -13
- data/rdoc/multiroot.rdoc +13 -13
- data/rdoc/narray.rdoc +10 -10
- data/rdoc/ndlinear.rdoc +5 -5
- data/rdoc/nonlinearfit.rdoc +18 -18
- data/rdoc/ntuple.rdoc +6 -6
- data/rdoc/odeiv.rdoc +13 -13
- data/rdoc/perm.rdoc +12 -12
- data/rdoc/poly.rdoc +18 -18
- data/rdoc/qrng.rdoc +10 -10
- data/rdoc/randist.rdoc +11 -11
- data/rdoc/ref.rdoc +50 -50
- data/rdoc/rng.rdoc +10 -10
- data/rdoc/rngextra.rdoc +5 -5
- data/rdoc/roots.rdoc +13 -13
- data/rdoc/sf.rdoc +36 -36
- data/rdoc/siman.rdoc +4 -4
- data/rdoc/sort.rdoc +7 -7
- data/rdoc/start.rdoc +1 -1
- data/rdoc/stats.rdoc +14 -14
- data/rdoc/sum.rdoc +5 -5
- data/rdoc/tensor.rdoc +4 -4
- data/rdoc/tut.rdoc +1 -1
- data/rdoc/use.rdoc +5 -5
- data/rdoc/vector.rdoc +29 -29
- data/rdoc/vector_complex.rdoc +6 -6
- data/rdoc/wavelet.rdoc +9 -9
- data/test/gsl/blas_test.rb +79 -0
- data/test/gsl/bspline_test.rb +63 -0
- data/test/gsl/cdf_test.rb +1512 -0
- data/test/gsl/cheb_test.rb +80 -0
- data/test/gsl/combination_test.rb +100 -0
- data/test/gsl/complex_test.rb +20 -0
- data/test/gsl/const_test.rb +29 -0
- data/test/gsl/deriv_test.rb +62 -0
- data/test/gsl/dht_test.rb +79 -0
- data/test/gsl/diff_test.rb +53 -0
- data/test/gsl/eigen_test.rb +563 -0
- data/test/gsl/err_test.rb +23 -0
- data/test/gsl/fit_test.rb +101 -0
- data/test/gsl/histo_test.rb +14 -0
- data/test/gsl/integration_test.rb +274 -0
- data/test/gsl/interp_test.rb +27 -0
- data/test/gsl/linalg_test.rb +463 -0
- data/test/gsl/matrix_nmf_test.rb +37 -0
- data/test/gsl/matrix_test.rb +77 -0
- data/test/gsl/min_test.rb +89 -0
- data/test/gsl/monte_test.rb +77 -0
- data/test/gsl/multifit_test.rb +753 -0
- data/test/gsl/multimin_test.rb +157 -0
- data/test/gsl/multiroot_test.rb +135 -0
- data/test/gsl/multiset_test.rb +52 -0
- data/test/gsl/odeiv_test.rb +275 -0
- data/test/gsl/poly_test.rb +338 -0
- data/test/gsl/qrng_test.rb +94 -0
- data/test/gsl/quartic_test.rb +28 -0
- data/test/gsl/randist_test.rb +122 -0
- data/test/gsl/rng_test.rb +303 -0
- data/test/gsl/roots_test.rb +78 -0
- data/test/gsl/sf_test.rb +2079 -0
- data/test/gsl/stats_test.rb +122 -0
- data/test/gsl/sum_test.rb +69 -0
- data/test/gsl/tensor_test.rb +396 -0
- data/test/gsl/vector_test.rb +223 -0
- data/test/gsl/wavelet_test.rb +130 -0
- data/test/gsl_test.rb +321 -0
- data/test/test_helper.rb +42 -0
- metadata +107 -150
- data/setup.rb +0 -1585
- data/tests/blas/amax.rb +0 -14
- data/tests/blas/asum.rb +0 -16
- data/tests/blas/axpy.rb +0 -25
- data/tests/blas/copy.rb +0 -23
- data/tests/blas/dot.rb +0 -23
- data/tests/bspline.rb +0 -53
- data/tests/cdf.rb +0 -1388
- data/tests/cheb.rb +0 -112
- data/tests/combination.rb +0 -123
- data/tests/complex.rb +0 -17
- data/tests/const.rb +0 -24
- data/tests/deriv.rb +0 -85
- data/tests/dht/dht1.rb +0 -17
- data/tests/dht/dht2.rb +0 -23
- data/tests/dht/dht3.rb +0 -23
- data/tests/dht/dht4.rb +0 -23
- data/tests/diff.rb +0 -78
- data/tests/eigen/eigen.rb +0 -220
- data/tests/eigen/gen.rb +0 -105
- data/tests/eigen/genherm.rb +0 -66
- data/tests/eigen/gensymm.rb +0 -68
- data/tests/eigen/nonsymm.rb +0 -53
- data/tests/eigen/nonsymmv.rb +0 -53
- data/tests/eigen/symm-herm.rb +0 -74
- data/tests/err.rb +0 -58
- data/tests/fit.rb +0 -124
- data/tests/gsl_test.rb +0 -118
- data/tests/gsl_test2.rb +0 -110
- data/tests/histo.rb +0 -12
- data/tests/integration/integration1.rb +0 -72
- data/tests/integration/integration2.rb +0 -71
- data/tests/integration/integration3.rb +0 -71
- data/tests/integration/integration4.rb +0 -71
- data/tests/interp.rb +0 -45
- data/tests/linalg/HH.rb +0 -64
- data/tests/linalg/LU.rb +0 -47
- data/tests/linalg/QR.rb +0 -77
- data/tests/linalg/SV.rb +0 -24
- data/tests/linalg/TDN.rb +0 -116
- data/tests/linalg/TDS.rb +0 -122
- data/tests/linalg/bidiag.rb +0 -73
- data/tests/linalg/cholesky.rb +0 -20
- data/tests/linalg/linalg.rb +0 -158
- data/tests/matrix/matrix_complex_test.rb +0 -36
- data/tests/matrix/matrix_nmf_test.rb +0 -39
- data/tests/matrix/matrix_test.rb +0 -48
- data/tests/min.rb +0 -99
- data/tests/monte/miser.rb +0 -31
- data/tests/monte/vegas.rb +0 -45
- data/tests/multifit/test_2dgauss.rb +0 -112
- data/tests/multifit/test_brown.rb +0 -90
- data/tests/multifit/test_enso.rb +0 -246
- data/tests/multifit/test_filip.rb +0 -155
- data/tests/multifit/test_gauss.rb +0 -97
- data/tests/multifit/test_longley.rb +0 -110
- data/tests/multifit/test_multifit.rb +0 -52
- data/tests/multimin.rb +0 -139
- data/tests/multiroot.rb +0 -131
- data/tests/multiset.rb +0 -52
- data/tests/narray/blas_dnrm2.rb +0 -20
- data/tests/odeiv.rb +0 -353
- data/tests/poly/poly.rb +0 -290
- data/tests/poly/special.rb +0 -65
- data/tests/qrng.rb +0 -131
- data/tests/quartic.rb +0 -29
- data/tests/randist.rb +0 -134
- data/tests/rng.rb +0 -305
- data/tests/roots.rb +0 -76
- data/tests/run-test.sh +0 -17
- data/tests/sf/gsl_test_sf.rb +0 -249
- data/tests/sf/test_airy.rb +0 -83
- data/tests/sf/test_bessel.rb +0 -306
- data/tests/sf/test_coulomb.rb +0 -17
- data/tests/sf/test_dilog.rb +0 -25
- data/tests/sf/test_gamma.rb +0 -209
- data/tests/sf/test_hyperg.rb +0 -356
- data/tests/sf/test_legendre.rb +0 -227
- data/tests/sf/test_mathieu.rb +0 -59
- data/tests/sf/test_mode.rb +0 -19
- data/tests/sf/test_sf.rb +0 -839
- data/tests/stats.rb +0 -174
- data/tests/stats_mt.rb +0 -16
- data/tests/sum.rb +0 -98
- data/tests/sys.rb +0 -323
- data/tests/tensor.rb +0 -419
- data/tests/vector/vector_complex_test.rb +0 -101
- data/tests/vector/vector_test.rb +0 -141
- data/tests/wavelet.rb +0 -142
data/rdoc/hist2d.rdoc
CHANGED
@@ -57,7 +57,7 @@
|
|
57
57
|
# * GSL::Histogram2d#set_ranges(vx, vy)
|
58
58
|
#
|
59
59
|
# This sets the ranges of the existing histogram using
|
60
|
-
# two {GSL::Vector}[link:
|
60
|
+
# two {GSL::Vector}[link:rdoc/vector_rdoc.html] objects or arrays.
|
61
61
|
# ---
|
62
62
|
# * GSL::Histogram2d#set_ranges_uniform(xmin, xmax, ymin, ymax)
|
63
63
|
# * GSL::Histogram2d#set_ranges_uniform([xmin, xmax], [ymin, ymax])
|
@@ -271,9 +271,9 @@
|
|
271
271
|
# GSL::graph(hx, hy, "-T X -C -g 3")
|
272
272
|
#
|
273
273
|
#
|
274
|
-
# {prev}[link:
|
275
|
-
# {next}[link:
|
274
|
+
# {prev}[link:rdoc/hist_rdoc.html]
|
275
|
+
# {next}[link:rdoc/hist3d_rdoc.html]
|
276
276
|
#
|
277
|
-
# {Reference index}[link:
|
278
|
-
# {top}[link:
|
277
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
278
|
+
# {top}[link:index.html]
|
279
279
|
#
|
data/rdoc/hist3d.rdoc
CHANGED
@@ -104,9 +104,9 @@
|
|
104
104
|
# Creates a <tt>GSL::Histogram2d</tt> object by projecting the 3D histogram
|
105
105
|
# <tt>self</tt> onto the yz-plane over the x-range from <tt>istart</tt> to <tt>iend</tt>.
|
106
106
|
#
|
107
|
-
# {prev}[link:
|
108
|
-
# {next}[link:
|
107
|
+
# {prev}[link:rdoc/hist2d_rdoc.html]
|
108
|
+
# {next}[link:rdoc/ntuple_rdoc.html]
|
109
109
|
#
|
110
|
-
# {Reference index}[link:
|
111
|
-
# {top}[link:
|
110
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
111
|
+
# {top}[link:index.html]
|
112
112
|
#
|
data/rdoc/index.rdoc
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# = {Ruby/GSL}[link:
|
2
|
+
# = {Ruby/GSL}[link:doc/rdoc/index_rdoc.html"target="_parent]
|
3
3
|
#
|
4
4
|
# Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License.
|
5
5
|
#
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# === {}[link:index.html"name="3.1] Using the gem command
|
11
11
|
# Ruby/GSL may now be installed as a Ruby Gem by simply running
|
12
12
|
#
|
13
|
-
# gem install gsl
|
13
|
+
# gem install rb-gsl
|
14
14
|
#
|
15
15
|
# Note that the GSL libraries must already be installed before Ruby/GSL
|
16
16
|
# can be installed.
|
@@ -33,11 +33,11 @@
|
|
33
33
|
#
|
34
34
|
# == {}[link:index.html"name="4] Screenshot
|
35
35
|
#
|
36
|
-
# Ruby/GSL can be seen in action in these {screenshots}[link:
|
36
|
+
# Ruby/GSL can be seen in action in these {screenshots}[link:doc/rdoc/screenshot_rdoc.html].
|
37
37
|
#
|
38
38
|
# == {}[link:index.html"name="5] Reference
|
39
39
|
#
|
40
|
-
# The {Ruby/GSL reference manual}[link:
|
40
|
+
# The {Ruby/GSL reference manual}[link:doc/rdoc/ref_rdoc.html] follows and borrows
|
41
41
|
# large parts of the GSL reference manual.
|
42
42
|
#
|
43
43
|
# == {}[link:index.html"name="6] Examples
|
data/rdoc/integration.rdoc
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
#
|
2
2
|
# = Numerical Integration
|
3
3
|
# Contents:
|
4
|
-
# 1. {Introduction}[link:
|
5
|
-
# 1. {QNG non-adaptive Gauss-Kronrod integration}[link:
|
6
|
-
# 1. {QAG adaptive integration}[link:
|
7
|
-
# 1. {GSL::Integration::Workspace class}[link:
|
8
|
-
# 1. {Methods}[link:
|
9
|
-
# 1. {QAGS adaptive integration with singularities}[link:
|
10
|
-
# 1. {QAGP adaptive integration with known singular points}[link:
|
11
|
-
# 1. {QAGI adaptive integration on infinite intervals}[link:
|
12
|
-
# 1. {QAWC adaptive integration for Cauchy principal values}[link:
|
13
|
-
# 1. {QAWS adaptive integration for singular functions}[link:
|
14
|
-
# 1. {QAWO adaptive integration for oscillatory functions}[link:
|
15
|
-
# 1. {QAWF adaptive integration for Fourier integrals}[link:
|
4
|
+
# 1. {Introduction}[link:rdoc/integration_rdoc.html#1]
|
5
|
+
# 1. {QNG non-adaptive Gauss-Kronrod integration}[link:rdoc/integration_rdoc.html#2]
|
6
|
+
# 1. {QAG adaptive integration}[link:rdoc/integration_rdoc.html#3]
|
7
|
+
# 1. {GSL::Integration::Workspace class}[link:rdoc/integration_rdoc.html#3.1]
|
8
|
+
# 1. {Methods}[link:rdoc/integration_rdoc.html#3.2]
|
9
|
+
# 1. {QAGS adaptive integration with singularities}[link:rdoc/integration_rdoc.html#4]
|
10
|
+
# 1. {QAGP adaptive integration with known singular points}[link:rdoc/integration_rdoc.html#5]
|
11
|
+
# 1. {QAGI adaptive integration on infinite intervals}[link:rdoc/integration_rdoc.html#6]
|
12
|
+
# 1. {QAWC adaptive integration for Cauchy principal values}[link:rdoc/integration_rdoc.html#7]
|
13
|
+
# 1. {QAWS adaptive integration for singular functions}[link:rdoc/integration_rdoc.html#8]
|
14
|
+
# 1. {QAWO adaptive integration for oscillatory functions}[link:rdoc/integration_rdoc.html#9]
|
15
|
+
# 1. {QAWF adaptive integration for Fourier integrals}[link:rdoc/integration_rdoc.html#10]
|
16
16
|
#
|
17
17
|
# == {}[link:index.html"name="1] Introduction
|
18
18
|
# This section describes how to compute numerical integration of a function
|
19
19
|
# in one dimension. In Ruby/GSL, all the GSL routines for numerical integration
|
20
|
-
# is provided as methods of {GSL::Function}[link:
|
20
|
+
# is provided as methods of {GSL::Function}[link:rdoc/function_rdoc.html] objects.
|
21
21
|
# For example, a <tt>GSL::Function</tt> object which represents the sine function
|
22
22
|
# <tt>sin(x)</tt> can be expressed as
|
23
23
|
# f = GSL::Function.alloc { |x| sin(x) }
|
@@ -389,10 +389,10 @@
|
|
389
389
|
#
|
390
390
|
# Applies the Gauss-Legendre integration rule contained in table <tt>t</tt> and returns the result.
|
391
391
|
#
|
392
|
-
# {prev}[link:
|
393
|
-
# {next}[link:
|
392
|
+
# {prev}[link:rdoc/wavelet_rdoc.html]
|
393
|
+
# {next}[link:rdoc/rng_rdoc.html]
|
394
394
|
#
|
395
|
-
# {Reference index}[link:
|
396
|
-
# {top}[link:
|
395
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
396
|
+
# {top}[link:index.html]
|
397
397
|
#
|
398
398
|
#
|
data/rdoc/interp.rdoc
CHANGED
@@ -8,14 +8,14 @@
|
|
8
8
|
# functions are available for computing derivatives and integrals of
|
9
9
|
# interpolating functions.
|
10
10
|
#
|
11
|
-
# 1. {Interpolation classes}[link:
|
12
|
-
# 1. {Initializing interpolation objects}[link:
|
13
|
-
# 1. {Index Look-up and Acceleration}[link:
|
14
|
-
# 1. {Evaluation of Interpolating Functions}[link:
|
15
|
-
# 1. {Higher level interface: GSL::Spline class}[link:
|
16
|
-
# 1. {Class initialization}[link:
|
17
|
-
# 1. {Evaluation}[link:
|
18
|
-
# 1. {Finding and acceleration}[link:
|
11
|
+
# 1. {Interpolation classes}[link:rdoc/interp_rdoc.html#1]
|
12
|
+
# 1. {Initializing interpolation objects}[link:rdoc/interp_rdoc.html#2]
|
13
|
+
# 1. {Index Look-up and Acceleration}[link:rdoc/interp_rdoc.html#3]
|
14
|
+
# 1. {Evaluation of Interpolating Functions}[link:rdoc/interp_rdoc.html#4]
|
15
|
+
# 1. {Higher level interface: GSL::Spline class}[link:rdoc/interp_rdoc.html#5]
|
16
|
+
# 1. {Class initialization}[link:rdoc/interp_rdoc.html#5.1]
|
17
|
+
# 1. {Evaluation}[link:rdoc/interp_rdoc.html#5.2]
|
18
|
+
# 1. {Finding and acceleration}[link:rdoc/interp_rdoc.html#5.3]
|
19
19
|
#
|
20
20
|
# == {}[link:index.html"name="1] Interpolation Classes
|
21
21
|
# * GSL
|
@@ -221,11 +221,11 @@
|
|
221
221
|
#
|
222
222
|
# See also the GSL manual and the examples in <tt>examples/</tt>
|
223
223
|
#
|
224
|
-
# {prev}[link:
|
225
|
-
# {next}[link:
|
224
|
+
# {prev}[link:rdoc/odeiv_rdoc.html]
|
225
|
+
# {next}[link:rdoc/diff_rdoc.html]
|
226
226
|
#
|
227
|
-
# {Reference index}[link:
|
228
|
-
# {top}[link:
|
227
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
228
|
+
# {top}[link:index.html]
|
229
229
|
#
|
230
230
|
#
|
231
231
|
#
|
data/rdoc/intro.rdoc
CHANGED
@@ -17,11 +17,11 @@
|
|
17
17
|
# * Ruby (1.8 or later recommended)
|
18
18
|
#
|
19
19
|
# == {}[link:index.html"name="2] Installation
|
20
|
-
# See {here}[link:
|
20
|
+
# See {here}[link:index.html].
|
21
21
|
#
|
22
|
-
# {next}[link:
|
22
|
+
# {next}[link:rdoc/use_rdoc.html]
|
23
23
|
#
|
24
|
-
# {Reference index}[link:
|
25
|
-
# {top}[link:
|
24
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
25
|
+
# {top}[link:index.html]
|
26
26
|
#
|
27
27
|
#
|
data/rdoc/linalg.rdoc
CHANGED
@@ -2,21 +2,21 @@
|
|
2
2
|
# = Linear Algebra
|
3
3
|
#
|
4
4
|
# Contents:
|
5
|
-
# 1. {LU Decomposition}[link:
|
6
|
-
# 1. {QR Decomposition}[link:
|
7
|
-
# 1. {QR Decomposition with Column Pivoting}[link:
|
8
|
-
# 1. {Singular Value Decomposition}[link:
|
9
|
-
# 1. {Cholesky Decomposition}[link:
|
10
|
-
# 1. {Tridiagonal Decomposition of Real Symmetric Matrices}[link:
|
11
|
-
# 1. {Tridiagonal Decomposition of Hermitian Matrices}[link:
|
12
|
-
# 1. {Hessenberg Decomposition of Real Matrices}[link:
|
13
|
-
# 1. {Hessenberg-Triangular Decomposition of Real Matrices}[link:
|
14
|
-
# 1. {Bidiagonalization}[link:
|
15
|
-
# 1. {Householder Transformations}[link:
|
16
|
-
# 1. {Householder solver for linear systems}[link:
|
17
|
-
# 1. {Tridiagonal Systems}[link:
|
18
|
-
# 1. {Balancing}[link:
|
19
|
-
# 1. {NArray}[link:
|
5
|
+
# 1. {LU Decomposition}[link:rdoc/linalg_rdoc.html#1]
|
6
|
+
# 1. {QR Decomposition}[link:rdoc/linalg_rdoc.html#2]
|
7
|
+
# 1. {QR Decomposition with Column Pivoting}[link:rdoc/linalg_rdoc.html#3]
|
8
|
+
# 1. {Singular Value Decomposition}[link:rdoc/linalg_rdoc.html#4]
|
9
|
+
# 1. {Cholesky Decomposition}[link:rdoc/linalg_rdoc.html#5]
|
10
|
+
# 1. {Tridiagonal Decomposition of Real Symmetric Matrices}[link:rdoc/linalg_rdoc.html#6]
|
11
|
+
# 1. {Tridiagonal Decomposition of Hermitian Matrices}[link:rdoc/linalg_rdoc.html#7]
|
12
|
+
# 1. {Hessenberg Decomposition of Real Matrices}[link:rdoc/linalg_rdoc.html#8]
|
13
|
+
# 1. {Hessenberg-Triangular Decomposition of Real Matrices}[link:rdoc/linalg_rdoc.html#9]
|
14
|
+
# 1. {Bidiagonalization}[link:rdoc/linalg_rdoc.html#10]
|
15
|
+
# 1. {Householder Transformations}[link:rdoc/linalg_rdoc.html#11]
|
16
|
+
# 1. {Householder solver for linear systems}[link:rdoc/linalg_rdoc.html#12]
|
17
|
+
# 1. {Tridiagonal Systems}[link:rdoc/linalg_rdoc.html#13]
|
18
|
+
# 1. {Balancing}[link:rdoc/linalg_rdoc.html#14]
|
19
|
+
# 1. {NArray}[link:rdoc/linalg_rdoc.html#15]
|
20
20
|
#
|
21
21
|
# == {}[link:index.html"name="1] LU Decomposition
|
22
22
|
# ---
|
@@ -102,7 +102,7 @@
|
|
102
102
|
#
|
103
103
|
# These methods return the determinant of the matrix.
|
104
104
|
#
|
105
|
-
# === {}[link:index.html"name="1.1] {Complex LU decomposition}[link:
|
105
|
+
# === {}[link:index.html"name="1.1] {Complex LU decomposition}[link:rdoc/linalg_complex_rdoc.html]
|
106
106
|
#
|
107
107
|
# == {}[link:index.html"name="2] QR decomposition
|
108
108
|
#
|
@@ -366,7 +366,7 @@
|
|
366
366
|
# These methods solve the system <tt>A x = b</tt> using the Cholesky decomposition
|
367
367
|
# of <tt>A</tt> into the matrix <tt>cholesky</tt> given by <tt>GSL::Linalg::Cholesky.decomp</tt>.
|
368
368
|
#
|
369
|
-
# === {}[link:index.html"name="5.1] {Complex Cholesky decomposition}[link:
|
369
|
+
# === {}[link:index.html"name="5.1] {Complex Cholesky decomposition}[link:rdoc/cholesky_complex_rdoc.html]
|
370
370
|
#
|
371
371
|
# == {}[link:index.html"name="6] Tridiagonal Decomposition of Real Symmetric Matrices
|
372
372
|
# ---
|
@@ -672,10 +672,10 @@
|
|
672
672
|
# * HH.solve(m, b)
|
673
673
|
# * HH.svx(m, bx)
|
674
674
|
#
|
675
|
-
# {prev}[link:
|
676
|
-
# {next}[link:
|
675
|
+
# {prev}[link:rdoc/blas_rdoc.html]
|
676
|
+
# {next}[link:rdoc/eigen_rdoc.html]
|
677
677
|
#
|
678
|
-
# {Reference index}[link:
|
679
|
-
# {top}[link:
|
678
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
679
|
+
# {top}[link:index.html]
|
680
680
|
#
|
681
681
|
#
|
data/rdoc/linalg_complex.rdoc
CHANGED
data/rdoc/math.rdoc
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
#
|
2
2
|
# = Mathematical Functions
|
3
3
|
# Contents:
|
4
|
-
# 1. {Mathematical Constants}[link:
|
5
|
-
# 1. {Infinities and Not-a-number}[link:
|
6
|
-
# 1. {Constants}[link:
|
7
|
-
# 1. {Module functions}[link:
|
8
|
-
# 1. {Elementary Functions}[link:
|
9
|
-
# 1. {Small Integer Powers}[link:
|
10
|
-
# 1. {Testing the Sign of Numbers}[link:
|
11
|
-
# 1. {Testing for Odd and Even Numbers}[link:
|
12
|
-
# 1. {Maximum and Minimum functions}[link:
|
13
|
-
# 1. {Approximate Comparison of Floating Point Numbers}[link:
|
4
|
+
# 1. {Mathematical Constants}[link:rdoc/math_rdoc.html#1]
|
5
|
+
# 1. {Infinities and Not-a-number}[link:rdoc/math_rdoc.html#2]
|
6
|
+
# 1. {Constants}[link:rdoc/math_rdoc.html#2.1]
|
7
|
+
# 1. {Module functions}[link:rdoc/math_rdoc.html#2.2]
|
8
|
+
# 1. {Elementary Functions}[link:rdoc/math_rdoc.html#3]
|
9
|
+
# 1. {Small Integer Powers}[link:rdoc/math_rdoc.html#4]
|
10
|
+
# 1. {Testing the Sign of Numbers}[link:rdoc/math_rdoc.html#5]
|
11
|
+
# 1. {Testing for Odd and Even Numbers}[link:rdoc/math_rdoc.html#6]
|
12
|
+
# 1. {Maximum and Minimum functions}[link:rdoc/math_rdoc.html#7]
|
13
|
+
# 1. {Approximate Comparison of Floating Point Numbers}[link:rdoc/math_rdoc.html#8]
|
14
14
|
#
|
15
15
|
# == {}[link:index.html"name="1] Mathematical Constants
|
16
16
|
# ---
|
@@ -267,10 +267,10 @@
|
|
267
267
|
#
|
268
268
|
# Ruby/GSL version
|
269
269
|
#
|
270
|
-
# {prev}[link:
|
271
|
-
# {next}[link:
|
270
|
+
# {prev}[link:rdoc/ehandling_rdoc.html]
|
271
|
+
# {next}[link:rdoc/complex_rdoc.html]
|
272
272
|
#
|
273
|
-
# {Reference index}[link:
|
274
|
-
# {top}[link:
|
273
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
274
|
+
# {top}[link:index.html]
|
275
275
|
#
|
276
276
|
#
|
data/rdoc/matrix.rdoc
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
#
|
2
2
|
# = Matrices
|
3
3
|
# Contents:
|
4
|
-
# 1. {Class methods}[link:
|
5
|
-
# 1. {Instance methods}[link:
|
6
|
-
# 1. {Accessing matrix elements}[link:
|
7
|
-
# 1. {Initializing matrix elements}[link:
|
8
|
-
# 1. {IO}[link:
|
9
|
-
# 1. {Matrix views}[link:
|
10
|
-
# 1. {Creating row and column views}[link:
|
11
|
-
# 1. {Iterators}[link:
|
12
|
-
# 1. {Copying matrices}[link:
|
13
|
-
# 1. {Copying rows and columns}[link:
|
14
|
-
# 1. {Exchanging rows and columns}[link:
|
15
|
-
# 1. {Matrix operations}[link:
|
16
|
-
# 1. {Finding maximum and minimum elements of matrices}[link:
|
17
|
-
# 1. {Matrix properties}[link:
|
18
|
-
# 1. {NArray}[link:
|
19
|
-
# 1. {Special matrices}[link:
|
4
|
+
# 1. {Class methods}[link:rdoc/matrix_rdoc.html#1]
|
5
|
+
# 1. {Instance methods}[link:rdoc/matrix_rdoc.html#2]
|
6
|
+
# 1. {Accessing matrix elements}[link:rdoc/matrix_rdoc.html#2.1]
|
7
|
+
# 1. {Initializing matrix elements}[link:rdoc/matrix_rdoc.html#2.2]
|
8
|
+
# 1. {IO}[link:rdoc/matrix_rdoc.html#2.3]
|
9
|
+
# 1. {Matrix views}[link:rdoc/matrix_rdoc.html#2.4]
|
10
|
+
# 1. {Creating row and column views}[link:rdoc/matrix_rdoc.html#2.5]
|
11
|
+
# 1. {Iterators}[link:rdoc/matrix_rdoc.html#2.6]
|
12
|
+
# 1. {Copying matrices}[link:rdoc/matrix_rdoc.html#2.7]
|
13
|
+
# 1. {Copying rows and columns}[link:rdoc/matrix_rdoc.html#2.8]
|
14
|
+
# 1. {Exchanging rows and columns}[link:rdoc/matrix_rdoc.html#2.9]
|
15
|
+
# 1. {Matrix operations}[link:rdoc/matrix_rdoc.html#2.10]
|
16
|
+
# 1. {Finding maximum and minimum elements of matrices}[link:rdoc/matrix_rdoc.html#2.11]
|
17
|
+
# 1. {Matrix properties}[link:rdoc/matrix_rdoc.html#2.12]
|
18
|
+
# 1. {NArray}[link:rdoc/matrix_rdoc.html#3]
|
19
|
+
# 1. {Special matrices}[link:rdoc/matrix_rdoc.html#4]
|
20
20
|
#
|
21
21
|
# == {}[link:index.html"name="1] Class methods
|
22
22
|
#
|
@@ -194,7 +194,7 @@
|
|
194
194
|
# NOTE: GSL does not provide a matrix copy function that properly copies data
|
195
195
|
# across overlapping memory regions, so watch out if assigning to part of a
|
196
196
|
# Matrix from another part of itself (see <tt>#set</tt> example of
|
197
|
-
# {GSL::Vector}[link:
|
197
|
+
# {GSL::Vector}[link:rdoc/vector_rdoc.html]).
|
198
198
|
#
|
199
199
|
# ---
|
200
200
|
# * GSL::Matrix#get(args)
|
@@ -1084,10 +1084,10 @@
|
|
1084
1084
|
# 2 3 4 1
|
1085
1085
|
# 1 2 3 4 ]
|
1086
1086
|
#
|
1087
|
-
# {prev}[link:
|
1088
|
-
# {next}[link:
|
1087
|
+
# {prev}[link:rdoc/vector_rdoc.html]
|
1088
|
+
# {next}[link:rdoc/perm_rdoc.html]
|
1089
1089
|
#
|
1090
|
-
# {Reference index}[link:
|
1091
|
-
# {top}[link:
|
1090
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
1091
|
+
# {top}[link:index.html]
|
1092
1092
|
#
|
1093
1093
|
#
|
data/rdoc/min.rdoc
CHANGED
@@ -6,11 +6,11 @@
|
|
6
6
|
#
|
7
7
|
#
|
8
8
|
# Contents:
|
9
|
-
# 1. {Introduction}[link:
|
10
|
-
# 1. {GSL::Min::FMinimizer class}[link:
|
11
|
-
# 1. {Iteration}[link:
|
12
|
-
# 1. {Stopping Parameters}[link:
|
13
|
-
# 1. {Examples}[link:
|
9
|
+
# 1. {Introduction}[link:rdoc/min_rdoc.html#1]
|
10
|
+
# 1. {GSL::Min::FMinimizer class}[link:rdoc/min_rdoc.html#2]
|
11
|
+
# 1. {Iteration}[link:rdoc/min_rdoc.html#3]
|
12
|
+
# 1. {Stopping Parameters}[link:rdoc/min_rdoc.html#4]
|
13
|
+
# 1. {Examples}[link:rdoc/min_rdoc.html#5]
|
14
14
|
#
|
15
15
|
# == {}[link:index.html"name="1] Introduction
|
16
16
|
#
|
@@ -41,7 +41,7 @@
|
|
41
41
|
#
|
42
42
|
# The state of the minimizers is held in a <tt>GSL::Min::FMinimizer</tt> object.
|
43
43
|
# The updating procedure use only function evaluations (not derivatives).
|
44
|
-
# The function to minimize is given as an instance of the {GSL::Function}[link:
|
44
|
+
# The function to minimize is given as an instance of the {GSL::Function}[link:rdoc/function_rdoc.html] class to the minimizer.
|
45
45
|
#
|
46
46
|
#
|
47
47
|
# == {}[link:index.html"name="2] GSL::Min::FMinimizer class
|
@@ -180,10 +180,10 @@
|
|
180
180
|
# iter, a, b, m, m - m_expected, b - a);
|
181
181
|
# end while status == GSL::CONTINUE and iter < max_iter
|
182
182
|
#
|
183
|
-
# {prev}[link:
|
184
|
-
# {next}[link:
|
183
|
+
# {prev}[link:rdoc/roots_rdoc.html]
|
184
|
+
# {next}[link:rdoc/multiroot_rdoc.html]
|
185
185
|
#
|
186
|
-
# {Reference index}[link:
|
187
|
-
# {top}[link:
|
186
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
187
|
+
# {top}[link:index.html]
|
188
188
|
#
|
189
189
|
#
|
data/rdoc/monte.rdoc
CHANGED
@@ -225,10 +225,10 @@
|
|
225
225
|
# end while (vegas.chisq-1.0).abs > 0.5
|
226
226
|
# display_results("vegas final", result, error)
|
227
227
|
#
|
228
|
-
# {prev}[link:
|
229
|
-
# {next}[link:
|
228
|
+
# {prev}[link:rdoc/ntuple_rdoc.html]
|
229
|
+
# {next}[link:rdoc/siman_rdoc.html]
|
230
230
|
#
|
231
|
-
# {Reference index}[link:
|
232
|
-
# {top}[link:
|
231
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
232
|
+
# {top}[link:index.html]
|
233
233
|
#
|
234
234
|
#
|
data/rdoc/multimin.rdoc
CHANGED
@@ -11,15 +11,15 @@
|
|
11
11
|
# programs.
|
12
12
|
#
|
13
13
|
# Contents:
|
14
|
-
# 1. {Overview}[link:
|
15
|
-
# 1. {Caveats}[link:
|
16
|
-
# 1. {Initializing the Multidimensional Minimizer}[link:
|
17
|
-
# 1. {Providing a function to minimize}[link:
|
18
|
-
# 1. {Iteration}[link:
|
19
|
-
# 1. {Stopping Criteria}[link:
|
20
|
-
# 1. {Examples}[link:
|
21
|
-
# 1. {FdfMinimizer}[link:
|
22
|
-
# 1. {FMinimizer}[link:
|
14
|
+
# 1. {Overview}[link:rdoc/multimin_rdoc.html#1]
|
15
|
+
# 1. {Caveats}[link:rdoc/multimin_rdoc.html#2]
|
16
|
+
# 1. {Initializing the Multidimensional Minimizer}[link:rdoc/multimin_rdoc.html#3]
|
17
|
+
# 1. {Providing a function to minimize}[link:rdoc/multimin_rdoc.html#4]
|
18
|
+
# 1. {Iteration}[link:rdoc/multimin_rdoc.html#5]
|
19
|
+
# 1. {Stopping Criteria}[link:rdoc/multimin_rdoc.html#6]
|
20
|
+
# 1. {Examples}[link:rdoc/multimin_rdoc.html#7]
|
21
|
+
# 1. {FdfMinimizer}[link:rdoc/multimin_rdoc.html#7.1]
|
22
|
+
# 1. {FMinimizer}[link:rdoc/multimin_rdoc.html#7.2]
|
23
23
|
#
|
24
24
|
# == {}[link:index.html"name="1] Overview
|
25
25
|
# The problem of multidimensional minimization requires finding a point x such
|
@@ -303,10 +303,10 @@
|
|
303
303
|
# printf("f() = %7.3f size = %.3f\n", minimizer.fval, minimizer.size);
|
304
304
|
# end while status == GSL::CONTINUE and iter < 100
|
305
305
|
#
|
306
|
-
# {prev}[link:
|
307
|
-
# {next}[link:
|
306
|
+
# {prev}[link:rdoc/multiroot_rdoc.html]
|
307
|
+
# {next}[link:rdoc/fit_rdoc.html]
|
308
308
|
#
|
309
|
-
# {Reference index}[link:
|
310
|
-
# {top}[link:
|
309
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
310
|
+
# {top}[link:index.html]
|
311
311
|
#
|
312
312
|
#
|