John Benediktsson
b9df0a7582
math.extras: adding the Kahan summation.
2013-10-13 08:27:58 -07:00
John Benediktsson
7bc62f4c7c
math.transforms.fft: small bit of speedup.
2013-09-23 15:56:18 -07:00
John Benediktsson
4797dae4f2
math.extras: switch to using sorting.extras.
2013-09-05 21:09:32 -07:00
John Benediktsson
f61bf2f4c4
math.extras: faster search-sorted by bisecting.
2013-09-04 21:31:34 -07:00
John Benediktsson
6e6adb036d
math.extras: remove accidental test.
2013-09-04 21:21:42 -07:00
John Benediktsson
5eb9d4532d
math.extras: two versions of search-sorted.
2013-09-04 19:01:25 -07:00
John Benediktsson
cfb44999a1
math.extras: adding round-away-from-zero.
2013-06-17 10:11:49 -07:00
John Benediktsson
66b2b3c044
math.combinators: fix help-lint warnings I introduced...
2013-05-07 08:18:20 -07:00
John Benediktsson
bca3ddfae8
math.extras: change moving-median to use <clumps>.
2013-05-06 10:41:21 -07:00
John Benediktsson
62d79dd125
math.combinators: adding unless-positive and unless-negative.
2013-05-06 08:45:29 -07:00
John Benediktsson
bd8cc0a5f1
Revert "math.extras: change to <clumps> to match other moving- words."
...
This reverts commit 4c3d15e01a89a3383e77192ebcf969c2a17e7aa8.
2013-05-06 08:38:07 -07:00
John Benediktsson
a3cf0d70ba
math.combinators: fix help-lint errors.
2013-05-06 08:34:32 -07:00
lorynj
5ccfb83a4d
when-negative / when-positive
...
Convenience combinators to encapsulate testing numbers for being negative or positive, followed by call to a true quotation.
Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:16:36 -07:00
John Benediktsson
0dc6240d4d
math.extras: change to <clumps> to match other moving- words.
2013-05-02 16:50:30 -07:00
John Benediktsson
05ea081cd0
math.extras: adding monotonic-count and max-monotonic-count.
2013-05-01 21:56:34 -07:00
John Benediktsson
2e94cb312a
math.finance: adding performance.
2013-05-01 21:24:09 -07:00
John Benediktsson
842a69c099
math.extras: add fill-nans.
2013-05-01 21:22:27 -07:00
John Benediktsson
4712eff3c5
math.text: make it only work with integers.
2013-04-26 16:08:11 -07:00
John Benediktsson
00eeb07680
math.matrices.laplace: adding Laplace expansion.
2013-04-25 15:04:16 -07:00
John Benediktsson
19662c976b
math.extras: use fry for clarity.
2013-04-22 16:34:00 -07:00
John Benediktsson
66e3138f4b
math.extras: rename 2pi-range to [0,2pi].
2013-04-22 11:56:23 -07:00
John Benediktsson
e3c5b53610
math.extras: cleanup duplicate code.
2013-04-22 11:13:32 -07:00
John Benediktsson
34e04aa8bc
math.combinatorics.bits: new vocab for permutation-bits words.
2013-04-11 10:32:36 -07:00
John Benediktsson
5d8864cb9a
math.extras: remove permutation-bits words.
2013-04-11 10:30:55 -07:00
John Benediktsson
dd94812561
math.extras: adding more permutation-bits words.
2013-04-10 15:51:58 -07:00
John Benediktsson
83659c228a
math.extras: faster next-permutation-bits using /i.
2013-04-10 14:44:21 -07:00
John Benediktsson
336e2bfd58
math.extras: adding bitwise permutation words.
2013-04-10 14:29:23 -07:00
John Benediktsson
7d2ad13830
math.extras: fix bernoulli.
2013-04-10 09:29:21 -07:00
John Benediktsson
4767248369
math.factorials: style.
2013-04-09 13:57:53 -07:00
John Benediktsson
047d9cad3e
math.factorials: cleanup orial-primes.
2013-04-09 12:22:41 -07:00
John Benediktsson
6c106fb422
math.factorials: more factorial words.
2013-04-09 12:07:49 -07:00
John Benediktsson
68cdaa2c69
math.factorials: more factorial words.
2013-04-09 11:04:38 -07:00
John Benediktsson
5ec39e2542
math.factorials: more factorial words.
2013-04-09 10:37:20 -07:00
John Benediktsson
ad419301af
math.factorials: making double-factorial work for negative numbers.
2013-04-08 21:44:35 -07:00
John Benediktsson
50c8033301
math.factorials: adding double-factorial.
2013-04-08 21:13:46 -07:00
John Benediktsson
25f1758384
math.factorials: cleanup using.
2013-04-08 15:23:39 -07:00
John Benediktsson
4fa6e09310
math.factorials: include 1.
2013-04-08 15:15:49 -07:00
John Benediktsson
cda0092fec
math.factorials: handle more inputs in factorial/.
2013-04-08 15:08:53 -07:00
John Benediktsson
a12728d5a3
math.factorials: various factorial words.
2013-04-08 15:03:15 -07:00
John Benediktsson
fdc43d0574
math.extras: adding round-to-step.
2013-04-01 17:04:07 -07:00
John Benediktsson
dca20550ac
math.extras: adding round-to-decimal.
2013-04-01 17:03:18 -07:00
John Benediktsson
02d9565732
math.statistics: adding demean and demedian, cleanup a bit.
2013-03-28 11:40:46 -07:00
John Benediktsson
3e209587c5
math.extras: adding round-to-even.
2013-03-26 14:36:05 -07:00
John Benediktsson
c3917cdd02
math.extras: adding normalized compression distance and compression based dissimilarity.
2013-03-25 10:33:41 -07:00
John Benediktsson
b099cbb1f2
math.extras: adding docs for majority.
2013-03-24 20:14:17 -07:00
John Benediktsson
3ce93bf86f
math.extras: adding majority vote algorithm.
2013-03-24 19:39:34 -07:00
Doug Coleman
5224fba820
math: Revert clone on median algorithm, perhaps need to revisit this. Call clump for moving-median
2013-03-24 01:14:35 -07:00
Doug Coleman
8ec8cdfffa
math.primes.twins: Use clump here.
2013-03-24 01:10:08 -07:00
John Benediktsson
684c2793e7
math: some style cleanup.
2013-03-21 08:54:14 -07:00
John Benediktsson
da1931317d
math.extras: rename to linspace[a,b) and linspace[a,b] and fixes.
2013-03-20 15:15:50 -07:00
John Benediktsson
5e41a50870
math.extras: adding ) and ] versions of linspace.
2013-03-20 15:09:36 -07:00
John Benediktsson
da0a123df3
math.extras: adding logspace.
2013-03-20 13:49:55 -07:00
John Benediktsson
a21fddc4dc
math.extras: adding linspace.
2013-03-20 13:44:54 -07:00
John Benediktsson
4d9d980e22
math.hashcodes: fix complex number-hashcodes.
2013-03-20 12:49:12 -07:00
John Benediktsson
dc08c22a92
math.hashcodes: better test-case.
2013-03-19 22:55:50 -07:00
John Benediktsson
6308e25f6e
math.hashcodes: try and fix tests on 32-bit.
2013-03-19 17:22:25 -07:00
John Benediktsson
f936a1dc65
math.hashcodes: better tests.
2013-03-16 13:58:29 -07:00
John Benediktsson
7162bfed57
math.hashcodes: consistent number hashing.
2013-03-16 13:53:58 -07:00
John Benediktsson
53382f4472
math.extras: return new arrays to protect users from others.
2012-12-04 09:06:30 -08:00
John Benediktsson
c4637b5d79
math.extras: adding unique-indices.
2012-11-07 17:05:06 -08:00
John Benediktsson
1e413edf3a
math.statistics: rename full-* to population-*.
2012-11-06 07:16:20 -08:00
John Benediktsson
5f4bf4513b
math.extras: implement "search-sorted" and "weighted-random".
2012-10-05 14:48:05 -07:00
Doug Coleman
48184779ea
math.extras: Call (gini).
2012-09-26 16:25:20 -07:00
John Benediktsson
9d813ef1a9
math.extras: simpler herfindahl.
2012-09-26 15:43:15 -07:00
John Benediktsson
1fe94e4184
math.extras: adding exponential-index.
2012-09-26 15:29:08 -07:00
John Benediktsson
905e26e9e0
math.extras: adding the Herfindahl measure.
2012-09-26 15:25:45 -07:00
John Benediktsson
35677bc5fa
math.extras: remove variable effects from cum-reduce for now.
2012-09-26 15:20:18 -07:00
John Benediktsson
35bd1a4bbc
math.extras: invent "cum-reduce" concept for gini.
2012-09-26 15:11:41 -07:00
Doug Coleman
768611d130
math.extras: Add sum-cum-sum. Change concentration-coefficient to be more straightforward.
2012-09-26 09:07:57 -07:00
Doug Coleman
1cf27a2af9
math.extras: Fix concentration-coefficient.
2012-09-25 17:54:24 -07:00
Doug Coleman
d5e26ee76d
math.extras: Faster gini. Leaving this as a separate patch for comparison.
2012-09-25 17:52:27 -07:00
Doug Coleman
59e97e1587
math.extras: Add gini and concentration coefficient.
2012-09-25 17:46:05 -07:00
John Benediktsson
2da0e52525
math.extras: adding docs for ramanujan.
2012-09-25 10:50:09 -07:00
John Benediktsson
b601d154c1
math.extras: fix spelling of stirling, add ramanujan approximation of factorial.
2012-09-25 10:48:09 -07:00
Doug Coleman
3014b1828a
math.transforms.bwt: Simplify two places in bwt.
2012-09-10 08:52:42 -07:00
John Benediktsson
9fe9437445
math.transforms.bwt: adding inefficient versions of Burrows-Wheeler transform.
2012-09-09 11:38:59 -07:00
John Benediktsson
7e9f3d665b
math.cardinality: adding a cardinality estimator.
2012-09-08 14:00:36 -07:00
John Benediktsson
5af4627e18
math.extras: adding "until-zero".
2012-08-31 15:00:53 -07:00
John Benediktsson
a454b2e384
math.extras: adding moving-count.
2012-08-31 11:04:12 -07:00
John Benediktsson
79ee220d6c
math.transforms.fft: bit simpler, faster.
2012-08-09 12:34:02 -07:00
John Benediktsson
d6aa829a06
math.transforms.fft: specify algorithm.
2012-08-09 08:56:47 -07:00
John Benediktsson
034b5a255d
math.transforms.fft: using 2map-index to simplify.
2012-08-09 08:36:26 -07:00
John Benediktsson
206d4f851d
math.transforms.fft: adding cross-correlation.
2012-08-08 21:00:49 -07:00
John Benediktsson
d46617e323
math.transforms.fft: simple, fairly slow, fft.
2012-08-08 20:28:14 -07:00
John Benediktsson
60e3fc9341
math.extras: adding moving sum/supremum/infimum.
2012-07-30 16:16:10 -07:00
John Benediktsson
01abb351b5
math.extras: more maths functions.
2012-07-27 12:44:51 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
2f325e4fee
using if-zero in even more places.
2012-07-16 19:38:49 -07:00
John Benediktsson
5cc30f46f5
using if-zero in more places.
2012-07-16 15:45:21 -07:00
John Benediktsson
69d11c08e0
math.text.french: removing duplicate if-zero definition.
2012-06-22 08:36:37 -07:00
John Benediktsson
2dfa80c71e
math.blas.config: deal with OS X libblas ABI mess
...
x86-64 libblas uses different ABIs on 10.5 and 10.7, and is broken on 10.6.
Modified from patch by Joe Groff.
2012-06-20 17:17:49 -07:00
John Benediktsson
314dc05ab0
math.extras: adding nonzero.
2012-06-19 14:23:00 -07:00
John Benediktsson
fe4be254da
sequences.extras: move min-by/max-by to math.compare.
2012-05-19 11:26:01 -07:00
John Benediktsson
bab0f663ae
math.similarity: fix tests, not sure this is the correct definition.
2012-05-08 08:05:31 -07:00
John Benediktsson
a2f8735c9a
math.extras: adding moving-median.
2012-05-04 14:23:15 -07:00
John Benediktsson
cbf022454b
math.finance: adding some tests.
2012-05-04 10:06:24 -07:00
John Benediktsson
0a187f6609
math.finance: some fixes to dema, gdema, and tema.
2012-05-04 09:40:04 -07:00
John Benediktsson
3841bbb891
math.extras: adding moving-average and exponential-moving-average words.
2012-05-04 09:04:58 -07:00
Doug Coleman
3c29b4c131
math.blas, alien.fortran: Back from beyond the grave.
2012-05-04 09:05:43 -07:00
John Benediktsson
7b01763975
math.extras: adding jacobi and legendere symbols.
2012-05-04 08:57:09 -07:00