summaryrefslogtreecommitdiff
path: root/packages/base/src
AgeCommit message (Collapse)Author
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-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.
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-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-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
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-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-13fixed documentationKevin Slagle
2016-10-12add compactSVDTolKevin Slagle
2016-10-09implement thinQR and thinRQKevin Slagle
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.
2016-04-04Remove Binary orphan instance for ComplexSidharth Kapur
2016-03-21Remove BINARY ifdefs and CPP pragmasSidharth Kapur
2016-03-13Add dimension check in Dim binary instanceSidharth Kapur
2016-03-13Simplify binary instancesSidharth Kapur
2016-03-13Merge branch 'master' into matrix_binarySidharth Kapur
Conflicts: packages/base/src/Internal/Matrix.hs
2016-02-09make ghc-8.0 happyAlberto Ruiz
2016-02-01Remove CPP option from cabal filesSidharth Kapur
Use {-# LANGUAGE CPP #-} instead.