summaryrefslogtreecommitdiff
path: root/packages/base/src
AgeCommit message (Collapse)Author
2018-04-27Fixed vector show instance and related haddock entries.Peter Dobsan
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.
2016-02-01some work (will probably undo this commit later)Sidharth Kapur
2016-01-27Minor changeSidharth Kapur
2016-01-27Add Num, Fractional, Floating instances for SymSidharth Kapur
2016-01-11Merge branch 'master' of github.com:albertoruiz/hmatrixJustin Le
2016-01-11provisional fix for takeDiagAlberto Ruiz
2016-01-11Disp instance for Sym and HerJustin Le
2016-01-07changed zipWith to zipWithVector to match Numeric.LinearAlgebra.DevelJustin Le
2016-01-07reverted my previous 'bug fixes', because it should be safe to use unwrap ↵Justin Le
instead of extract for mapX functions
2016-01-07added withRows and withColumns, for ease of working with lists of rows and ↵Justin Le
columns and as inverses of toRows and toColumns
2016-01-07withOrth added, to mirror withNullSapce, for StaticJustin Le
2016-01-07added meanCov to StaticJustin Le
2016-01-07formatting commas for style consistencyJustin Le