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/lib/gsl.rb
CHANGED
@@ -3,12 +3,6 @@ begin
|
|
3
3
|
rescue LoadError
|
4
4
|
end
|
5
5
|
|
6
|
-
|
7
|
-
require "gsl/#{RUBY_VERSION[/\d+.\d+/]}/gsl_native"
|
8
|
-
rescue LoadError => err
|
9
|
-
raise if err.respond_to?(:path) && !err.path
|
10
|
-
require 'gsl/gsl_native'
|
11
|
-
end
|
12
|
-
|
6
|
+
require 'gsl_native'
|
13
7
|
require 'gsl/version'
|
14
8
|
require 'gsl/oper'
|
data/lib/gsl/gnuplot.rb
CHANGED
data/lib/gsl/version.rb
CHANGED
data/rb-gsl.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.dirname(__FILE__) + '/lib/gsl/version'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = 'rb-gsl'
|
7
|
+
s.version = GSL::RUBY_GSL_VERSION
|
8
|
+
s.date = Date.today.to_s
|
9
|
+
|
10
|
+
s.require_paths = %w(lib)
|
11
|
+
s.authors = ['Yoshiki Tsunesada', 'David MacMahon', 'Jens Wille']
|
12
|
+
s.summary = 'Ruby interface to the GNU Scientific Library'
|
13
|
+
s.description = 'Ruby/GSL is a Ruby interface to the GNU Scientific Library, for numerical computing with Ruby'
|
14
|
+
s.email = 'jens.wille@gmail.com'
|
15
|
+
s.extensions = Dir['ext/**/extconf.rb']
|
16
|
+
s.extra_rdoc_files = Dir['**/*.rdoc']
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.homepage = 'http://github.com/SciRuby/rb-gsl'
|
19
|
+
s.licenses = ['GPL-2.0']
|
20
|
+
s.rdoc_options = ['--title', "Ruby/GSL (#{GSL::RUBY_GSL_VERSION})", '--charset', 'UTF-8', '--line-numbers', '--all', '--main', 'index.rdoc', '--root', 'rdoc']
|
21
|
+
s.required_ruby_version = '>= 1.9.3'
|
22
|
+
s.requirements = ['GSL (http://www.gnu.org/software/gsl/)']
|
23
|
+
|
24
|
+
s.post_install_message = "#{s.name} can be installed with or without narray support. Please install narray before and reinstall #{s.name} if it is missing."
|
25
|
+
|
26
|
+
s.add_development_dependency 'rake-compiler', '>= 0'
|
27
|
+
s.add_development_dependency 'rake', '>= 0'
|
28
|
+
s.add_development_dependency 'test-unit', '>= 0'
|
29
|
+
end
|
data/rdoc/blas.rdoc
CHANGED
@@ -260,10 +260,10 @@
|
|
260
260
|
# * GSL::Blas::Right
|
261
261
|
#
|
262
262
|
#
|
263
|
-
# {prev}[link:sort_rdoc.html]
|
264
|
-
# {next}[link:linalg_rdoc.html]
|
263
|
+
# {prev}[link:rdoc/sort_rdoc.html]
|
264
|
+
# {next}[link:rdoc/linalg_rdoc.html]
|
265
265
|
#
|
266
|
-
# {Reference index}[link:ref_rdoc.html]
|
266
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
267
267
|
# {top}[link:index.html]
|
268
268
|
#
|
269
269
|
#
|
data/rdoc/bspline.rdoc
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
# = Basis Splines
|
3
3
|
# This chapter describes functions for the computation of smoothing basis splines (B-splines). This is only for GSL-1.9 or later.
|
4
4
|
#
|
5
|
-
# 1. {Overview}[link:bspline_rdoc.html#label-Overview]
|
6
|
-
# 1. {Initializing the B-splines solver}[link:bspline_rdoc.html#label-Initializing+the+B-splines+solver]
|
7
|
-
# 1. {Constructing the knots vector}[link:bspline_rdoc.html#label-Constructing+the+knots+vector]
|
8
|
-
# 1. {Evaluation of B-splines}[link:bspline_rdoc.html#label-Evaluation+of+B-splines]
|
5
|
+
# 1. {Overview}[link:rdoc/bspline_rdoc.html#label-Overview]
|
6
|
+
# 1. {Initializing the B-splines solver}[link:rdoc/bspline_rdoc.html#label-Initializing+the+B-splines+solver]
|
7
|
+
# 1. {Constructing the knots vector}[link:rdoc/bspline_rdoc.html#label-Constructing+the+knots+vector]
|
8
|
+
# 1. {Evaluation of B-splines}[link:rdoc/bspline_rdoc.html#label-Evaluation+of+B-splines]
|
9
9
|
#
|
10
10
|
# == Overview
|
11
11
|
#
|
@@ -34,9 +34,9 @@
|
|
34
34
|
#
|
35
35
|
# This method evaluates all B-spline basis functions at the position <tt>x</tt> and stores them in <tt>B</tt> (if given), so that the ith element of <tt>B</tt> is <tt>B_i(x)</tt>. <tt>B</tt> must be of length <tt>n = nbreak + k - 2</tt>. If <tt>B</tt> is not given, a newly created vector is returned.It is far more efficient to compute all of the basis functions at once than to compute them individually, due to the nature of the defining recurrence relation.
|
36
36
|
#
|
37
|
-
# {prev}[link:nonlinearfit_rdoc.html]
|
38
|
-
# {next}[link:const_rdoc.html]
|
37
|
+
# {prev}[link:rdoc/nonlinearfit_rdoc.html]
|
38
|
+
# {next}[link:rdoc/const_rdoc.html]
|
39
39
|
#
|
40
|
-
# {Reference index}[link:ref_rdoc.html]
|
40
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
41
41
|
# {top}[link:index.html]
|
42
42
|
#
|
data/rdoc/cheb.rdoc
CHANGED
@@ -10,10 +10,10 @@
|
|
10
10
|
# T_0(x) = 1, T_1(x) = x, T_2(x) = 2 x^2 - 1.
|
11
11
|
# For further information see Abramowitz & Stegun, Chapter 22.
|
12
12
|
#
|
13
|
-
# 1. {GSL::Cheb class}[link:cheb_rdoc.html#label-Cheb+class]
|
14
|
-
# 1. {Chebyshev Series Evaluation}[link:cheb_rdoc.html#label-Chebyshev+Series+Evaluation]
|
15
|
-
# 1. {Derivatives and Integrals}[link:cheb_rdoc.html#label-Derivatives+and+Integrals]
|
16
|
-
# 1. {Examples}[link:cheb_rdoc.html#label-Example]
|
13
|
+
# 1. {GSL::Cheb class}[link:rdoc/cheb_rdoc.html#label-Cheb+class]
|
14
|
+
# 1. {Chebyshev Series Evaluation}[link:rdoc/cheb_rdoc.html#label-Chebyshev+Series+Evaluation]
|
15
|
+
# 1. {Derivatives and Integrals}[link:rdoc/cheb_rdoc.html#label-Derivatives+and+Integrals]
|
16
|
+
# 1. {Examples}[link:rdoc/cheb_rdoc.html#label-Example]
|
17
17
|
#
|
18
18
|
# == <tt>Cheb</tt> class
|
19
19
|
#
|
@@ -26,7 +26,7 @@
|
|
26
26
|
# ---
|
27
27
|
# * GSL::Cheb#init(f, a, b)
|
28
28
|
#
|
29
|
-
# This computes the Chebyshev approximation the function <tt>f</tt> over the range (<tt>a,b</tt>) to the previously specified order. Where <tt>f</tt> is a {GSL::Function}[link:function_rdoc.html] object. The computation of the Chebyshev approximation is an O(n^2) process, and requires <tt>n</tt> function evaluations.
|
29
|
+
# This computes the Chebyshev approximation the function <tt>f</tt> over the range (<tt>a,b</tt>) to the previously specified order. Where <tt>f</tt> is a {GSL::Function}[link:rdoc/function_rdoc.html] object. The computation of the Chebyshev approximation is an O(n^2) process, and requires <tt>n</tt> function evaluations.
|
30
30
|
#
|
31
31
|
# * ex: Approximate a step function defined in (0, 1) by a Chebyshev series of order 40.
|
32
32
|
# f = GSL::Function.alloc { |x|
|
@@ -91,9 +91,9 @@
|
|
91
91
|
#
|
92
92
|
# See also the example scripts in <tt>examples/cheb/</tt>.
|
93
93
|
#
|
94
|
-
# {prev}[link:diff_rdoc.html]
|
95
|
-
# {next}[link:sum_rdoc.html]
|
94
|
+
# {prev}[link:rdoc/diff_rdoc.html]
|
95
|
+
# {next}[link:rdoc/sum_rdoc.html]
|
96
96
|
#
|
97
|
-
# {Reference index}[link:ref_rdoc.html]
|
97
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
98
98
|
# {top}[link:index.html]
|
99
99
|
#
|
data/rdoc/cholesky_complex.rdoc
CHANGED
data/rdoc/combi.rdoc
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
#
|
2
2
|
# = Combinations
|
3
3
|
# Contents:
|
4
|
-
# 1. {Combination allocation}[link:combi_rdoc.html#label-Combination+allocation]
|
5
|
-
# 1. {Methods}[link:combi_rdoc.html#label-Methods]
|
6
|
-
# 1. {Accessing combination elements}[link:combi_rdoc.html#label-Accessing+combination+elements]
|
7
|
-
# 1. {Combination properties}[link:combi_rdoc.html#label-Combination+properties]
|
8
|
-
# 1. {Combination functions}[link:combi_rdoc.html#label-Combination+functions]
|
9
|
-
# 1. {Reading and writing combinations}[link:combi_rdoc.html#label-Reading+and+writing+combinations]
|
4
|
+
# 1. {Combination allocation}[link:rdoc/combi_rdoc.html#label-Combination+allocation]
|
5
|
+
# 1. {Methods}[link:rdoc/combi_rdoc.html#label-Methods]
|
6
|
+
# 1. {Accessing combination elements}[link:rdoc/combi_rdoc.html#label-Accessing+combination+elements]
|
7
|
+
# 1. {Combination properties}[link:rdoc/combi_rdoc.html#label-Combination+properties]
|
8
|
+
# 1. {Combination functions}[link:rdoc/combi_rdoc.html#label-Combination+functions]
|
9
|
+
# 1. {Reading and writing combinations}[link:rdoc/combi_rdoc.html#label-Reading+and+writing+combinations]
|
10
10
|
#
|
11
11
|
# == Combination allocation
|
12
12
|
# ---
|
@@ -116,10 +116,10 @@
|
|
116
116
|
# end while c.next == GSL::SUCCESS
|
117
117
|
# end
|
118
118
|
#
|
119
|
-
# {prev}[link:perm_rdoc.html]
|
120
|
-
# {next}[link:sort_rdoc.html]
|
119
|
+
# {prev}[link:rdoc/perm_rdoc.html]
|
120
|
+
# {next}[link:rdoc/sort_rdoc.html]
|
121
121
|
#
|
122
|
-
# {Reference index}[link:ref_rdoc.html]
|
122
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
123
123
|
# {top}[link:index.html]
|
124
124
|
#
|
125
125
|
#
|
data/rdoc/complex.rdoc
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
#
|
2
2
|
# = Complex Numbers
|
3
3
|
# Contents:
|
4
|
-
# 1. {Class methods}[link:complex_rdoc.html#label-Class+Methods]
|
5
|
-
# 1. {Properties of Complex Numbers}[link:complex_rdoc.html#label-Properties+of+complex+numbers]
|
6
|
-
# 1. {Complex Arithmetic Operators}[link:complex_rdoc.html#label-Complex+arithmetic+operators]
|
7
|
-
# 1. {Elementary Complex Functions}[link:complex_rdoc.html#label-Elementary+Complex+Functions]
|
8
|
-
# 1. {Complex Trigonometric Functions}[link:complex_rdoc.html#label-Complex+Trigonometric+Functions]
|
9
|
-
# 1. {Inverse Complex Trigonometric Functions}[link:complex_rdoc.html#label-Inverse+Complex+Trigonometric+Functions]
|
10
|
-
# 1. {Complex Hyperbolic Functions}[link:complex_rdoc.html#label-Complex+Hyperbolic+Functions]
|
11
|
-
# 1. {Inverse Complex Hyperbolic Functions}[link:complex_rdoc.html#label-Inverse+Complex+Hyperbolic+Functions]
|
4
|
+
# 1. {Class methods}[link:rdoc/complex_rdoc.html#label-Class+Methods]
|
5
|
+
# 1. {Properties of Complex Numbers}[link:rdoc/complex_rdoc.html#label-Properties+of+complex+numbers]
|
6
|
+
# 1. {Complex Arithmetic Operators}[link:rdoc/complex_rdoc.html#label-Complex+arithmetic+operators]
|
7
|
+
# 1. {Elementary Complex Functions}[link:rdoc/complex_rdoc.html#label-Elementary+Complex+Functions]
|
8
|
+
# 1. {Complex Trigonometric Functions}[link:rdoc/complex_rdoc.html#label-Complex+Trigonometric+Functions]
|
9
|
+
# 1. {Inverse Complex Trigonometric Functions}[link:rdoc/complex_rdoc.html#label-Inverse+Complex+Trigonometric+Functions]
|
10
|
+
# 1. {Complex Hyperbolic Functions}[link:rdoc/complex_rdoc.html#label-Complex+Hyperbolic+Functions]
|
11
|
+
# 1. {Inverse Complex Hyperbolic Functions}[link:rdoc/complex_rdoc.html#label-Inverse+Complex+Hyperbolic+Functions]
|
12
12
|
#
|
13
13
|
# == Class Methods
|
14
14
|
# ---
|
@@ -201,10 +201,10 @@
|
|
201
201
|
# * GSL::Complex#arccoth(z)
|
202
202
|
#
|
203
203
|
#
|
204
|
-
# {prev}[link:math_rdoc.html]
|
205
|
-
# {next}[link:poly_rdoc.html]
|
204
|
+
# {prev}[link:rdoc/math_rdoc.html]
|
205
|
+
# {next}[link:rdoc/poly_rdoc.html]
|
206
206
|
#
|
207
|
-
# {Reference index}[link:ref_rdoc.html]
|
207
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
208
208
|
# {top}[link:index.html]
|
209
209
|
#
|
210
210
|
#
|
data/rdoc/const.rdoc
CHANGED
@@ -15,23 +15,23 @@
|
|
15
15
|
# See also the {GSL reference}[https://gnu.org/software/gsl/manual/gsl-ref_37.html#SEC479]
|
16
16
|
#
|
17
17
|
# Contents:
|
18
|
-
# 1. {Fundamental Constants}[link:const_rdoc.html#label-Fundamental+Constants]
|
19
|
-
# 1. {Astronomy and Astrophysics}[link:const_rdoc.html#label-Astronomy+and+Astrophysics]
|
20
|
-
# 1. {Atomic and Nuclear Physics}[link:const_rdoc.html#label-Atomic+and+Nuclear+Physics]
|
21
|
-
# 1. {Measurement of Time}[link:const_rdoc.html#label-Measurement+of+Time]
|
22
|
-
# 1. {Imperial Units}[link:const_rdoc.html#label-Imperial+Units]
|
23
|
-
# 1. {Nautical Units}[link:const_rdoc.html#label-Nautical+Units]
|
24
|
-
# 1. {Printers Units}[link:const_rdoc.html#label-Printers+Units]
|
25
|
-
# 1. {Volume}[link:const_rdoc.html#label-Volume]
|
26
|
-
# 1. {Mass and Weight}[link:const_rdoc.html#label-Mass+and+Weight]
|
27
|
-
# 1. {Thermal Energy and Power}[link:const_rdoc.html#label-Thermal+Energy+and+Power]
|
28
|
-
# 1. {Pressure}[link:const_rdoc.html#label-Pressure]
|
29
|
-
# 1. {Viscosity}[link:const_rdoc.html#label-Viscosity]
|
30
|
-
# 1. {Light and Illumination}[link:const_rdoc.html#label-Light+and+Illumination]
|
31
|
-
# 1. {Radioactivity}[link:const_rdoc.html#label-Radioactivity]
|
32
|
-
# 1. {Force and Energy}[link:const_rdoc.html#label-Force+and+Energy]
|
33
|
-
# 1. {Prefixes}[link:const_rdoc.html#label-Prefixes]
|
34
|
-
# 1. {Examples}[link:const_rdoc.html#label-Example]
|
18
|
+
# 1. {Fundamental Constants}[link:rdoc/const_rdoc.html#label-Fundamental+Constants]
|
19
|
+
# 1. {Astronomy and Astrophysics}[link:rdoc/const_rdoc.html#label-Astronomy+and+Astrophysics]
|
20
|
+
# 1. {Atomic and Nuclear Physics}[link:rdoc/const_rdoc.html#label-Atomic+and+Nuclear+Physics]
|
21
|
+
# 1. {Measurement of Time}[link:rdoc/const_rdoc.html#label-Measurement+of+Time]
|
22
|
+
# 1. {Imperial Units}[link:rdoc/const_rdoc.html#label-Imperial+Units]
|
23
|
+
# 1. {Nautical Units}[link:rdoc/const_rdoc.html#label-Nautical+Units]
|
24
|
+
# 1. {Printers Units}[link:rdoc/const_rdoc.html#label-Printers+Units]
|
25
|
+
# 1. {Volume}[link:rdoc/const_rdoc.html#label-Volume]
|
26
|
+
# 1. {Mass and Weight}[link:rdoc/const_rdoc.html#label-Mass+and+Weight]
|
27
|
+
# 1. {Thermal Energy and Power}[link:rdoc/const_rdoc.html#label-Thermal+Energy+and+Power]
|
28
|
+
# 1. {Pressure}[link:rdoc/const_rdoc.html#label-Pressure]
|
29
|
+
# 1. {Viscosity}[link:rdoc/const_rdoc.html#label-Viscosity]
|
30
|
+
# 1. {Light and Illumination}[link:rdoc/const_rdoc.html#label-Light+and+Illumination]
|
31
|
+
# 1. {Radioactivity}[link:rdoc/const_rdoc.html#label-Radioactivity]
|
32
|
+
# 1. {Force and Energy}[link:rdoc/const_rdoc.html#label-Force+and+Energy]
|
33
|
+
# 1. {Prefixes}[link:rdoc/const_rdoc.html#label-Prefixes]
|
34
|
+
# 1. {Examples}[link:rdoc/const_rdoc.html#label-Example]
|
35
35
|
#
|
36
36
|
# == Fundamental Constants
|
37
37
|
# ---
|
@@ -537,10 +537,10 @@
|
|
537
537
|
# printf("minimum = %.1f minutes\n", t_min / minutes);
|
538
538
|
# printf("maximum = %.1f minutes\n\n", t_max / minutes);
|
539
539
|
#
|
540
|
-
# {prev}[link:bspline_rdoc.html]
|
541
|
-
# {next}[link:graph_rdoc.html]
|
540
|
+
# {prev}[link:rdoc/bspline_rdoc.html]
|
541
|
+
# {next}[link:rdoc/graph_rdoc.html]
|
542
542
|
#
|
543
|
-
# {Reference index}[link:ref_rdoc.html]
|
543
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
544
544
|
# {top}[link:index.html]
|
545
545
|
#
|
546
546
|
#
|
data/rdoc/dht.rdoc
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
# This chapter describes functions for performing Discrete Hankel Transforms
|
4
4
|
# (DHTs).
|
5
5
|
#
|
6
|
-
# 1. {Definitions}[link:dht_rdoc.html#label-Definitions]
|
7
|
-
# 1. {Initialization}[link:dht_rdoc.html#label-Initialization]
|
8
|
-
# 1. {Methods}[link:dht_rdoc.html#label-Methods]
|
6
|
+
# 1. {Definitions}[link:rdoc/dht_rdoc.html#label-Definitions]
|
7
|
+
# 1. {Initialization}[link:rdoc/dht_rdoc.html#label-Initialization]
|
8
|
+
# 1. {Methods}[link:rdoc/dht_rdoc.html#label-Methods]
|
9
9
|
#
|
10
10
|
# == Definitions
|
11
11
|
# The discrete Hankel transform acts on a vector of sampled data, where the
|
@@ -113,10 +113,10 @@
|
|
113
113
|
#
|
114
114
|
# Return the (n,m)-th transform coefficient.
|
115
115
|
#
|
116
|
-
# {prev}[link:sum_rdoc.html]
|
117
|
-
# {next}[link:roots_rdoc.html]
|
116
|
+
# {prev}[link:rdoc/sum_rdoc.html]
|
117
|
+
# {next}[link:rdoc/roots_rdoc.html]
|
118
118
|
#
|
119
|
-
# {Reference index}[link:ref_rdoc.html]
|
119
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
120
120
|
# {top}[link:index.html]
|
121
121
|
#
|
122
122
|
#
|
data/rdoc/diff.rdoc
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
# of finite difference and to estimate the error in the derivative.
|
6
6
|
#
|
7
7
|
# Contentes:
|
8
|
-
# 1. {Deriv methods}[link:diff_rdoc.html#label-Deriv+methods+%28for+GSL+1.4.90+or+later%29]
|
9
|
-
# 1. {Diff methods}[link:diff_rdoc.html#label-Diff+Methods+%28obsolete%29]
|
8
|
+
# 1. {Deriv methods}[link:rdoc/diff_rdoc.html#label-Deriv+methods+%28for+GSL+1.4.90+or+later%29]
|
9
|
+
# 1. {Diff methods}[link:rdoc/diff_rdoc.html#label-Diff+Methods+%28obsolete%29]
|
10
10
|
#
|
11
11
|
# == Deriv methods (for GSL 1.4.90 or later)
|
12
12
|
# Numerical derivatives should now be calculated using the
|
@@ -73,7 +73,7 @@
|
|
73
73
|
# * GSL::Diff.central(f, x)
|
74
74
|
# * GSL::Function#diff_central(x)
|
75
75
|
#
|
76
|
-
# These compute the numerical derivative of the function <tt>f</tt> ( {GSL::Function}[link:function_rdoc.html] object) at the point <tt>x</tt>
|
76
|
+
# These compute the numerical derivative of the function <tt>f</tt> ( {GSL::Function}[link:rdoc/function_rdoc.html] object) at the point <tt>x</tt>
|
77
77
|
# using an adaptive central difference algorithm. The result is returned as an array
|
78
78
|
# which contains the derivative and an estimate of its absolute error.
|
79
79
|
#
|
@@ -124,10 +124,10 @@
|
|
124
124
|
# f'(x) = 0.0000000160 +/- 0.0000000339
|
125
125
|
# exact = 0.0000000000
|
126
126
|
#
|
127
|
-
# {prev}[link:interp_rdoc.html]
|
128
|
-
# {next}[link:cheb_rdoc.html]
|
127
|
+
# {prev}[link:rdoc/interp_rdoc.html]
|
128
|
+
# {next}[link:rdoc/cheb_rdoc.html]
|
129
129
|
#
|
130
|
-
# {Reference index}[link:ref_rdoc.html]
|
130
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
131
131
|
# {top}[link:index.html]
|
132
132
|
#
|
133
133
|
#
|
data/rdoc/ehandling.rdoc
CHANGED
@@ -42,9 +42,9 @@
|
|
42
42
|
# This replaces the Ruby/GSL default error handler by a user-defined handler
|
43
43
|
# given by a Proc object <tt>proc</tt> or a block.
|
44
44
|
#
|
45
|
-
# {prev}[link:use_rdoc.html]
|
46
|
-
# {next}[link:math_rdoc.html]
|
45
|
+
# {prev}[link:rdoc/use_rdoc.html]
|
46
|
+
# {next}[link:rdoc/math_rdoc.html]
|
47
47
|
#
|
48
|
-
# {Reference index}[link:ref_rdoc.html]
|
48
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
49
49
|
# {top}[link:index.html]
|
50
50
|
#
|
data/rdoc/eigen.rdoc
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
#
|
2
2
|
# = Eigensystems
|
3
3
|
# === Contentes
|
4
|
-
# 1. {Modules and classes}[link:eigen_rdoc.html#label-Modules+and+classes]
|
5
|
-
# 1. {Real Symmetric Matrices}[link:eigen_rdoc.html#label-Real+Symmetric+Matrices]
|
6
|
-
# 1. {Complex Hermitian Matrices}[link:eigen_rdoc.html#label-Complex+Hermitian+Matrices]
|
7
|
-
# 1. {Real Nonsymmetric Matrices}[link:eigen_rdoc.html#label-Real+Nonsymmetric+Matrices+%28%3E%3D+GSL-1.9%29] (>= GSL-1.9)
|
8
|
-
# 1. {Real Generalized Symmetric-Definite Eigensystems}[link:eigen_rdoc.html#label-Real+Generalized+Symmetric-Definite+Eigensystems+%28GSL-1.10%29] (>= GSL-1.10)
|
9
|
-
# 1. {Complex Generalized Hermitian-Definite Eigensystems}[link:eigen_rdoc.html#label-Complex+Generalized+Hermitian-Definite+Eigensystems+%28%3E%3D+GSL-1.10%29] (>= GSL-1.10)
|
10
|
-
# 1. {Real Generalized Nonsymmetric Eigensystems}[link:eigen_rdoc.html#label-Real+Generalized+Nonsymmetric+Eigensystems+%28%3E%3D+GSL-1.10%29] (>= GSL-1.10)
|
11
|
-
# 1. {Sorting Eigenvalues and Eigenvectors }[link:eigen_rdoc.html#label-Sorting+Eigenvalues+and+Eigenvectors]
|
4
|
+
# 1. {Modules and classes}[link:rdoc/eigen_rdoc.html#label-Modules+and+classes]
|
5
|
+
# 1. {Real Symmetric Matrices}[link:rdoc/eigen_rdoc.html#label-Real+Symmetric+Matrices]
|
6
|
+
# 1. {Complex Hermitian Matrices}[link:rdoc/eigen_rdoc.html#label-Complex+Hermitian+Matrices]
|
7
|
+
# 1. {Real Nonsymmetric Matrices}[link:rdoc/eigen_rdoc.html#label-Real+Nonsymmetric+Matrices+%28%3E%3D+GSL-1.9%29] (>= GSL-1.9)
|
8
|
+
# 1. {Real Generalized Symmetric-Definite Eigensystems}[link:rdoc/eigen_rdoc.html#label-Real+Generalized+Symmetric-Definite+Eigensystems+%28GSL-1.10%29] (>= GSL-1.10)
|
9
|
+
# 1. {Complex Generalized Hermitian-Definite Eigensystems}[link:rdoc/eigen_rdoc.html#label-Complex+Generalized+Hermitian-Definite+Eigensystems+%28%3E%3D+GSL-1.10%29] (>= GSL-1.10)
|
10
|
+
# 1. {Real Generalized Nonsymmetric Eigensystems}[link:rdoc/eigen_rdoc.html#label-Real+Generalized+Nonsymmetric+Eigensystems+%28%3E%3D+GSL-1.10%29] (>= GSL-1.10)
|
11
|
+
# 1. {Sorting Eigenvalues and Eigenvectors }[link:rdoc/eigen_rdoc.html#label-Sorting+Eigenvalues+and+Eigenvectors]
|
12
12
|
#
|
13
13
|
# == Modules and classes
|
14
14
|
#
|
@@ -392,10 +392,10 @@
|
|
392
392
|
# and <tt>GSL::EIGEN_SORT_ABS_DESC</tt> are supported due to the eigenvalues
|
393
393
|
# being complex.
|
394
394
|
#
|
395
|
-
# {prev}[link:linalg_rdoc.html]
|
396
|
-
# {next}[link:fft_rdoc.html]
|
395
|
+
# {prev}[link:rdoc/linalg_rdoc.html]
|
396
|
+
# {next}[link:rdoc/fft_rdoc.html]
|
397
397
|
#
|
398
|
-
# {Reference index}[link:ref_rdoc.html]
|
398
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
399
399
|
# {top}[link:index.html]
|
400
400
|
#
|
401
401
|
#
|
data/rdoc/fft.rdoc
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
#
|
2
2
|
# = Fast Fourier Transforms
|
3
3
|
# Contents:
|
4
|
-
# 1. {Mathematical Definitions}[link:fft_rdoc.html#label-Mathematical+Definitions]
|
5
|
-
# 1. {Complex data FFTs}[link:fft_rdoc.html#label-Complex+data+FFTs]
|
6
|
-
# 1. {Overview of complex data FFTs}[link:fft_rdoc.html#label-Overview+of+complex+data+FFTs]
|
7
|
-
# 1. {Radix-2 FFT routines for complex data}[link:fft_rdoc.html#label-Radix-2+FFT+routines+for+complex+data]
|
8
|
-
# 1. {Example of the complex Radix-2 FFT}[link:fft_rdoc.html#label-Example+of+complex+Radix-2+FFT]
|
9
|
-
# 1. {Mixed-radix FFT routines for complex data}[link:fft_rdoc.html#label-Mixed-radix+FFT+routines+for+complex+data]
|
10
|
-
# 1. {GSL::FFT::ComplexWavetable class}[link:fft_rdoc.html#label-ComplexWavetable+class]
|
11
|
-
# 1. {GSL::FFT::ComplexWorkspace class}[link:fft_rdoc.html#label-ComplexWorkspace+class]
|
12
|
-
# 1. {Methods to compute the transform}[link:fft_rdoc.html#label-Methods+to+compute+transform]
|
13
|
-
# 1. {Example of the mixed-radix FFT}[link:fft_rdoc.html#label-Example+to+use+the+mixed-radix+FFT+algorithm]
|
14
|
-
# 1. {Real data FFTs}[link:fft_rdoc.html#label-Real+data+FFTs]
|
15
|
-
# 1. {Overview of real data FFTs}[link:fft_rdoc.html#label-Overview+of+real+data+FFTs]
|
16
|
-
# 1. {Radix-2 FFT routines for real data}[link:fft_rdoc.html#label-Radix-2+FFT+routines+for+real+data]
|
17
|
-
# 1. {Mixed-radix FFT routines for real data}[link:fft_rdoc.html#label-Mixed-radix+FFT+routines+for+real+data]
|
18
|
-
# 1. {Data storage scheme}[link:fft_rdoc.html#label-Data+storage+scheme]
|
19
|
-
# 1. {Wavetable and Workspace classes}[link:fft_rdoc.html#label-Wavetable+and+Workspace+classes]
|
20
|
-
# 1. {Methods for real FFTs}[link:fft_rdoc.html#label-Methods+for+mixed-radix+real+FFTs]
|
21
|
-
# 1. {Examples}[link:fft_rdoc.html#label-Examples]
|
4
|
+
# 1. {Mathematical Definitions}[link:rdoc/fft_rdoc.html#label-Mathematical+Definitions]
|
5
|
+
# 1. {Complex data FFTs}[link:rdoc/fft_rdoc.html#label-Complex+data+FFTs]
|
6
|
+
# 1. {Overview of complex data FFTs}[link:rdoc/fft_rdoc.html#label-Overview+of+complex+data+FFTs]
|
7
|
+
# 1. {Radix-2 FFT routines for complex data}[link:rdoc/fft_rdoc.html#label-Radix-2+FFT+routines+for+complex+data]
|
8
|
+
# 1. {Example of the complex Radix-2 FFT}[link:rdoc/fft_rdoc.html#label-Example+of+complex+Radix-2+FFT]
|
9
|
+
# 1. {Mixed-radix FFT routines for complex data}[link:rdoc/fft_rdoc.html#label-Mixed-radix+FFT+routines+for+complex+data]
|
10
|
+
# 1. {GSL::FFT::ComplexWavetable class}[link:rdoc/fft_rdoc.html#label-ComplexWavetable+class]
|
11
|
+
# 1. {GSL::FFT::ComplexWorkspace class}[link:rdoc/fft_rdoc.html#label-ComplexWorkspace+class]
|
12
|
+
# 1. {Methods to compute the transform}[link:rdoc/fft_rdoc.html#label-Methods+to+compute+transform]
|
13
|
+
# 1. {Example of the mixed-radix FFT}[link:rdoc/fft_rdoc.html#label-Example+to+use+the+mixed-radix+FFT+algorithm]
|
14
|
+
# 1. {Real data FFTs}[link:rdoc/fft_rdoc.html#label-Real+data+FFTs]
|
15
|
+
# 1. {Overview of real data FFTs}[link:rdoc/fft_rdoc.html#label-Overview+of+real+data+FFTs]
|
16
|
+
# 1. {Radix-2 FFT routines for real data}[link:rdoc/fft_rdoc.html#label-Radix-2+FFT+routines+for+real+data]
|
17
|
+
# 1. {Mixed-radix FFT routines for real data}[link:rdoc/fft_rdoc.html#label-Mixed-radix+FFT+routines+for+real+data]
|
18
|
+
# 1. {Data storage scheme}[link:rdoc/fft_rdoc.html#label-Data+storage+scheme]
|
19
|
+
# 1. {Wavetable and Workspace classes}[link:rdoc/fft_rdoc.html#label-Wavetable+and+Workspace+classes]
|
20
|
+
# 1. {Methods for real FFTs}[link:rdoc/fft_rdoc.html#label-Methods+for+mixed-radix+real+FFTs]
|
21
|
+
# 1. {Examples}[link:rdoc/fft_rdoc.html#label-Examples]
|
22
22
|
#
|
23
23
|
# == Mathematical Definitions
|
24
24
|
# Fast Fourier Transforms are efficient algorithms for calculating the discrete
|
@@ -59,7 +59,7 @@
|
|
59
59
|
# == Complex data FFTs
|
60
60
|
# === Overview of complex data FFTs
|
61
61
|
# The complex data FFT routines are provided as instance methods of
|
62
|
-
# {GSL::Vector::Complex}[link:vector_complex_rdoc.html].
|
62
|
+
# {GSL::Vector::Complex}[link:rdoc/vector_complex_rdoc.html].
|
63
63
|
#
|
64
64
|
# Here is a table which shows the layout of the array data, and the correspondence
|
65
65
|
# between the time-domain complex data z, and the frequency-domain complex data x.
|
@@ -82,7 +82,7 @@
|
|
82
82
|
# frequencies +1/(2 Delta), -1/(2 Delta) which are equivalent. If N is odd then
|
83
83
|
# general structure of the table above still applies, but N/2 does not appear.
|
84
84
|
#
|
85
|
-
# {GSL::Vector::Complex}[link:vector_complex_rdoc.html] provides four methods for
|
85
|
+
# {GSL::Vector::Complex}[link:rdoc/vector_complex_rdoc.html] provides four methods for
|
86
86
|
# shifting the frequency domain data between <b>FFT order</b>, shown in the table
|
87
87
|
# above, and <b>natural order</b>, which has the most negative freqeuncy component
|
88
88
|
# first, the zero frequency component in the middle, and the most positive
|
@@ -263,7 +263,7 @@
|
|
263
263
|
# === Overview of real data FFTs
|
264
264
|
#
|
265
265
|
# The functions for real data FFTs are provided as instance methods of
|
266
|
-
# {GSL::Vector}[link:vector_rdoc.html]. While they are similar to those for
|
266
|
+
# {GSL::Vector}[link:rdoc/vector_rdoc.html]. While they are similar to those for
|
267
267
|
# complex data, there is an important difference in the data storage layout
|
268
268
|
# between forward and inverse transforms. The Fourier transform of a real
|
269
269
|
# sequence is not real. It is a complex sequence with a special symmetry. A
|
@@ -274,7 +274,7 @@
|
|
274
274
|
# Forward transforms of real sequences produce half complex sequences of the same
|
275
275
|
# length. Backward and inverse transforms of half complex sequences produce real
|
276
276
|
# sequences of the same length. In both cases, the input and output sequences
|
277
|
-
# are instances of {GSL::Vector}[link:vector_rdoc.html].
|
277
|
+
# are instances of {GSL::Vector}[link:rdoc/vector_rdoc.html].
|
278
278
|
#
|
279
279
|
# The precise storage arrangements of half complex seqeunces depend on the
|
280
280
|
# algorithm, and are different for radix-2 and mixed-radix routines. The radix-2
|
@@ -288,7 +288,7 @@
|
|
288
288
|
#
|
289
289
|
# === Radix-2 FFT routines for real data
|
290
290
|
# The routines for readix-2 real FFTs are provided as instance methods of
|
291
|
-
# {GSL::Vector}[link:vector_rdoc.html].
|
291
|
+
# {GSL::Vector}[link:rdoc/vector_rdoc.html].
|
292
292
|
#
|
293
293
|
# <b>The FFT methods described below return FFTed data, and the input vector is
|
294
294
|
# not changed. Use methods with '!' as <tt>radix2_tranform!</tt> for in-place
|
@@ -526,10 +526,10 @@
|
|
526
526
|
#
|
527
527
|
# graph(nil, data, data2, "-T X -C -g 3 -L 'Real-halfcomplex' -x 0 #{data.size}")
|
528
528
|
#
|
529
|
-
# {prev}[link:eigen_rdoc.html]
|
530
|
-
# {next}[link:wavelet_rdoc.html]
|
529
|
+
# {prev}[link:rdoc/eigen_rdoc.html]
|
530
|
+
# {next}[link:rdoc/wavelet_rdoc.html]
|
531
531
|
#
|
532
|
-
# {Reference index}[link:ref_rdoc.html]
|
532
|
+
# {Reference index}[link:rdoc/ref_rdoc.html]
|
533
533
|
# {top}[link:index.html]
|
534
534
|
#
|
535
535
|
#
|