diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-01-08 13:55:57 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-01-08 13:55:57 +0100 |
commit | 5eba1bc309d7845366e8d00849d85426bf8f666d (patch) | |
tree | c35efda048ec3211325f984bcabe9626810d5afd /packages/gsl/src/Graphics | |
parent | 8878aaaf649962f4360a94109a674da756ad2202 (diff) |
update other pkgs to ghc-7.10
Diffstat (limited to 'packages/gsl/src/Graphics')
-rw-r--r-- | packages/gsl/src/Graphics/Plot.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gsl/src/Graphics/Plot.hs b/packages/gsl/src/Graphics/Plot.hs index 0ea41ac..d2ea192 100644 --- a/packages/gsl/src/Graphics/Plot.hs +++ b/packages/gsl/src/Graphics/Plot.hs | |||
@@ -27,13 +27,13 @@ module Graphics.Plot( | |||
27 | 27 | ||
28 | ) where | 28 | ) where |
29 | 29 | ||
30 | import Numeric.Container | 30 | import Numeric.LinearAlgebra.HMatrix |
31 | import Data.List(intersperse) | 31 | import Data.List(intersperse) |
32 | import System.Process (system) | 32 | import System.Process (system) |
33 | 33 | ||
34 | -- | From vectors x and y, it generates a pair of matrices to be used as x and y arguments for matrix functions. | 34 | -- | From vectors x and y, it generates a pair of matrices to be used as x and y arguments for matrix functions. |
35 | meshdom :: Vector Double -> Vector Double -> (Matrix Double , Matrix Double) | 35 | meshdom :: Vector Double -> Vector Double -> (Matrix Double , Matrix Double) |
36 | meshdom r1 r2 = (outer r1 (constant 1 (dim r2)), outer (constant 1 (dim r1)) r2) | 36 | meshdom r1 r2 = (outer r1 (konst 1 (size r2)), outer (konst 1 (size r1)) r2) |
37 | 37 | ||
38 | 38 | ||
39 | {- | Draws a 3D surface representation of a real matrix. | 39 | {- | Draws a 3D surface representation of a real matrix. |