rb-gsl 1.16.0.4 → 1.16.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +12 -0
- data/.travis.yml +24 -0
- data/AUTHORS +6 -0
- data/COPYING +341 -339
- data/ChangeLog +608 -587
- data/Gemfile +4 -0
- data/README.md +77 -0
- data/Rakefile +14 -33
- data/THANKS +1 -1
- data/examples/blas/blas.rb +1 -1
- data/examples/bspline.rb +3 -3
- data/examples/complex/functions.rb +4 -4
- data/examples/complex/mul.rb +1 -1
- data/examples/const/physconst.rb +4 -4
- data/examples/const/travel.rb +4 -4
- data/examples/eigen/nonsymmv.rb +1 -1
- data/examples/eigen/qhoscillator.rb +3 -3
- data/examples/fft/radix2.rb +1 -1
- data/examples/fft/real-halfcomplex.rb +3 -3
- data/examples/fft/real-halfcomplex2.rb +3 -3
- data/examples/fit/expfit.rb +1 -1
- data/examples/fit/multifit.rb +1 -1
- data/examples/fit/ndlinear.rb +44 -44
- data/examples/fit/nonlinearfit.rb +1 -1
- data/examples/fit/wlinear.rb +3 -3
- data/examples/function/function.rb +1 -1
- data/examples/function/min.rb +1 -1
- data/examples/function/synchrotron.rb +2 -2
- data/examples/gallery/koch.rb +1 -1
- data/examples/histogram/cauchy.rb +2 -2
- data/examples/histogram/exponential.rb +1 -1
- data/examples/histogram/histo3d.rb +1 -1
- data/examples/histogram/histogram-pdf.rb +2 -2
- data/examples/histogram/xexp.rb +1 -1
- data/examples/integration/ahmed.rb +2 -2
- data/examples/integration/cosmology.rb +7 -7
- data/examples/integration/friedmann.rb +4 -4
- data/examples/integration/qng.rb +1 -1
- data/examples/interp/demo.rb +2 -2
- data/examples/linalg/LQ_solve.rb +1 -1
- data/examples/linalg/LU.rb +1 -1
- data/examples/linalg/LU2.rb +1 -1
- data/examples/linalg/LU_narray.rb +1 -1
- data/examples/linalg/PTLQ.rb +1 -1
- data/examples/linalg/QRPT.rb +1 -1
- data/examples/linalg/chol.rb +1 -1
- data/examples/linalg/chol_narray.rb +1 -1
- data/examples/linalg/complex.rb +1 -1
- data/examples/math/elementary.rb +1 -1
- data/examples/math/functions.rb +1 -1
- data/examples/math/inf_nan.rb +1 -1
- data/examples/math/minmax.rb +1 -1
- data/examples/math/power.rb +1 -1
- data/examples/math/test.rb +1 -1
- data/examples/min.rb +1 -1
- data/examples/multimin/bundle.rb +1 -1
- data/examples/multimin/cqp.rb +17 -17
- data/examples/multiroot/fsolver3.rb +1 -1
- data/examples/odeiv/binarysystem.rb +12 -12
- data/examples/odeiv/demo.rb +3 -3
- data/examples/odeiv/frei1.rb +7 -7
- data/examples/odeiv/frei2.rb +4 -4
- data/examples/odeiv/oscillator.rb +1 -1
- data/examples/odeiv/sedov.rb +3 -3
- data/examples/odeiv/whitedwarf.rb +11 -11
- data/examples/permutation/ex1.rb +2 -2
- data/examples/permutation/permutation.rb +1 -1
- data/examples/poly/demo.rb +1 -1
- data/examples/random/diffusion.rb +1 -1
- data/examples/random/generator.rb +2 -2
- data/examples/random/randomwalk.rb +3 -3
- data/examples/random/rng.rb +1 -1
- data/examples/roots/bisection.rb +1 -1
- data/examples/roots/brent.rb +1 -1
- data/examples/roots/demo.rb +1 -1
- data/examples/roots/newton.rb +2 -2
- data/examples/roots/recombination.gp +0 -1
- data/examples/sf/hyperg.rb +1 -1
- data/examples/sf/sphbessel.rb +1 -1
- data/examples/sort/sort.rb +1 -1
- data/examples/tamu_anova.rb +4 -4
- data/examples/vector/add.rb +1 -1
- data/examples/vector/decimate.rb +1 -1
- data/examples/vector/gnuplot.rb +8 -8
- data/examples/vector/vector.rb +2 -2
- data/examples/wavelet/wavelet1.rb +1 -1
- data/ext/{gsl → gsl_native}/alf.c +9 -9
- data/ext/{gsl → gsl_native}/array.c +64 -151
- data/ext/{gsl → gsl_native}/array_complex.c +61 -63
- data/ext/{gsl → gsl_native}/blas.c +0 -0
- data/ext/{gsl → gsl_native}/blas1.c +32 -32
- data/ext/{gsl → gsl_native}/blas2.c +54 -58
- data/ext/{gsl → gsl_native}/blas3.c +54 -54
- data/ext/{gsl → gsl_native}/block.c +3 -6
- data/ext/{gsl/block_source.c → gsl_native/block_source.h} +109 -111
- data/ext/gsl_native/bspline.c +122 -0
- data/ext/{gsl → gsl_native}/bundle.c +0 -0
- data/ext/{gsl → gsl_native}/cdf.c +76 -88
- data/ext/{gsl → gsl_native}/cheb.c +74 -85
- data/ext/{gsl → gsl_native}/combination.c +9 -16
- data/ext/{gsl → gsl_native}/common.c +7 -37
- data/ext/{gsl → gsl_native}/complex.c +113 -115
- data/ext/gsl_native/const.c +331 -0
- data/ext/{gsl → gsl_native}/const_additional.c +12 -33
- data/ext/gsl_native/cqp.c +283 -0
- data/ext/{gsl → gsl_native}/deriv.c +22 -30
- data/ext/{gsl → gsl_native}/dht.c +20 -28
- data/ext/{gsl → gsl_native}/diff.c +23 -25
- data/ext/{gsl → gsl_native}/dirac.c +44 -45
- data/ext/{gsl → gsl_native}/eigen.c +1031 -1082
- data/ext/{gsl → gsl_native}/error.c +13 -13
- data/ext/{gsl → gsl_native}/extconf.rb +5 -13
- data/ext/{gsl → gsl_native}/fft.c +192 -198
- data/ext/{gsl → gsl_native}/fit.c +16 -16
- data/ext/gsl_native/fresnel.c +312 -0
- data/ext/{gsl → gsl_native}/function.c +29 -35
- data/ext/{gsl → gsl_native}/geometry.c +15 -15
- data/ext/{gsl → gsl_native}/graph.c +37 -87
- data/ext/{gsl → gsl_native}/gsl.c +10 -23
- data/ext/{gsl → gsl_native}/gsl_narray.c +15 -24
- data/ext/{gsl → gsl_native}/histogram.c +123 -150
- data/ext/{gsl → gsl_native}/histogram2d.c +71 -96
- data/ext/{gsl → gsl_native}/histogram3d.c +72 -72
- data/ext/{gsl → gsl_native}/histogram3d_source.c +195 -196
- data/ext/{gsl → gsl_native}/histogram_find.c +31 -33
- data/ext/{gsl → gsl_native}/histogram_oper.c +43 -52
- data/ext/{gsl → gsl_native}/ieee.c +7 -15
- data/ext/{gsl → gsl_native}/include/rb_gsl.h +0 -7
- data/ext/{gsl → gsl_native}/include/rb_gsl_array.h +15 -25
- data/ext/{gsl → gsl_native}/include/rb_gsl_cheb.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_common.h +44 -52
- data/ext/{gsl → gsl_native}/include/rb_gsl_complex.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_const.h +0 -5
- data/ext/{gsl → gsl_native}/include/rb_gsl_dirac.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_eigen.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_fft.h +0 -3
- data/ext/{gsl → gsl_native}/include/rb_gsl_fit.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_function.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_graph.h +2 -2
- data/ext/{gsl → gsl_native}/include/rb_gsl_histogram.h +8 -8
- data/ext/{gsl → gsl_native}/include/rb_gsl_histogram3d.h +50 -50
- data/ext/{gsl → gsl_native}/include/rb_gsl_integration.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_interp.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_linalg.h +0 -1
- data/ext/{gsl → gsl_native}/include/rb_gsl_math.h +0 -4
- data/ext/{gsl → gsl_native}/include/rb_gsl_odeiv.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_poly.h +3 -3
- data/ext/{gsl → gsl_native}/include/rb_gsl_rational.h +1 -1
- data/ext/{gsl → gsl_native}/include/rb_gsl_rng.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_root.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_sf.h +39 -43
- data/ext/{gsl → gsl_native}/include/rb_gsl_statistics.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_tensor.h +0 -0
- data/ext/{gsl → gsl_native}/include/rb_gsl_with_narray.h +0 -0
- data/ext/{gsl → gsl_native}/include/templates_off.h +0 -0
- data/ext/{gsl → gsl_native}/include/templates_on.h +1 -1
- data/ext/{gsl → gsl_native}/integration.c +160 -183
- data/ext/{gsl → gsl_native}/interp.c +23 -31
- data/ext/gsl_native/jacobi.c +733 -0
- data/ext/{gsl → gsl_native}/linalg.c +448 -576
- data/ext/{gsl → gsl_native}/linalg_complex.c +84 -98
- data/ext/{gsl → gsl_native}/math.c +45 -63
- data/ext/{gsl → gsl_native}/matrix.c +4 -6
- data/ext/{gsl → gsl_native}/matrix_complex.c +111 -114
- data/ext/{gsl → gsl_native}/matrix_double.c +74 -77
- data/ext/{gsl → gsl_native}/matrix_int.c +49 -50
- data/ext/{gsl/matrix_source.c → gsl_native/matrix_source.h} +280 -302
- data/ext/{gsl → gsl_native}/min.c +43 -74
- data/ext/{gsl → gsl_native}/monte.c +45 -59
- data/ext/{gsl → gsl_native}/multifit.c +138 -147
- data/ext/{gsl → gsl_native}/multimin.c +55 -83
- data/ext/{gsl → gsl_native}/multimin_fsdf.c +15 -15
- data/ext/{gsl → gsl_native}/multiroots.c +61 -64
- data/ext/{gsl → gsl_native}/multiset.c +3 -7
- data/ext/{gsl → gsl_native}/ndlinear.c +320 -321
- data/ext/{gsl → gsl_native}/nmf.c +11 -11
- data/ext/{gsl → gsl_native}/nmf_wrap.c +1 -1
- data/ext/{gsl → gsl_native}/ntuple.c +13 -13
- data/ext/{gsl → gsl_native}/odeiv.c +95 -106
- data/ext/gsl_native/ool.c +879 -0
- data/ext/{gsl → gsl_native}/permutation.c +36 -34
- data/ext/{gsl → gsl_native}/poly.c +2 -5
- data/ext/{gsl → gsl_native}/poly2.c +6 -6
- data/ext/{gsl/poly_source.c → gsl_native/poly_source.h} +232 -275
- data/ext/{gsl → gsl_native}/qrng.c +6 -17
- data/ext/{gsl → gsl_native}/randist.c +218 -243
- data/ext/{gsl → gsl_native}/rational.c +9 -9
- data/ext/{gsl → gsl_native}/rng.c +29 -45
- data/ext/{gsl → gsl_native}/root.c +43 -43
- data/ext/{gsl → gsl_native}/sf.c +163 -197
- data/ext/{gsl → gsl_native}/sf_airy.c +0 -0
- data/ext/{gsl → gsl_native}/sf_bessel.c +6 -6
- data/ext/{gsl → gsl_native}/sf_clausen.c +0 -0
- data/ext/{gsl → gsl_native}/sf_coulomb.c +39 -39
- data/ext/{gsl → gsl_native}/sf_coupling.c +29 -29
- data/ext/{gsl → gsl_native}/sf_dawson.c +0 -0
- data/ext/{gsl → gsl_native}/sf_debye.c +0 -9
- data/ext/{gsl → gsl_native}/sf_dilog.c +0 -0
- data/ext/{gsl → gsl_native}/sf_elementary.c +2 -2
- data/ext/{gsl → gsl_native}/sf_ellint.c +42 -42
- data/ext/{gsl → gsl_native}/sf_elljac.c +2 -2
- data/ext/{gsl → gsl_native}/sf_erfc.c +0 -4
- data/ext/{gsl → gsl_native}/sf_exp.c +2 -2
- data/ext/{gsl → gsl_native}/sf_expint.c +1 -11
- data/ext/{gsl → gsl_native}/sf_fermi_dirac.c +0 -0
- data/ext/{gsl → gsl_native}/sf_gamma.c +1 -5
- data/ext/{gsl → gsl_native}/sf_gegenbauer.c +0 -0
- data/ext/{gsl → gsl_native}/sf_hyperg.c +0 -0
- data/ext/{gsl → gsl_native}/sf_laguerre.c +3 -3
- data/ext/{gsl → gsl_native}/sf_lambert.c +0 -0
- data/ext/{gsl → gsl_native}/sf_legendre.c +0 -0
- data/ext/{gsl → gsl_native}/sf_log.c +3 -3
- data/ext/gsl_native/sf_mathieu.c +235 -0
- data/ext/{gsl → gsl_native}/sf_power.c +0 -0
- data/ext/{gsl → gsl_native}/sf_psi.c +2 -11
- data/ext/{gsl → gsl_native}/sf_synchrotron.c +0 -0
- data/ext/{gsl → gsl_native}/sf_transport.c +0 -0
- data/ext/{gsl → gsl_native}/sf_trigonometric.c +3 -3
- data/ext/{gsl → gsl_native}/sf_zeta.c +0 -4
- data/ext/{gsl → gsl_native}/signal.c +60 -64
- data/ext/{gsl → gsl_native}/siman.c +36 -40
- data/ext/{gsl → gsl_native}/sort.c +3 -4
- data/ext/{gsl → gsl_native}/spline.c +25 -43
- data/ext/{gsl → gsl_native}/stats.c +102 -115
- data/ext/{gsl → gsl_native}/sum.c +32 -32
- data/ext/{gsl → gsl_native}/tamu_anova.c +0 -0
- data/ext/{gsl → gsl_native}/tensor.c +2 -4
- data/ext/{gsl/tensor_source.c → gsl_native/tensor_source.h} +144 -144
- data/ext/{gsl → gsl_native}/vector.c +2 -4
- data/ext/{gsl → gsl_native}/vector_complex.c +165 -171
- data/ext/{gsl → gsl_native}/vector_double.c +167 -174
- data/ext/{gsl → gsl_native}/vector_int.c +23 -25
- data/ext/{gsl/vector_source.c → gsl_native/vector_source.h} +400 -414
- data/ext/{gsl → gsl_native}/wavelet.c +215 -236
- data/lib/gsl.rb +1 -7
- data/lib/gsl/gnuplot.rb +2 -2
- data/lib/gsl/version.rb +1 -3
- data/rb-gsl.gemspec +29 -0
- data/rdoc/blas.rdoc +3 -3
- data/rdoc/bspline.rdoc +7 -7
- data/rdoc/cheb.rdoc +8 -8
- data/rdoc/cholesky_complex.rdoc +1 -1
- data/rdoc/combi.rdoc +9 -9
- data/rdoc/complex.rdoc +11 -11
- data/rdoc/const.rdoc +20 -20
- data/rdoc/dht.rdoc +6 -6
- data/rdoc/diff.rdoc +6 -6
- data/rdoc/ehandling.rdoc +3 -3
- data/rdoc/eigen.rdoc +11 -11
- data/rdoc/fft.rdoc +26 -26
- data/rdoc/fit.rdoc +18 -18
- data/rdoc/graph.rdoc +2 -2
- data/rdoc/hist.rdoc +16 -16
- data/rdoc/hist2d.rdoc +4 -4
- data/rdoc/hist3d.rdoc +3 -3
- data/rdoc/integration.rdoc +16 -16
- data/rdoc/interp.rdoc +11 -11
- data/rdoc/intro.rdoc +3 -3
- data/rdoc/linalg.rdoc +20 -20
- data/rdoc/linalg_complex.rdoc +1 -1
- data/rdoc/math.rdoc +13 -13
- data/rdoc/matrix.rdoc +22 -22
- data/rdoc/min.rdoc +9 -9
- data/rdoc/monte.rdoc +3 -3
- data/rdoc/multimin.rdoc +12 -12
- data/rdoc/multiroot.rdoc +12 -12
- data/rdoc/narray.rdoc +9 -9
- data/rdoc/ndlinear.rdoc +4 -4
- data/rdoc/nonlinearfit.rdoc +17 -17
- data/rdoc/ntuple.rdoc +5 -5
- data/rdoc/odeiv.rdoc +12 -12
- data/rdoc/perm.rdoc +11 -11
- data/rdoc/poly.rdoc +17 -17
- data/rdoc/qrng.rdoc +9 -9
- data/rdoc/randist.rdoc +10 -10
- data/rdoc/ref.rdoc +49 -49
- data/rdoc/rng.rdoc +9 -9
- data/rdoc/roots.rdoc +12 -12
- data/rdoc/sf.rdoc +35 -35
- data/rdoc/siman.rdoc +3 -3
- data/rdoc/sort.rdoc +6 -6
- data/rdoc/start.rdoc +2 -2
- data/rdoc/stats.rdoc +13 -13
- data/rdoc/sum.rdoc +4 -4
- data/rdoc/tensor.rdoc +3 -3
- data/rdoc/tut.rdoc +1 -1
- data/rdoc/use.rdoc +3 -3
- data/rdoc/vector.rdoc +28 -28
- data/rdoc/vector_complex.rdoc +6 -6
- data/rdoc/wavelet.rdoc +8 -8
- data/test/gsl/blas_test.rb +1 -1
- data/test/gsl/index_test.rb +61 -0
- data/test/gsl/matrix_test.rb +21 -0
- data/uncrustify.cfg +1693 -0
- metadata +212 -243
- data/README +0 -28
- data/ext/gsl/bspline.c +0 -130
- data/ext/gsl/const.c +0 -672
- data/ext/gsl/cqp.c +0 -283
- data/ext/gsl/fcmp.c +0 -64
- data/ext/gsl/fresnel.c +0 -312
- data/ext/gsl/jacobi.c +0 -739
- data/ext/gsl/ool.c +0 -879
- data/ext/gsl/oper_complex_source.c +0 -251
- data/ext/gsl/sf_mathieu.c +0 -238
- data/rdoc/index.rdoc +0 -50
data/rdoc/fit.rdoc
CHANGED
@@ -11,19 +11,19 @@
|
|
11
11
|
# two-parameter regression and multiple-parameter fits.
|
12
12
|
#
|
13
13
|
# Contents:
|
14
|
-
# 1. {Overview}[link:fit_rdoc.html#label-Overview]
|
15
|
-
# 1. {Linear regression}[link:fit_rdoc.html#label-Linear+regression]
|
16
|
-
# 1. {Module functions for linear regression}[link:fit_rdoc.html#label-Module+functions+for+linear+regression]
|
17
|
-
# 1. {Linear fitting without a constant term}[link:fit_rdoc.html#label-Linear+fitting+without+a+constant+term]
|
18
|
-
# 1. {Multi-parameter fitting}[link:fit_rdoc.html#label-Multi-parameter+fitting]
|
19
|
-
# 1. {GSL::MultiFit::Workspace class}[link:fit_rdoc.html#label-Workspace+class]
|
20
|
-
# 1. {Module functions}[link:fit_rdoc.html#label-Module+functions]
|
21
|
-
# 1. {Higer level interface}[link:fit_rdoc.html#label-Higer+level+interface]
|
22
|
-
# 1. {NDLINEAR: multi-linear, multi-parameter least squares fitting}[link:ndlinear_rdoc.html] (GSL extension)
|
23
|
-
# 1. {Examples}[link:fit_rdoc.html#label-Examples]
|
24
|
-
# 1. {Linear regression}[link:fit_rdoc.html#label-Linear+regression]
|
25
|
-
# 1. {Exponential fitting}[link:fit_rdoc.html#label-Exponential+fitting]
|
26
|
-
# 1. {Multi-parameter fitting}[link:fit_rdoc.html#label-Multi-parameter+fitting]
|
14
|
+
# 1. {Overview}[link:rdoc/fit_rdoc.html#label-Overview]
|
15
|
+
# 1. {Linear regression}[link:rdoc/fit_rdoc.html#label-Linear+regression]
|
16
|
+
# 1. {Module functions for linear regression}[link:rdoc/fit_rdoc.html#label-Module+functions+for+linear+regression]
|
17
|
+
# 1. {Linear fitting without a constant term}[link:rdoc/fit_rdoc.html#label-Linear+fitting+without+a+constant+term]
|
18
|
+
# 1. {Multi-parameter fitting}[link:rdoc/fit_rdoc.html#label-Multi-parameter+fitting]
|
19
|
+
# 1. {GSL::MultiFit::Workspace class}[link:rdoc/fit_rdoc.html#label-Workspace+class]
|
20
|
+
# 1. {Module functions}[link:rdoc/fit_rdoc.html#label-Module+functions]
|
21
|
+
# 1. {Higer level interface}[link:rdoc/fit_rdoc.html#label-Higer+level+interface]
|
22
|
+
# 1. {NDLINEAR: multi-linear, multi-parameter least squares fitting}[link:rdoc/ndlinear_rdoc.html] (GSL extension)
|
23
|
+
# 1. {Examples}[link:rdoc/fit_rdoc.html#label-Examples]
|
24
|
+
# 1. {Linear regression}[link:rdoc/fit_rdoc.html#label-Linear+regression]
|
25
|
+
# 1. {Exponential fitting}[link:rdoc/fit_rdoc.html#label-Exponential+fitting]
|
26
|
+
# 1. {Multi-parameter fitting}[link:rdoc/fit_rdoc.html#label-Multi-parameter+fitting]
|
27
27
|
#
|
28
28
|
# == Overview
|
29
29
|
# Least-squares fits are found by minimizing \chi^2 (chi-squared), the weighted
|
@@ -145,9 +145,9 @@
|
|
145
145
|
# from the scatter of the observations about the best-fit. The sum of squares
|
146
146
|
# of the residuals from the best-fit is also calculated. The returned value is
|
147
147
|
# an array of 4 elements, <tt>[c, cov, chisq, status]</tt>, where <tt>c</tt> is a
|
148
|
-
# {GSL::Vector}[link:vector_rdoc.html] object which contains the best-fit parameters,
|
148
|
+
# {GSL::Vector}[link:rdoc/vector_rdoc.html] object which contains the best-fit parameters,
|
149
149
|
# and <tt>cov</tt> is the variance-covariance matrix as a
|
150
|
-
# {GSL::Matrix}[link:matrix_rdoc.html] object.
|
150
|
+
# {GSL::Matrix}[link:rdoc/matrix_rdoc.html] object.
|
151
151
|
#
|
152
152
|
# The best-fit is found by singular value decomposition of the matrix <tt>X</tt>
|
153
153
|
# using the workspace provided in <tt>work</tt> (optional, if not given, it is allocated
|
@@ -275,10 +275,10 @@
|
|
275
275
|
#
|
276
276
|
# c, cov, chisq, status = MultiFit.wlinear(X, w, y)
|
277
277
|
#
|
278
|
-
# {prev}[link:multimin_rdoc.html]
|
279
|
-
# {next}[link:nonlinearfit_rdoc.html]
|
278
|
+
# {prev}[link:rdoc/multimin_rdoc.html]
|
279
|
+
# {next}[link:rdoc/nonlinearfit_rdoc.html]
|
280
280
|
#
|
281
|
-
# {Reference index}[link:ref_rdoc.html]
|
281
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
282
282
|
# {top}[link:index.html]
|
283
283
|
#
|
284
284
|
#
|
data/rdoc/graph.rdoc
CHANGED
data/rdoc/hist.rdoc
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
#
|
2
2
|
# = Histograms
|
3
|
-
# 1. {Histogram allocation}[link:hist_rdoc.html#label-Histogram+allocation]
|
4
|
-
# 1. {Copying histograms}[link:hist_rdoc.html#label-Copying+Histograms]
|
5
|
-
# 1. {Updating and accessing histogram elements}[link:hist_rdoc.html#label-Updating+and+accessing+histogram+elements]
|
6
|
-
# 1. {Searching histogram ranges}[link:hist_rdoc.html#label-Searching+histogram+ranges]
|
7
|
-
# 1. {Histogram Statistics}[link:hist_rdoc.html#label-Histogram+Statistics]
|
8
|
-
# 1. {Histogram Operations}[link:hist_rdoc.html#label-Histogram+Operations]
|
9
|
-
# 1. {Reading and writing histograms}[link:hist_rdoc.html#label-Reading+and+writing+histograms]
|
10
|
-
# 1. {Extensions}[link:hist_rdoc.html#label-Extentions]
|
11
|
-
# 1. {Histogram Operations}[link:hist_rdoc.html#label-Histogram+operations]
|
12
|
-
# 1. {Graph interface}[link:hist_rdoc.html#label-Graphics]
|
13
|
-
# 1. {Histogram Fittings}[link:hist_rdoc.html#label-Fitting]
|
14
|
-
# 1. {The histogram probability distribution}[link:hist_rdoc.html#label-The+histogram+probability+distribution]
|
3
|
+
# 1. {Histogram allocation}[link:rdoc/hist_rdoc.html#label-Histogram+allocation]
|
4
|
+
# 1. {Copying histograms}[link:rdoc/hist_rdoc.html#label-Copying+Histograms]
|
5
|
+
# 1. {Updating and accessing histogram elements}[link:rdoc/hist_rdoc.html#label-Updating+and+accessing+histogram+elements]
|
6
|
+
# 1. {Searching histogram ranges}[link:rdoc/hist_rdoc.html#label-Searching+histogram+ranges]
|
7
|
+
# 1. {Histogram Statistics}[link:rdoc/hist_rdoc.html#label-Histogram+Statistics]
|
8
|
+
# 1. {Histogram Operations}[link:rdoc/hist_rdoc.html#label-Histogram+Operations]
|
9
|
+
# 1. {Reading and writing histograms}[link:rdoc/hist_rdoc.html#label-Reading+and+writing+histograms]
|
10
|
+
# 1. {Extensions}[link:rdoc/hist_rdoc.html#label-Extentions]
|
11
|
+
# 1. {Histogram Operations}[link:rdoc/hist_rdoc.html#label-Histogram+operations]
|
12
|
+
# 1. {Graph interface}[link:rdoc/hist_rdoc.html#label-Graphics]
|
13
|
+
# 1. {Histogram Fittings}[link:rdoc/hist_rdoc.html#label-Fitting]
|
14
|
+
# 1. {The histogram probability distribution}[link:rdoc/hist_rdoc.html#label-The+histogram+probability+distribution]
|
15
15
|
#
|
16
16
|
# == Histogram allocation
|
17
17
|
# ---
|
@@ -71,7 +71,7 @@
|
|
71
71
|
# ---
|
72
72
|
# * GSL::Histogram#set_ranges(v)
|
73
73
|
#
|
74
|
-
# This sets the ranges of the existing histogram using a {GSL::Vector}[link:vector_rdoc.html] object.
|
74
|
+
# This sets the ranges of the existing histogram using a {GSL::Vector}[link:rdoc/vector_rdoc.html] object.
|
75
75
|
# ---
|
76
76
|
# * GSL::Histogram#set_ranges_uniform(xmin, xmax)
|
77
77
|
# * GSL::Histogram#set_ranges_uniform([xmin, xmax])
|
@@ -400,10 +400,10 @@
|
|
400
400
|
# This returns a <tt>Vector::View</tt> object as a reference to the pointer
|
401
401
|
# <tt>double *sum</tt> in the <tt>gsl_histogram_pdf</tt> struct.
|
402
402
|
#
|
403
|
-
# {prev}[link:stats_rdoc.html]
|
404
|
-
# {next}[link:hist2d_rdoc.html]
|
403
|
+
# {prev}[link:rdoc/stats_rdoc.html]
|
404
|
+
# {next}[link:rdoc/hist2d_rdoc.html]
|
405
405
|
#
|
406
|
-
# {Reference index}[link:ref_rdoc.html]
|
406
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
407
407
|
# {top}[link:index.html]
|
408
408
|
#
|
409
409
|
#
|
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:vector_rdoc.html] objects or arrays.
|
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:hist_rdoc.html]
|
275
|
-
# {next}[link:hist3d_rdoc.html]
|
274
|
+
# {prev}[link:rdoc/hist_rdoc.html]
|
275
|
+
# {next}[link:rdoc/hist3d_rdoc.html]
|
276
276
|
#
|
277
|
-
# {Reference index}[link:ref_rdoc.html]
|
277
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
278
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:hist2d_rdoc.html]
|
108
|
-
# {next}[link:ntuple_rdoc.html]
|
107
|
+
# {prev}[link:rdoc/hist2d_rdoc.html]
|
108
|
+
# {next}[link:rdoc/ntuple_rdoc.html]
|
109
109
|
#
|
110
|
-
# {Reference index}[link:ref_rdoc.html]
|
110
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
111
111
|
# {top}[link:index.html]
|
112
112
|
#
|
data/rdoc/integration.rdoc
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
#
|
2
2
|
# = Numerical Integration
|
3
3
|
# Contents:
|
4
|
-
# 1. {Introduction}[link:integration_rdoc.html#label-Introduction]
|
5
|
-
# 1. {QNG non-adaptive Gauss-Kronrod integration}[link:integration_rdoc.html#label-QNG+non-adaptive+Gauss-Kronrod+integration]
|
6
|
-
# 1. {QAG adaptive integration}[link:integration_rdoc.html#label-QAG+adaptive+integration]
|
7
|
-
# 1. {GSL::Integration::Workspace class}[link:integration_rdoc.html#label-Workspace+class]
|
8
|
-
# 1. {Methods}[link:integration_rdoc.html#label-Methods]
|
9
|
-
# 1. {QAGS adaptive integration with singularities}[link:integration_rdoc.html#label-QAGS+adaptive+integration+with+singularities]
|
10
|
-
# 1. {QAGP adaptive integration with known singular points}[link:integration_rdoc.html#label-QAGP+adaptive+integration+with+known+singular+points]
|
11
|
-
# 1. {QAGI adaptive integration on infinite intervals}[link:integration_rdoc.html#label-QAGI+adaptive+integration+on+infinite+intervals]
|
12
|
-
# 1. {QAWC adaptive integration for Cauchy principal values}[link:integration_rdoc.html#label-QAWC+adaptive+integration+for+Cauchy+principal+values]
|
13
|
-
# 1. {QAWS adaptive integration for singular functions}[link:integration_rdoc.html#label-QAWS+adaptive+integration+for+singular+functions]
|
14
|
-
# 1. {QAWO adaptive integration for oscillatory functions}[link:integration_rdoc.html#label-QAWO+adaptive+integration+for+oscillatory+functions]
|
15
|
-
# 1. {QAWF adaptive integration for Fourier integrals}[link:integration_rdoc.html#label-QAWF+adaptive+integration+for+Fourier+integrals]
|
4
|
+
# 1. {Introduction}[link:rdoc/integration_rdoc.html#label-Introduction]
|
5
|
+
# 1. {QNG non-adaptive Gauss-Kronrod integration}[link:rdoc/integration_rdoc.html#label-QNG+non-adaptive+Gauss-Kronrod+integration]
|
6
|
+
# 1. {QAG adaptive integration}[link:rdoc/integration_rdoc.html#label-QAG+adaptive+integration]
|
7
|
+
# 1. {GSL::Integration::Workspace class}[link:rdoc/integration_rdoc.html#label-Workspace+class]
|
8
|
+
# 1. {Methods}[link:rdoc/integration_rdoc.html#label-Methods]
|
9
|
+
# 1. {QAGS adaptive integration with singularities}[link:rdoc/integration_rdoc.html#label-QAGS+adaptive+integration+with+singularities]
|
10
|
+
# 1. {QAGP adaptive integration with known singular points}[link:rdoc/integration_rdoc.html#label-QAGP+adaptive+integration+with+known+singular+points]
|
11
|
+
# 1. {QAGI adaptive integration on infinite intervals}[link:rdoc/integration_rdoc.html#label-QAGI+adaptive+integration+on+infinite+intervals]
|
12
|
+
# 1. {QAWC adaptive integration for Cauchy principal values}[link:rdoc/integration_rdoc.html#label-QAWC+adaptive+integration+for+Cauchy+principal+values]
|
13
|
+
# 1. {QAWS adaptive integration for singular functions}[link:rdoc/integration_rdoc.html#label-QAWS+adaptive+integration+for+singular+functions]
|
14
|
+
# 1. {QAWO adaptive integration for oscillatory functions}[link:rdoc/integration_rdoc.html#label-QAWO+adaptive+integration+for+oscillatory+functions]
|
15
|
+
# 1. {QAWF adaptive integration for Fourier integrals}[link:rdoc/integration_rdoc.html#label-QAWF+adaptive+integration+for+Fourier+integrals]
|
16
16
|
#
|
17
17
|
# == 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:function_rdoc.html] objects.
|
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:wavelet_rdoc.html]
|
393
|
-
# {next}[link:rng_rdoc.html]
|
392
|
+
# {prev}[link:rdoc/wavelet_rdoc.html]
|
393
|
+
# {next}[link:rdoc/rng_rdoc.html]
|
394
394
|
#
|
395
|
-
# {Reference index}[link:ref_rdoc.html]
|
395
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
396
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:interp_rdoc.html#label-Interpolation+Classes]
|
12
|
-
# 1. {Initializing interpolation objects}[link:interp_rdoc.html#label-Initializing+interpolation+objects]
|
13
|
-
# 1. {Index Look-up and Acceleration}[link:interp_rdoc.html#label-Index+Look-up+and+Acceleration]
|
14
|
-
# 1. {Evaluation of Interpolating Functions}[link:interp_rdoc.html#label-Evaluation+of+Interpolating+Functions]
|
15
|
-
# 1. {Higher level interface: GSL::Spline class}[link:interp_rdoc.html#label-Higher+level+interface]
|
16
|
-
# 1. {Class initialization}[link:interp_rdoc.html#label-Class+initialization]
|
17
|
-
# 1. {Evaluation}[link:interp_rdoc.html#label-Evaluation]
|
18
|
-
# 1. {Finding and acceleration}[link:interp_rdoc.html#label-Finding+and+acceleration]
|
11
|
+
# 1. {Interpolation classes}[link:rdoc/interp_rdoc.html#label-Interpolation+Classes]
|
12
|
+
# 1. {Initializing interpolation objects}[link:rdoc/interp_rdoc.html#label-Initializing+interpolation+objects]
|
13
|
+
# 1. {Index Look-up and Acceleration}[link:rdoc/interp_rdoc.html#label-Index+Look-up+and+Acceleration]
|
14
|
+
# 1. {Evaluation of Interpolating Functions}[link:rdoc/interp_rdoc.html#label-Evaluation+of+Interpolating+Functions]
|
15
|
+
# 1. {Higher level interface: GSL::Spline class}[link:rdoc/interp_rdoc.html#label-Higher+level+interface]
|
16
|
+
# 1. {Class initialization}[link:rdoc/interp_rdoc.html#label-Class+initialization]
|
17
|
+
# 1. {Evaluation}[link:rdoc/interp_rdoc.html#label-Evaluation]
|
18
|
+
# 1. {Finding and acceleration}[link:rdoc/interp_rdoc.html#label-Finding+and+acceleration]
|
19
19
|
#
|
20
20
|
# == Interpolation Classes
|
21
21
|
# * GSL
|
@@ -221,10 +221,10 @@
|
|
221
221
|
#
|
222
222
|
# See also the GSL manual and the examples in <tt>examples/</tt>
|
223
223
|
#
|
224
|
-
# {prev}[link:odeiv_rdoc.html]
|
225
|
-
# {next}[link:diff_rdoc.html]
|
224
|
+
# {prev}[link:rdoc/odeiv_rdoc.html]
|
225
|
+
# {next}[link:rdoc/diff_rdoc.html]
|
226
226
|
#
|
227
|
-
# {Reference index}[link:ref_rdoc.html]
|
227
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
228
228
|
# {top}[link:index.html]
|
229
229
|
#
|
230
230
|
#
|
data/rdoc/intro.rdoc
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
# written for very high level languages. The source code is distributed
|
9
9
|
# under the GNU General Public License.
|
10
10
|
#
|
11
|
-
# {Ruby/GSL}[https://
|
11
|
+
# {Ruby/GSL}[https://sciruby.github.com/rb-gsl] is a Ruby
|
12
12
|
# extension for GSL. This provides higher-level interfaces to the GSL functions.
|
13
13
|
#
|
14
14
|
# == Requirements
|
@@ -19,9 +19,9 @@
|
|
19
19
|
# == Installation
|
20
20
|
# See {here}[link:index.html].
|
21
21
|
#
|
22
|
-
# {next}[link:use_rdoc.html]
|
22
|
+
# {next}[link:rdoc/use_rdoc.html]
|
23
23
|
#
|
24
|
-
# {Reference index}[link:ref_rdoc.html]
|
24
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
25
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:linalg_rdoc.html#label-LU+Decomposition]
|
6
|
-
# 1. {QR Decomposition}[link:linalg_rdoc.html#label-QR+decomposition]
|
7
|
-
# 1. {QR Decomposition with Column Pivoting}[link:linalg_rdoc.html#label-QR+Decomposition+with+Column+Pivoting]
|
8
|
-
# 1. {Singular Value Decomposition}[link:linalg_rdoc.html#label-Singular+Value+Decomposition]
|
9
|
-
# 1. {Cholesky Decomposition}[link:linalg_rdoc.html#label-Cholesky+Decomposition]
|
10
|
-
# 1. {Tridiagonal Decomposition of Real Symmetric Matrices}[link:linalg_rdoc.html#label-Tridiagonal+Decomposition+of+Real+Symmetric+Matrices]
|
11
|
-
# 1. {Tridiagonal Decomposition of Hermitian Matrices}[link:linalg_rdoc.html#label-Tridiagonal+Decomposition+of+Hermitian+Matrices]
|
12
|
-
# 1. {Hessenberg Decomposition of Real Matrices}[link:linalg_rdoc.html#label-Hessenberg+Decomposition+of+Real+Matrices]
|
13
|
-
# 1. {Hessenberg-Triangular Decomposition of Real Matrices}[link:linalg_rdoc.html#label-Hessenberg-Triangular+Decomposition+of+Real+Matrices]
|
14
|
-
# 1. {Bidiagonalization}[link:linalg_rdoc.html#label-Bidiagonalization]
|
15
|
-
# 1. {Householder Transformations}[link:linalg_rdoc.html#label-Householder+Transformations]
|
16
|
-
# 1. {Householder solver for linear systems}[link:linalg_rdoc.html#label-Householder+solver+for+linear+systems]
|
17
|
-
# 1. {Tridiagonal Systems}[link:linalg_rdoc.html#label-Tridiagonal+Systems]
|
18
|
-
# 1. {Balancing}[link:linalg_rdoc.html#label-Balancing]
|
19
|
-
# 1. {NArray}[link:linalg_rdoc.html#label-NArray]
|
5
|
+
# 1. {LU Decomposition}[link:rdoc/linalg_rdoc.html#label-LU+Decomposition]
|
6
|
+
# 1. {QR Decomposition}[link:rdoc/linalg_rdoc.html#label-QR+decomposition]
|
7
|
+
# 1. {QR Decomposition with Column Pivoting}[link:rdoc/linalg_rdoc.html#label-QR+Decomposition+with+Column+Pivoting]
|
8
|
+
# 1. {Singular Value Decomposition}[link:rdoc/linalg_rdoc.html#label-Singular+Value+Decomposition]
|
9
|
+
# 1. {Cholesky Decomposition}[link:rdoc/linalg_rdoc.html#label-Cholesky+Decomposition]
|
10
|
+
# 1. {Tridiagonal Decomposition of Real Symmetric Matrices}[link:rdoc/linalg_rdoc.html#label-Tridiagonal+Decomposition+of+Real+Symmetric+Matrices]
|
11
|
+
# 1. {Tridiagonal Decomposition of Hermitian Matrices}[link:rdoc/linalg_rdoc.html#label-Tridiagonal+Decomposition+of+Hermitian+Matrices]
|
12
|
+
# 1. {Hessenberg Decomposition of Real Matrices}[link:rdoc/linalg_rdoc.html#label-Hessenberg+Decomposition+of+Real+Matrices]
|
13
|
+
# 1. {Hessenberg-Triangular Decomposition of Real Matrices}[link:rdoc/linalg_rdoc.html#label-Hessenberg-Triangular+Decomposition+of+Real+Matrices]
|
14
|
+
# 1. {Bidiagonalization}[link:rdoc/linalg_rdoc.html#label-Bidiagonalization]
|
15
|
+
# 1. {Householder Transformations}[link:rdoc/linalg_rdoc.html#label-Householder+Transformations]
|
16
|
+
# 1. {Householder solver for linear systems}[link:rdoc/linalg_rdoc.html#label-Householder+solver+for+linear+systems]
|
17
|
+
# 1. {Tridiagonal Systems}[link:rdoc/linalg_rdoc.html#label-Tridiagonal+Systems]
|
18
|
+
# 1. {Balancing}[link:rdoc/linalg_rdoc.html#label-Balancing]
|
19
|
+
# 1. {NArray}[link:rdoc/linalg_rdoc.html#label-NArray]
|
20
20
|
#
|
21
21
|
# == LU Decomposition
|
22
22
|
# ---
|
@@ -102,7 +102,7 @@
|
|
102
102
|
#
|
103
103
|
# These methods return the determinant of the matrix.
|
104
104
|
#
|
105
|
-
# === {Complex LU decomposition}[link:linalg_complex_rdoc.html]
|
105
|
+
# === {Complex LU decomposition}[link:rdoc/linalg_complex_rdoc.html]
|
106
106
|
#
|
107
107
|
# == 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
|
-
# === {Complex Cholesky decomposition}[link:cholesky_complex_rdoc.html]
|
369
|
+
# === {Complex Cholesky decomposition}[link:rdoc/cholesky_complex_rdoc.html]
|
370
370
|
#
|
371
371
|
# == 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:blas_rdoc.html]
|
676
|
-
# {next}[link:eigen_rdoc.html]
|
675
|
+
# {prev}[link:rdoc/blas_rdoc.html]
|
676
|
+
# {next}[link:rdoc/eigen_rdoc.html]
|
677
677
|
#
|
678
|
-
# {Reference index}[link:ref_rdoc.html]
|
678
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
679
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:math_rdoc.html#label-Mathematical+Constants]
|
5
|
-
# 1. {Infinities and Not-a-number}[link:math_rdoc.html#label-Infinities+and+Not-a-number]
|
6
|
-
# 1. {Constants}[link:math_rdoc.html#label-Constants]
|
7
|
-
# 1. {Module functions}[link:math_rdoc.html#label-Module+functions]
|
8
|
-
# 1. {Elementary Functions}[link:math_rdoc.html#label-Elementary+Functions]
|
9
|
-
# 1. {Small Integer Powers}[link:math_rdoc.html#label-Small+Integer+Powers]
|
10
|
-
# 1. {Testing the Sign of Numbers}[link:math_rdoc.html#label-Testing+the+Sign+of+Numbers]
|
11
|
-
# 1. {Testing for Odd and Even Numbers}[link:math_rdoc.html#label-Testing+for+Odd+and+Even+Numbers]
|
12
|
-
# 1. {Maximum and Minimum functions}[link:math_rdoc.html#label-Maximum+and+Minimum+functions]
|
13
|
-
# 1. {Approximate Comparison of Floating Point Numbers}[link:math_rdoc.html#label-Approximate+Comparison+of+Floating+Point+Numbers]
|
4
|
+
# 1. {Mathematical Constants}[link:rdoc/math_rdoc.html#label-Mathematical+Constants]
|
5
|
+
# 1. {Infinities and Not-a-number}[link:rdoc/math_rdoc.html#label-Infinities+and+Not-a-number]
|
6
|
+
# 1. {Constants}[link:rdoc/math_rdoc.html#label-Constants]
|
7
|
+
# 1. {Module functions}[link:rdoc/math_rdoc.html#label-Module+functions]
|
8
|
+
# 1. {Elementary Functions}[link:rdoc/math_rdoc.html#label-Elementary+Functions]
|
9
|
+
# 1. {Small Integer Powers}[link:rdoc/math_rdoc.html#label-Small+Integer+Powers]
|
10
|
+
# 1. {Testing the Sign of Numbers}[link:rdoc/math_rdoc.html#label-Testing+the+Sign+of+Numbers]
|
11
|
+
# 1. {Testing for Odd and Even Numbers}[link:rdoc/math_rdoc.html#label-Testing+for+Odd+and+Even+Numbers]
|
12
|
+
# 1. {Maximum and Minimum functions}[link:rdoc/math_rdoc.html#label-Maximum+and+Minimum+functions]
|
13
|
+
# 1. {Approximate Comparison of Floating Point Numbers}[link:rdoc/math_rdoc.html#label-Approximate+Comparison+of+Floating+Point+Numbers]
|
14
14
|
#
|
15
15
|
# == Mathematical Constants
|
16
16
|
# ---
|
@@ -267,10 +267,10 @@
|
|
267
267
|
#
|
268
268
|
# Ruby/GSL version
|
269
269
|
#
|
270
|
-
# {prev}[link:ehandling_rdoc.html]
|
271
|
-
# {next}[link:complex_rdoc.html]
|
270
|
+
# {prev}[link:rdoc/ehandling_rdoc.html]
|
271
|
+
# {next}[link:rdoc/complex_rdoc.html]
|
272
272
|
#
|
273
|
-
# {Reference index}[link:ref_rdoc.html]
|
273
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
274
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:matrix_rdoc.html#label-Class+methods]
|
5
|
-
# 1. {Instance methods}[link:matrix_rdoc.html#label-Instance+Methods]
|
6
|
-
# 1. {Accessing matrix elements}[link:matrix_rdoc.html#label-Accessing+matrix+elements]
|
7
|
-
# 1. {Initializing matrix elements}[link:matrix_rdoc.html#label-Initializing+matrix+elements]
|
8
|
-
# 1. {IO}[link:matrix_rdoc.html#label-IO]
|
9
|
-
# 1. {Matrix views}[link:matrix_rdoc.html#label-Matrix+views]
|
10
|
-
# 1. {Creating row and column views}[link:matrix_rdoc.html#label-Creating+row+and+column+views]
|
11
|
-
# 1. {Iterators}[link:matrix_rdoc.html#label-Iterators]
|
12
|
-
# 1. {Copying matrices}[link:matrix_rdoc.html#label-Copying+matrices]
|
13
|
-
# 1. {Copying rows and columns}[link:matrix_rdoc.html#label-Copying+rows+and+columns]
|
14
|
-
# 1. {Exchanging rows and columns}[link:matrix_rdoc.html#label-Exchanging+rows+and+columns]
|
15
|
-
# 1. {Matrix operations}[link:matrix_rdoc.html#label-Matrix+operations]
|
16
|
-
# 1. {Finding maximum and minimum elements of matrices}[link:matrix_rdoc.html#label-Finding+maximum+and+minimum+elements+of+matrices]
|
17
|
-
# 1. {Matrix properties}[link:matrix_rdoc.html#label-Matrix+properties]
|
18
|
-
# 1. {NArray}[link:matrix_rdoc.html#label-NArray]
|
19
|
-
# 1. {Special matrices}[link:matrix_rdoc.html#label-Special+matrices]
|
4
|
+
# 1. {Class methods}[link:rdoc/matrix_rdoc.html#label-Class+methods]
|
5
|
+
# 1. {Instance methods}[link:rdoc/matrix_rdoc.html#label-Instance+Methods]
|
6
|
+
# 1. {Accessing matrix elements}[link:rdoc/matrix_rdoc.html#label-Accessing+matrix+elements]
|
7
|
+
# 1. {Initializing matrix elements}[link:rdoc/matrix_rdoc.html#label-Initializing+matrix+elements]
|
8
|
+
# 1. {IO}[link:rdoc/matrix_rdoc.html#label-IO]
|
9
|
+
# 1. {Matrix views}[link:rdoc/matrix_rdoc.html#label-Matrix+views]
|
10
|
+
# 1. {Creating row and column views}[link:rdoc/matrix_rdoc.html#label-Creating+row+and+column+views]
|
11
|
+
# 1. {Iterators}[link:rdoc/matrix_rdoc.html#label-Iterators]
|
12
|
+
# 1. {Copying matrices}[link:rdoc/matrix_rdoc.html#label-Copying+matrices]
|
13
|
+
# 1. {Copying rows and columns}[link:rdoc/matrix_rdoc.html#label-Copying+rows+and+columns]
|
14
|
+
# 1. {Exchanging rows and columns}[link:rdoc/matrix_rdoc.html#label-Exchanging+rows+and+columns]
|
15
|
+
# 1. {Matrix operations}[link:rdoc/matrix_rdoc.html#label-Matrix+operations]
|
16
|
+
# 1. {Finding maximum and minimum elements of matrices}[link:rdoc/matrix_rdoc.html#label-Finding+maximum+and+minimum+elements+of+matrices]
|
17
|
+
# 1. {Matrix properties}[link:rdoc/matrix_rdoc.html#label-Matrix+properties]
|
18
|
+
# 1. {NArray}[link:rdoc/matrix_rdoc.html#label-NArray]
|
19
|
+
# 1. {Special matrices}[link:rdoc/matrix_rdoc.html#label-Special+matrices]
|
20
20
|
#
|
21
21
|
# == 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:vector_rdoc.html]).
|
197
|
+
# {GSL::Vector}[link:rdoc/vector_rdoc.html]).
|
198
198
|
#
|
199
199
|
# ---
|
200
200
|
# * GSL::Matrix#get(args)
|
@@ -987,13 +987,13 @@
|
|
987
987
|
#
|
988
988
|
# == Special matrices
|
989
989
|
# ---
|
990
|
-
# * GSL::Matrix.
|
990
|
+
# * GSL::Matrix.hilbert(n)
|
991
991
|
#
|
992
992
|
# Returns the Hilbert matrix of order <tt>n</tt>. The <tt>ij</tt> element is
|
993
993
|
# defined as 1/(i+j+1).
|
994
994
|
#
|
995
995
|
# ---
|
996
|
-
# * GSL::Matrix.
|
996
|
+
# * GSL::Matrix.invhilbert(n)
|
997
997
|
#
|
998
998
|
# Returns the inverse of a Hilbert matrix of order <tt>n</tt>.
|
999
999
|
#
|
@@ -1084,10 +1084,10 @@
|
|
1084
1084
|
# 2 3 4 1
|
1085
1085
|
# 1 2 3 4 ]
|
1086
1086
|
#
|
1087
|
-
# {prev}[link:vector_rdoc.html]
|
1088
|
-
# {next}[link:perm_rdoc.html]
|
1087
|
+
# {prev}[link:rdoc/vector_rdoc.html]
|
1088
|
+
# {next}[link:rdoc/perm_rdoc.html]
|
1089
1089
|
#
|
1090
|
-
# {Reference index}[link:ref_rdoc.html]
|
1090
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
1091
1091
|
# {top}[link:index.html]
|
1092
1092
|
#
|
1093
1093
|
#
|