summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-06-27 17:24:37 +0000
committerAlberto Ruiz <aruiz@um.es>2008-06-27 17:24:37 +0000
commitdeb17122b5804d04b06cc830f5aa121e739eaf21 (patch)
tree75834f13b68273faee07d86d2e3d5a3d965fddc5 /lib
parentfe795ee9b1e71666d408879ce30fe6d4ca80830e (diff)
tested with ghc-6.8.3
Diffstat (limited to 'lib')
-rw-r--r--lib/Numeric/GSL/Fourier.hs2
-rw-r--r--lib/Numeric/GSL/Matrix.hs2
-rw-r--r--lib/Numeric/LinearAlgebra/Instances.hs2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Numeric/GSL/Fourier.hs b/lib/Numeric/GSL/Fourier.hs
index 98bfb9c..17439f1 100644
--- a/lib/Numeric/GSL/Fourier.hs
+++ b/lib/Numeric/GSL/Fourier.hs
@@ -35,7 +35,7 @@ foreign import ccall "gsl-aux.h fft" c_fft :: CInt -> TCVCV
35 35
36{- | Fast 1D Fourier transform of a 'Vector' @(@'Complex' 'Double'@)@ using /gsl_fft_complex_forward/. It uses the same scaling conventions as GNU Octave. 36{- | Fast 1D Fourier transform of a 'Vector' @(@'Complex' 'Double'@)@ using /gsl_fft_complex_forward/. It uses the same scaling conventions as GNU Octave.
37 37
38@> fft ('GSL.Matrix.fromList' [1,2,3,4]) 38@> fft ('fromList' [1,2,3,4])
39vector (4) [10.0 :+ 0.0,(-2.0) :+ 2.0,(-2.0) :+ 0.0,(-2.0) :+ (-2.0)]@ 39vector (4) [10.0 :+ 0.0,(-2.0) :+ 2.0,(-2.0) :+ 0.0,(-2.0) :+ (-2.0)]@
40 40
41-} 41-}
diff --git a/lib/Numeric/GSL/Matrix.hs b/lib/Numeric/GSL/Matrix.hs
index 370356f..cb3fa8f 100644
--- a/lib/Numeric/GSL/Matrix.hs
+++ b/lib/Numeric/GSL/Matrix.hs
@@ -8,7 +8,7 @@
8-- Stability : provisional 8-- Stability : provisional
9-- Portability : portable (uses FFI) 9-- Portability : portable (uses FFI)
10-- 10--
11-- A few linear algebra computations based on the Numeric.GSL (<http://www.gnu.org/software/Numeric.GSL>). 11-- A few linear algebra computations based on GSL.
12-- 12--
13----------------------------------------------------------------------------- 13-----------------------------------------------------------------------------
14-- #hide 14-- #hide
diff --git a/lib/Numeric/LinearAlgebra/Instances.hs b/lib/Numeric/LinearAlgebra/Instances.hs
index 8e11d78..91467ad 100644
--- a/lib/Numeric/LinearAlgebra/Instances.hs
+++ b/lib/Numeric/LinearAlgebra/Instances.hs
@@ -9,7 +9,7 @@ Maintainer : Alberto Ruiz (aruiz at um dot es)
9Stability : provisional 9Stability : provisional
10Portability : portable 10Portability : portable
11 11
12This module exports Show, Eq, Num, Fractional, and Floating instances for Vector and Matrix. 12This module exports Show, Read, Eq, Num, Fractional, and Floating instances for Vector and Matrix.
13 13
14In the context of the standard numeric operators, one-component vectors and matrices automatically expand to match the dimensions of the other operand. 14In the context of the standard numeric operators, one-component vectors and matrices automatically expand to match the dimensions of the other operand.
15 15