diff options
Diffstat (limited to 'packages/base/src/Data/Packed/Numeric.hs')
-rw-r--r-- | packages/base/src/Data/Packed/Numeric.hs | 11 |
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 | |||
309 | sortIndex :: (Ord t, Element t) => Vector t -> Vector I | 309 | sortIndex :: (Ord t, Element t) => Vector t -> Vector I |
310 | sortIndex = sortI | 310 | sortIndex = sortI |
311 | 311 | ||
312 | ccompare :: (Ord t, Container c t) => c t -> c t -> c I | ||
313 | ccompare = ccompare' | ||
314 | |||
315 | cselect :: (Container c t) => c I -> c t -> c t -> c t -> c t | ||
316 | cselect = cselect' | ||
312 | 317 | ||