summaryrefslogtreecommitdiff
path: root/packages/base
AgeCommit message (Collapse)Author
2019-07-01Merge pull request #301 from nh2/no-random_r-flagHEADmasteridontgetoutmuch
Allow disabling random_r() usage manually.
2019-06-30urandom(): Refactor CPP, clarify warnings. See #279.Niklas Hambüchen
* 2 identical CPP #ifdef sections were merged for easier readibility. * Warnings and comments now include more concrete explanations on in which situations urandom() isn't thread-safe and what not being thread-safe means in that case. * Added TODO on how the situation can be fixed long-term.
2019-06-30Remove sundials as it has its own repo now. FixDominic Steinitz
* https://github.com/haskell-numerics/hmatrix/issues/304 * https://github.com/haskell-numerics/hmatrix/issues/302 * https://github.com/haskell-numerics/hmatrix/issues/290
2019-05-17Allow disabling random_r() usage manually. See #279.Niklas Hambüchen
This allows building hmatrix against the musl libc, which allows easily linking Haskell programs statically. A feature-detection for random_r() would be even better, but this will do for now.
2018-11-19Fix #282Maxim Koltsov
LAPACK routine dgttrf mutates its inputs per documentation. To prevent user-visible breakage input vectors must be copied before sending them to LAPACK.
2018-11-13Fix doc for geig, fix warningMaxim Koltsov
2018-11-13Fix geig for complex eigenvalues, add testsMaxim Koltsov
eigG was incorrectly returning eigenvectors corresponding to complex eigenvalues. This was discovered with tests for geig, which are also added to the repo.
2018-11-08Add generalized eigenvalues via dggev and zggevMaxim Koltsov
These lapack functions generalize dgeev and zgeev. Interface for them was added similarly to eig* functions already present in hmatrix.
2018-05-03Merge branch 'fix-vector-show-instance'Peter Dobsan
2018-05-03Minor change to trigger CI.Peter Dobsan
2018-04-28Merge branch 'fix-vector-show-instance'Peter Dobsan
Fixed the leftovers.
2018-04-28Corrected two haddock examples left out previously.Peter Dobsan
2018-04-27Merge branch 'fix-vector-show-instance'Peter Dobsan
The show instance was changed in vector 0.11. The merged modifications adjust hmatrix/base to that change. That fixes issues #277 and #177.
2018-04-27Fixed vector show instance and related haddock entries.Peter Dobsan
2018-04-22Set all packages to 0.19.0.0Dominic Steinitz
2018-04-21Improve READMEs etcDominic Steinitz
2018-04-03"Fix" warningsDominic Steinitz
2018-04-01Merge pull request #256 from thielema/complexofidontgetoutmuch
base:Internal.Numeric.ComplexOf: turn from type function to type synonym Now it is obvious for GHC that (ComplexOf a) is always a Complex type.
2018-04-01Implement CIDominic Steinitz
2018-03-29base:Internal.Numeric.ComplexOf: turn from type function to type synonymHenning Thielemann
Now it is obvious for GHC that (ComplexOf a) is always a Complex type.
2018-01-18bump version and thanksAlberto Ruiz
2017-12-25Workaround for GHC-8.4.xHiromi ISHII
* Adds missing Semigroup instances * Adds `semigroups` to the deps of `hmatrix` * Hides conflicting names from import list with base >= 4.11 * `(Prelude.<>)` and `GHC.TypeNats.Mod`
2017-09-30fix bug in static dot productAlberto Ruiz
2017-09-14Merge pull request #219 from nh2/disable-default-paths-flagsAlberto Ruiz
Add disable-default-paths flags for hermetic builds
2017-08-13bump version and thanksAlberto Ruiz
2017-07-23Fix compilation with GHC 8.2 by adding some type signatures.Niklas Hambüchen
Fixes this compile error: src/Internal/Util.hs:625:5: error: • Could not deduce (Eq t) from the context: (Indexable (c t) a, Indexable (c t) t, Linear t c, Num (c t), Fractional t, Num a, Eq a) bound by the inferred type for ‘redu’: forall a t (c :: * -> *). (Indexable (c t) a, Indexable (c t) t, Linear t c, Num (c t), Fractional t, Num a, Eq a) => (Int, [c t]) -> [c t] at src/Internal/Util.hs:(625,5)-(632,20) • In the ambiguity check for the inferred type for ‘redu’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
2017-05-29Update cabal version for new C dependency changeVassil Keremidchiev
2017-05-29Support for LTS 8.15 (GHC 8.0.2) under WindowsVassil Keremidchiev
Updated documentation with working solution under Windows.
2017-03-22Merge pull request #224 from idontgetoutmuch/masterAlberto Ruiz
Add tridiagonal solver and tests for it and triagonal solver.
2017-03-21Add tridiagonal solver and tests for it and triagonal solver.Dominic Steinitz
2017-03-19Merge pull request #223 from idontgetoutmuch/masterAlberto Ruiz
Support triangular matrices.
2017-03-17Support triangular matrices.Dominic Steinitz
2017-03-17Fix bug in equalHuw Campbell
2017-03-03Add disable-default-paths flags.Niklas Hambüchen
This makes it possible to disable hmatrix's usage of hardcoded default paths like /usr/..., which is important for hermetic builds such as on nix.
2016-12-19fix documentation typoKevin Slagle
2016-12-19add reorderVector function for tensor libraries (e.g. hTensor) to implement ↵Kevin Slagle
tensor transpose
2016-11-02changes and thanksAlberto Ruiz
2016-11-02unitary -> normalizeAlberto Ruiz
2016-10-26inline dim and subVector since these are inlined by the vector packageKevin Slagle
2016-10-26clarify compactSVDTol corner case in documentationKevin Slagle
2016-10-19Merge pull request #208 from mstksg/staticAlberto Ruiz
[Static] constrained meanCov to require at least one input vector, added matrix inverse to Domain
2016-10-18document norm functions and fix compactSVDTol documentationKevin Slagle
2016-10-13thanksAlberto Ruiz
2016-10-13fixed documentationKevin Slagle
2016-10-12add compactSVDTolKevin Slagle
2016-10-10thanksAlberto Ruiz
2016-10-09implement thinQR and thinRQKevin Slagle
2016-10-08fix cabal file and thanksAlberto Ruiz
2016-10-08Remove unsafe `Internal.Foreign`.Francesco Mazzoli
See #199 for details. The API exported by `Internal.Foreign` was inherently unsafe.
2016-10-07Redefine (#)exfalso