summaryrefslogtreecommitdiff
path: root/packages/base/src/Data/Packed/Numeric.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Data/Packed/Numeric.hs')
-rw-r--r--packages/base/src/Data/Packed/Numeric.hs11
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/base/src/Data/Packed/Numeric.hs b/packages/base/src/Data/Packed/Numeric.hs
index cb449a9..906bc83 100644
--- a/packages/base/src/Data/Packed/Numeric.hs
+++ b/packages/base/src/Data/Packed/Numeric.hs
@@ -31,12 +31,12 @@ module Data.Packed.Numeric (
31 diag, ident, 31 diag, ident,
32 ctrans, 32 ctrans,
33 -- * Generic operations 33 -- * Generic operations
34 Container(..), Numeric, 34 Container(..), Numeric, Extractor(..), (??), range, idxs, I,
35 -- add, mul, sub, divide, equal, scaleRecip, addConstant, 35 -- add, mul, sub, divide, equal, scaleRecip, addConstant,
36 scalar, conj, scale, arctan2, cmap, cmod, 36 scalar, conj, scale, arctan2, cmap, cmod,
37 atIndex, minIndex, maxIndex, minElement, maxElement, 37 atIndex, minIndex, maxIndex, minElement, maxElement,
38 sumElements, prodElements, 38 sumElements, prodElements,
39 step, cond, find, assoc, accum, 39 step, cond, find, assoc, accum, ccompare, cselect,
40 Transposable(..), Linear(..), 40 Transposable(..), Linear(..),
41 -- * Matrix product 41 -- * Matrix product
42 Product(..), udot, dot, (<·>), (#>), (<#), app, 42 Product(..), udot, dot, (<·>), (#>), (<#), app,
@@ -58,7 +58,7 @@ module Data.Packed.Numeric (
58 Complexable(), 58 Complexable(),
59 RealElement(), 59 RealElement(),
60 RealOf, ComplexOf, SingleOf, DoubleOf, 60 RealOf, ComplexOf, SingleOf, DoubleOf,
61 roundVector, 61 roundVector,fromInt,toInt,
62 IndexOf, 62 IndexOf,
63 module Data.Complex, 63 module Data.Complex,
64 -- * IO 64 -- * IO
@@ -309,4 +309,9 @@ sortVector = sortV
309sortIndex :: (Ord t, Element t) => Vector t -> Vector I 309sortIndex :: (Ord t, Element t) => Vector t -> Vector I
310sortIndex = sortI 310sortIndex = sortI
311 311
312ccompare :: (Ord t, Container c t) => c t -> c t -> c I
313ccompare = ccompare'
314
315cselect :: (Container c t) => c I -> c t -> c t -> c t -> c t
316cselect = cselect'
312 317