Commit Graph

576 Commits (7c7bb93c55ce5dc4f6411c83ead3eea1fc726d3a)

Author SHA1 Message Date
Samuel Tardieu 30f73d63f4 Add French number>text support for ratios 2017-03-23 12:11:05 +01:00
Samuel Tardieu 5707acdaf0 Apply 1990 French orthographic reform for writing numbers 2017-03-23 11:32:52 +01:00
John Benediktsson a2d5f8e9ad math.cardinality: relax the comparison so tests run more successfully. 2017-01-05 09:06:33 -08:00
John Benediktsson a3abd46500 math.cardinality: adding summary.txt. 2017-01-04 14:22:30 -08:00
John Benediktsson 5376587fb3 math.cardinality: adding some tests. 2017-01-04 14:16:58 -08:00
John Benediktsson ef269c493c math.factorial: reverse-factorial only undo factorial.
The other way doesn't make sense.
2016-11-29 19:01:36 -08:00
John Benediktsson 8bdaf26d6b math.factorials: implement "undo" for factorials. 2016-11-29 16:56:48 -08:00
John Benediktsson 1e2e2dc9f7 math.factorials: adding reverse-factorial. 2016-11-28 19:09:03 -08:00
Björn Lindqvist 485a45a719 extra/: ensuring tests have an IN:-line ending with .tests 2016-08-20 06:01:16 +02:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 46aa1f2088 math.approx: fix typo in docs. 2016-07-11 21:09:11 -07:00
Doug Coleman 35d84c6e64 maths.primes: finish renaming fast-gcd to simple-gcd. 2016-03-19 17:21:24 -07:00
Björn Lindqvist b035e8ec13 math.hashcodes,python.syntax: bi@ and -> both? 2015-11-04 09:25:32 +01:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 43fb73fae6 factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace. 2015-08-06 17:05:12 -05:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman af3605bfe6 math.extras: .. and ... are cool but not used and can come back soon. 2015-07-21 17:33:13 -07:00
Doug Coleman 35d81c742d math.derivatives: Add a ; to the syntax for derivatives so the parsing word doesn't have to introspect its input arity. 2015-07-21 12:35:08 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -07:00
Doug Coleman 4ec2311406 factor: Trim whitespace after ! comments and a few USING: lines that got skipped before. 2015-07-18 20:14:22 -07:00
John Benediktsson 8d4d0d356f math.numerical-integration: make sure length is an integer. 2015-07-17 16:44:44 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
Benjamin Pollack e1e29b7647 Add a couple minor extra docs for math.extras 2015-05-08 14:12:09 -07:00
John Benediktsson 52043e60d5 math.transforms.bwt: slightly faster, remove suffixes because it seems buggy. 2015-05-05 17:20:04 -07:00
John Benediktsson e62da0bc64 math.transforms.bwt: faster version of bwt if only needing transform. 2015-05-05 16:08:55 -07:00
John Benediktsson 6f3f4e8fb8 math.transforms.bwt: faster versions of Burrows-Wheeler Transform. 2015-04-28 19:28:14 -07:00
John Benediktsson 174f0f02a1 math.extras: change kelly criterion tests to use ratios. 2015-04-02 08:03:49 -07:00
John Benediktsson a4c0ae98c5 math.extras: adding the Kelly criterion. 2015-04-01 21:34:54 -07:00
John Benediktsson 592764ded4 math.extras: adding the Möbius function. 2014-12-23 20:08:23 -08:00
John Benediktsson 24263299fa math.primes.solovay-strassen: adding Solovay-Strassen primality test. 2014-12-13 16:52:28 -08:00
John Benediktsson 31b22494a1 extra: using empty? in some places. 2014-12-04 19:13:08 -08:00
John Benediktsson 921e995ed9 math.binpack: faster by storing only items, not weights. 2014-11-29 17:35:01 -08:00
John Benediktsson 43fcee0d75 math.binpack: cleanup using. 2014-11-29 15:57:30 -08:00
John Benediktsson c4125ad96a math.binpack: make binpacking much faster by caching total weight per bin. 2014-11-29 15:54:14 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
John Benediktsson 85fdc4f6d2 math.transforms.bwt: cleaner to check last. 2014-06-30 09:04:08 -07:00
John Benediktsson 77d4d5179c math.extras: adding sum-squares and sum-cubes. 2014-06-10 18:28:21 -07:00
John Benediktsson acc06aeeee math.extras: adding dotted range syntax. 2014-06-10 18:17:27 -07:00