hmatrix-quadprogpp 0.2.0.1 → 0.2.0.2
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
Numeric/Minimization/QuadProgPP.hs view
@@ -40,16 +40,16 @@ :: (Matrix Double, Vector Double) -- ^ The function to minimize. It should be of the form -- @(A, B)@, which represents a quadratic function- -- @x -> (1/2)x'Ax + x'B@ where t' denotes the transpose+ -- @x -> (1/2)x'Ax + B'x@ where t' denotes the transpose -- of t. @A@ must be positive definite. -> Maybe (Matrix Double, Vector Double) -- ^ Optional equality constraints. When given, this -- argument should be of the form @Just (C, D)@, which- -- represents a linear equality @x -> x'C + D = 0@.+ -- represents a linear equality @x -> Cx + D = 0@. -> Maybe (Matrix Double, Vector Double) -- ^ Optional inequality constraints. When given, this -- argument should be of the form @Just (E, F)@, which- -- represents linear inequalities @x -> x'E + F >= 0@.+ -- represents linear inequalities @x -> Ex + F >= 0@. -> Either QuadProgPPError (Vector Double, Double) solveQuadProg (g, g0) (split -> (ce, ce0)) (split -> (ci, ci0)) = unsafePerformIO $
hmatrix-quadprogpp.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: hmatrix-quadprogpp-version: 0.2.0.1+version: 0.2.0.2 synopsis: Bindings to the QuadProg++ quadratic programming library description: Bindings to QuadProg++, a C++ library for quadratic programming.@@ -25,5 +25,5 @@ c-sources: c++/binding.cxx exposed-modules: Numeric.Minimization.QuadProgPP -- other-modules: - build-depends: base >= 4.5 && < 4.7, vector >= 0.9, hmatrix >= 0.14+ build-depends: base >= 4.5 && < 4.9, vector >= 0.9, hmatrix >= 0.14 extra-libraries: QuadProgpp, stdc++