diff options
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. |