plot-gtk 0.2.0.2 → 0.2.0.3
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~hmatrixPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hmatrix
API changes (from Hackage documentation)
Files
- CHANGES +3/−0
- lib/Graphics/Rendering/Plot/HMatrix.hs +5/−2
- plot-gtk.cabal +3/−3
CHANGES view
@@ -40,3 +40,6 @@ 0.2.0.2: * allow pango/cairo v0.13++0.2.0.3:+ * update for hmatrix 0.17
lib/Graphics/Rendering/Plot/HMatrix.hs view
@@ -32,7 +32,8 @@ ----------------------------------------------------------------------------- {- Function signatures copied from hmatrix, (c) A. Ruiz -} -import Numeric.LinearAlgebra+import Numeric.LinearAlgebra hiding(matrix)+import Numeric.LinearAlgebra.Data() {- COMPATABILITY -} import Data.List(intersperse)@@ -46,6 +47,7 @@ ----------------------------------------------------------------------------- +--nohandle :: forall (m :: * -> *) a. Monad m => m a -> m () nohandle m = m >> return () -----------------------------------------------------------------------------@@ -63,6 +65,7 @@ ----------------------------------------------------------------------------- -- apply several functions to one object+--mapf :: forall b a. [a -> b] -> a -> [b] mapf fs x = map ($ x) fs {- | Draws a list of functions over a desired range and with a desired number of points @@ -112,7 +115,7 @@ -- | From vectors x and y, it generates a pair of matrices to be used as x and y arguments for matrix functions. meshdom :: Vector Double -> Vector Double -> (Matrix Double , Matrix Double)-meshdom r1 r2 = (outer r1 (constant 1 (dim r2)), outer (constant 1 (dim r1)) r2)+meshdom r1 r2 = (outer r1 (konst 1 (size r2)), outer (konst 1 (size r1)) r2) gnuplotX :: String -> IO () gnuplotX command = do { _ <- system cmdstr; return()} where
plot-gtk.cabal view
@@ -1,8 +1,8 @@ Name: plot-gtk-Version: 0.2.0.2+Version: 0.2.0.3 License: BSD3 License-file: LICENSE-Copyright: (c) A.V.H. McPhail 2010, 2012, 2014+Copyright: (c) A.V.H. McPhail 2010, 2012, 2014, 2015 Author: Vivian McPhail Maintainer: haskell.vivian.mcphail <at> gmail <dot> com Stability: experimental@@ -29,7 +29,7 @@ process, glib >= 0.11 && < 0.14, gtk >= 0.11 && < 0.14,- hmatrix >= 0.10,+ hmatrix >= 0.17, plot < 0.3 Extensions: