Commit Graph

848 Commits (b839d15b4ab9e29d84d29c1bad86579346ff6683)

Author SHA1 Message Date
John Benediktsson 013160df9a change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson eaa19eb36f math.primes.erato: minor performance improvements. 2012-10-23 10:49:45 -07:00
Doug Coleman 4c4d186ae4 math.matrices: Trying to flesh out the matrices vocabulary a bit. 2012-10-22 09:47:36 -07:00
Doug Coleman 923f3592c8 math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics. 2012-10-22 09:47:35 -07:00
Doug Coleman 7906632952 math.matrices: Add some combinators for iterating over matrices. Add covariance matrix. 2012-10-22 09:47:35 -07:00
Doug Coleman b23e52f532 math.matrics: Add some combinators and indexing words to math.matrices. 2012-10-22 09:47:35 -07:00
John Benediktsson 13f101bd2b math.statistics: empty-sequence is silly. 2012-09-26 17:09:23 -07:00
John Benediktsson 7fb8db2e74 math.statistics: adding a normalized-histogram word. 2012-09-26 08:39:11 -07:00
John Benediktsson 6072e58db3 math.statistics: remove probabilities word, not really needed. 2012-09-26 08:32:30 -07:00
John Benediktsson ca69afec31 math.statistics: use "cumulative map" as base of all cumulative words. 2012-09-25 22:27:42 -07:00
John Benediktsson a283782abe math.statistics: some fixes to entropy, adding maximum-entropy and normalized-entropy. 2012-09-25 20:17:34 -07:00
Doug Coleman 8e8712efab math.bitwise: Fix bit-range and test it. 2012-09-19 17:03:13 -07:00
Doug Coleman 19b6ae71d5 math.bitwise: Fix on-bits for negative values, which also fixes bits. Add unit tests. 2012-09-19 16:39:22 -07:00
Doug Coleman f0464fa097 math.bitwise: Inline bit-range 2012-09-19 16:15:14 -07:00
Doug Coleman 2735d3a5d7 math.bitwise: Add bit-range 2012-09-19 15:44:19 -07:00
Alex Vondrak 4c53c971c1 compiler.cfg.gvn.math: missed some availability checks that were causing math.vectors.simd.tests to fail (issue #671) 2012-09-18 00:07:10 -07:00
Doug Coleman 2282007334 math.ratios: Add unit tests for bug #668. 2012-09-11 08:16:25 -07:00
John Benediktsson e84e508256 math.ratios: speed up some operations on ratios. 2012-09-10 19:53:25 -07:00
John Benediktsson c86b2d2161 math.combinatorics: factorial could be memoized... 2012-09-05 11:02:38 -07:00
Doug Coleman d2317c71f5 math.statistics: add rank-values 2012-09-04 18:52:38 -07:00
John Benediktsson 8ed541b26b math.ratios: slight fix to M\ ratio recip for negative ratios. 2012-09-02 10:08:00 -07:00
John Benediktsson 009fb4249e math: faster recip for integers and ratios. 2012-09-02 09:47:31 -07:00
John Benediktsson b39547a866 math.bitwise: some cleanup of zero handling. 2012-08-31 15:58:54 -07:00
John Benediktsson 3836d57321 math.functions: faster (integer) m^n. 2012-08-31 15:10:48 -07:00
Doug Coleman 6c9a6122de math.vectors: Implement infinity p-norm and special-case l1-norm and l2-norm. 2012-08-30 16:47:45 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson dd2a5729a7 math.primes.erato: bit faster by inlining. 2012-08-23 09:35:09 -07:00
John Benediktsson ea25cde2af math.functions: make it clear that 0 = is the more correct zero?. 2012-08-13 08:03:54 -07:00
Doug Coleman 432c114745 math.complex: Fix using list. 2012-08-12 13:55:36 -07:00
John Benediktsson 4561cf7684 Revert "math.functions: cleaner rect>."
This reverts commit 5ecff652ba.
2012-08-11 10:40:41 -07:00
Doug Coleman 2b45ba9a4f math.complex: Check C{ } syntax -- can only have two elements in the complex array. Fixes #612. 2012-08-10 15:58:04 -07:00
John Benediktsson 0178117d6c math.functions: cleaner rect>. 2012-08-10 15:51:11 -07:00
John Benediktsson 2e9c20a12e math.matrices: adding the outer product. 2012-08-08 17:02:39 -07:00
Doug Coleman ffe1c510ae math.matrices: rename van-der-monde to vandermonde 2012-07-30 16:44:08 -07:00
John Benediktsson 088dfa4861 math.matrices: adding van-der-monde matrix. 2012-07-30 16:15:21 -07:00
John Benediktsson aed6825b4a math.vectors: implement v^, v^n, n^v. 2012-07-30 16:15:00 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 0359a4e823 math.intervals: using short-circuit logic. 2012-07-17 20:08:12 -07:00
John Benediktsson bdf02bfd2b math.statistics: faster and simpler entropy word. 2012-07-11 12:26:20 -07:00
John Benediktsson 0c5f895371 math.statistics: minor style cleanup. 2012-07-10 17:03:01 -07:00
John Benediktsson 9063235994 math.functions: minor cleanup. 2012-06-22 08:38:34 -07:00
John Benediktsson 55525a8ba4 math.combinatorics: 100%+ faster combinations. 2012-06-01 14:07:39 -07:00
John Benediktsson d10fd71cb3 math.functions: implement copysign. 2012-06-01 08:24:35 -07:00
John Benediktsson f090967d77 math.matrices: adding docs for a few words. 2012-05-25 12:19:23 -07:00
Doug Coleman aad94d711b math.matrices: Add another test to make sure we calculate kron correctly. 2012-05-24 09:02:47 -07:00
Doug Coleman 78f1ca9f14 math.matrices: Add stitch. Add Kronecker product. 2012-05-24 08:53:47 -07:00
John Benediktsson 07b0d52f55 math.statistics: adding winsorized-mean. 2012-05-08 08:48:15 -07:00
John Benediktsson 4c2d01c5ec math.statistics: adding trim-mean and signal-to-noise. 2012-05-08 08:24:57 -07:00
Doug Coleman 0a5a2a74a7 math.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute-errors words. 2012-05-07 15:04:37 -07:00
John Benediktsson 495637a087 math.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix. 2012-05-04 18:01:21 -07:00