lagrangian 0.4.0.0 → 0.4.0.1
raw patch · 1 files changed
+4/−4 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- lagrangian.cabal +4/−4
lagrangian.cabal view
@@ -10,10 +10,10 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.4.0.0+version: 0.4.0.1 -- A short (one-line) description of the package.-synopsis: Solve lagrange multiplier problems+synopsis: Solve Lagrange multiplier problems -- A longer description of the package. description: @@ -26,13 +26,13 @@ Maximize f(x, y) = x + y, subject to the constraint x^2 + y^2 = 1 . @- \> maximize 0.00001 (\[x, y] -> x + y) [(\[x, y] -> x^2 + y^2) <=> 1] 2+ \> maximize 0.00001 (\\[x, y] -> x + y) [(\\[x, y] -> x^2 + y^2) \<=\> 1] 2 Right ([0.707,0.707], [-0.707]) @ . For more information look here: <http://en.wikipedia.org/wiki/Lagrange_multiplier#Example_1> .- For example, find the maximum entropy with the constraint that the probabilities sum+ For example, to find the maximum entropy with the constraint that the probabilities sum to one. . @