summaryrefslogtreecommitdiff
path: root/packages
AgeCommit message (Collapse)Author
2018-02-07GSL.ODE: free the jacobian after useregnat
When calling the function `Numeric.GSL.ODE.odeSolveVWith'` and provide a jacobian, a pointer to this jacobian is registered (at https://github.com/albertoruiz/hmatrix/blob/8cb879a4ad83656bc70652957a08113e2b784886/packages/gsl/src/Numeric/GSL/ODE.hs#L146-L148), but never freed, which causes a memory leak. This commits adds a call to `freeHaskellFunPtr` when needed at the end of the function to fix this.
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-29Fix missed printfDominic Steinitz
2017-09-29Print errors to stderrDominic Steinitz
2017-09-14Merge pull request #219 from nh2/disable-default-paths-flagsAlberto Ruiz
Add disable-default-paths flags for hermetic builds
2017-09-12Provide better error messageDominic Steinitz
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-22increase tolerance in triTestAlberto Ruiz
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-11-02bump versionAlberto Ruiz
2016-11-02fix wrapper in glpkAlberto Ruiz
2016-11-02provisional fix for interpolationAlberto Ruiz
2016-11-02use new wrappers in gsl functionsAlberto 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-08minor fix in documentationAlberto 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
2016-06-01added matrix inverse to DomainJustin Le
2016-06-01added constraint for meanCov that there is at least one input vectorJustin Le
2016-05-25added expm and logm; the justification is again that they may only be called ↵Justin Le
on square matrices.
2016-05-25The conjugate transpose of a symmetric real matrix is itselfJustin Le
2016-05-25added Complex type synonym to export listJustin Le
2016-05-25added determinate functions to Domain typeclass. Rationale is that these ↵Justin Le
can be verified to be square and are therefore total, compared to the determinate function from the untyped packages.
2016-05-25Transposable instance for HerJustin Le
2016-05-25Additive, Transposable instances for Static data typesJustin Le
2016-05-25re-implemented exactDim and exactLength in terms of the native GHC TypeLits ↵Justin Le
API with sameNat
2016-05-02Update numeric class top level documentation.Matt Renaud
Noted that the numeric classes for Matrix and Vector which are defined elementwise are commonly referred to as the Hadamard (or Schur) product.