Commit Graph

10272 Commits (302df7368680f42f6dd9b333843d0ede61f12554)

Author SHA1 Message Date
John Benediktsson 2a846cfff9 sequences.extras: adding index-selector. 2013-05-20 17:43:26 -07:00
John Benediktsson 3ac3c69ab4 sequences.extras: similarly improve map-filter and filter-map. 2013-05-20 17:09:14 -07:00
John Benediktsson 9e2a999af3 sequences.extras: change filter-index to use length of seq not exemplar. 2013-05-20 16:59:03 -07:00
John Benediktsson 6cf79efb47 twitter: adding verify-credentials. 2013-05-20 16:47:23 -07:00
John Benediktsson a8979ad9bc combinators.extras: adding plox by request. 2013-05-14 13:44:14 -07:00
John Benediktsson 8805da92e0 combinators.extras: adding keepd. 2013-05-14 09:40:40 -07:00
John Benediktsson 38833fcafe rosetta-code.pascals-triangle: adding a coefficients method. 2013-05-07 21:06:40 -07:00
John Benediktsson 66b2b3c044 math.combinators: fix help-lint warnings I introduced... 2013-05-07 08:18:20 -07:00
John Benediktsson 05f6304087 io.streams.random: fix USE: again. 2013-05-07 06:18:50 -07:00
John Benediktsson 2ba006cd71 sequences.extras: adding remove-last. 2013-05-07 06:15:33 -07:00
John Benediktsson 1216ae5cb1 io.streams.random: fix USE:. 2013-05-06 16:17:39 -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 92e8bdaf1a io.streams.random: slightly faster. 2013-05-06 08:35:03 -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 1a762e5ac5 sets.extras: adding non-repeating. 2013-05-02 16:37:31 -07:00
Doug Coleman c35586e347 zoneinfo: Add a basic test. 2013-05-02 09:15:40 -07:00
John Benediktsson fb441ca6dc sequences.extras: adding remove-first. 2013-05-02 08:23:25 -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 1bf876fc06 combinators.extras: adding 3bi* and 3bi@. 2013-05-01 18:35:02 -07:00
John Benediktsson 23cb4c2f48 sequences.extras: fix test for arg-where. 2013-05-01 17:19:02 -07:00
John Benediktsson e820dfa386 sequences.extras: faster arg-max, arg-min, arg-where, cleanup. 2013-05-01 14:31:14 -07:00
John Benediktsson bcce56f46b sequences.extras: cleanup, make reverse-as faster. 2013-05-01 14:09:34 -07:00
John Benediktsson 9243d39ef5 sequences.extras: adding cut-slice*. 2013-05-01 14:03:58 -07:00
John Benediktsson 9cb7c1e42d infix: update docs for recent changes. 2013-05-01 11:57:20 -07:00
John Benediktsson 2aa49d6434 rosetta-code.josephus-problem: change to use josephus-2 if k=2. 2013-05-01 11:25:40 -07:00
John Benediktsson 55a9df63f7 rosetta-code.josephus-problem: adding solution for josephus problem. 2013-05-01 11:16:41 -07:00
John Benediktsson 63050f68e2 colors.ryb: adding RYB colors. 2013-04-26 18:52:01 -07:00
John Benediktsson 7e77723104 colors: fix minor TYpo in docs. 2013-04-26 18:51:06 -07:00
John Benediktsson 4712eff3c5 math.text: make it only work with integers. 2013-04-26 16:08:11 -07:00
John Benediktsson e69f007eef terminfo: separate string-offset word. 2013-04-26 11:36:25 -07:00
Jon Harper a6ab66d290 terminfo: interpret shorts as signed integer and test if negative 2013-04-26 11:24:40 -07:00
Jon Harper a902428f62 terminfo: 1 head* is but-last 2013-04-26 11:24:40 -07:00
John Benediktsson bb9abd6926 google.translate: adding translate-tts. 2013-04-26 10:42:50 -07:00
John Benediktsson 8d209ace8a terminfo: probably fix a bug where 0xfeff should be ignored also? 2013-04-26 08:55:57 -07:00
John Benediktsson de21951d79 terminfo: cleanup a little, separate the align-even-bytes. 2013-04-26 08:55:39 -07:00
John Benediktsson 4fd874bbdc terminfo: cleaner, use %c on linux. 2013-04-26 07:10:40 -07:00
John Benediktsson 1d93236129 terminfo: hex only on macosx. 2013-04-26 07:09:15 -07:00
John Benediktsson 14ccb55b72 terminfo: parse all the capabilities. 2013-04-26 07:02:46 -07:00
John Benediktsson ca3b7b9d6e terminfo: simplify a bit. 2013-04-25 21:29:05 -07:00
John Benediktsson 7d27d64f36 sequences.extras: cleanup reduce's a little. 2013-04-25 20:48:04 -07:00
John Benediktsson 17415b3525 sequences.extras: adding subseq-as. 2013-04-25 20:38:07 -07:00
John Benediktsson 0ea8ed84b5 terminfo: parser for terminfo database files. 2013-04-25 20:00:54 -07:00
John Benediktsson 00eeb07680 math.matrices.laplace: adding Laplace expansion. 2013-04-25 15:04:16 -07:00
John Benediktsson 339be3f517 random.rdrand: adding RDRAND random generator. 2013-04-25 14:39:38 -07:00
John Benediktsson c3f6ee412c random.c: adding summary. 2013-04-25 14:39:24 -07:00
John Benediktsson 2526d3c982 Fix some copyrights, sorry "Your name". 2013-04-25 13:26:36 -07:00
John Benediktsson 4afec99e97 html.parser.analyzer: fix help-lint errors. 2013-04-24 13:39:36 -07:00
bjourne@gmail.com dd32064691 Docs moved to own file and ? instead of if. 2013-04-24 13:35:04 -07:00
bjourne@gmail.com 1b91f4dc23 html.parser.analyzer: make find-between* work on nested tags. 2013-04-24 13:35:04 -07:00
John Benediktsson f1b21b1827 sets.extras: few more words. 2013-04-24 07:58:50 -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
Doug Coleman 124a9a3417 websites.concatenative: Fix the bug. 0.96~~ 2013-04-21 00:37:51 -04:00
John Benediktsson 4f42837273 benchmark.crc32: do more work in the crc32-benchmark. 2013-04-19 11:35:47 -07:00
John Benediktsson b5f2fb891e hashtables.numbers: adding number-hashcode version of hashtables. 2013-04-17 14:07:49 -07:00
John Benediktsson e751fbf78b hash-sets.numbers: adding number-hashcode version of hash-sets. 2013-04-17 14:07:33 -07:00
John Benediktsson 3db55c8707 sequences.snipped: adding snipped virtual sequences. 2013-04-17 10:27:22 -07:00
John Benediktsson db81422ff4 infix: crazy infix methods idea, dunno if it is awesome yet. 2013-04-15 11:27:09 -07:00
Doug Coleman febc689322 c.preprocessor: Use ML-style comments. 2013-04-13 17:30:49 -07:00
Doug Coleman ffa742c7f8 arrays.shaped: Deal with 0s in shape.
Fix prettyprinting, introduce sa{ } syntax.
Add broadcastable? check for binary operations.
Add shape of output array for broadcasts.
Check for negative integers in shape.
2013-04-11 16:22:01 -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 5c225fa09f sequences: moving some words to sequences.extras. 2013-04-10 10:49:29 -07:00
John Benediktsson 7d2ad13830 math.extras: fix bernoulli. 2013-04-10 09:29:21 -07:00
John Benediktsson b29d3a0f4a poker: use map-product from sequences.extras. 2013-04-10 09:25:09 -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 64a1b15d4b sets.extras: adding symmetric-diff and proper-subset?. 2013-04-09 10:37:50 -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 5980d660bc benchmark.sum-file: simpler, more idiomatic, faster. 2013-04-08 07:17:37 -07:00
John Benediktsson 0431acf97e benchmark.pidigits: simplify handling of arrays. 2013-04-07 15:33:54 -07:00
John Benediktsson ed95bcc8b9 benchmark.reverse-complement: more idiomatic, faster. 2013-04-07 15:19:58 -07:00
John Benediktsson c900590f8b use concat instead of join. 2013-04-06 17:02:22 -07:00
John Benediktsson 0b60d6cc4c bloom-filters: fix docs. 2013-04-04 16:06:01 -07:00
John Benediktsson 3c4dbf6ed5 infix: removing alternate syntax due to use of multiline strings... 2013-04-04 15:17:50 -07:00
John Benediktsson 6f2f681ae8 infix: adding alternate syntax. 2013-04-04 15:05:49 -07:00
John Benediktsson 5d73e84dae infix: adding pow(). 2013-04-04 15:04:14 -07:00
John Benediktsson d544cfb956 boids: fix typo. 2013-04-04 13:33:26 -07:00
John Benediktsson 66693a786f bloom-filters: cleanup interface a little bit. 2013-04-04 13:26:24 -07:00
John Benediktsson 55e0be5c7a base85: fix handling of pad characters. 2013-04-04 11:43:17 -07:00
John Benediktsson 464292dcb7 base85: adding a base85 encoder/decoder. 2013-04-04 10:39:43 -07:00
John Benediktsson 812c3e4cdf benchmark.bloom-filters: more iterations now bloom-filters are faster. 2013-04-04 07:10:30 -07:00
John Benediktsson 1cd3be1fb2 bloom-filters: tons of speed. 2013-04-04 07:10:13 -07:00
John Benediktsson 1f45b8a4e3 bloom-filters: more speeeeeed. 2013-04-03 20:27:23 -07:00
John Benediktsson 8c8d8d0c14 bloom-filters: minor style improvements. 2013-04-03 15:20:49 -07:00
John Benediktsson 2e40bffccf bloom-filters: performance improvements. 2013-04-03 15:11:08 -07:00
John Benediktsson d47a306557 benchmark.bloom-filters: adding a benchmark for bloom filters. 2013-04-03 15:10:52 -07:00
John Benediktsson ec74336c7b sequence.extras: adding ?trim-head and ?trim-tail. 2013-04-03 08:55:48 -07:00
John Benediktsson fd7ec79b20 sorting.extras: better tests and fix zip order. 2013-04-01 20:31:34 -07:00
John Benediktsson 9d6f2ad353 sorting.extras: adding map-sort for efficiently decorating, sorting, and undecorating a sequence. 2013-04-01 18:35:05 -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 23c154c06f benchmark.splitting: stop using split* and use slices only. 2013-04-01 10:26:43 -07:00
John Benediktsson a96ff62f5c splitting.extras: adding split* and split-find. 2013-04-01 09:14:27 -07:00
Doug Coleman 98f05ef812 gdbm: Change the gdbm test file to have a different name on 32/64 bit. Fixes #673 and the race condition when running two mason instances on 32/64 bit. 2013-03-29 14:17:13 -07:00
Doug Coleman 36b11c2ed1 cpu.8080: Throw an error not a string. 2013-03-29 09:51:26 -07:00
Doug Coleman 58ee52e63b asn1: Throw an error not a string. 2013-03-29 09:51:26 -07:00
John Benediktsson a6614ee974 sequences.extras: faster even-indices and odd-indices. 2013-03-29 07:10:27 -07:00
John Benediktsson 47a5619bb4 benchmark.parse-ratio: adding a ratio parse benchmark. 2013-03-28 14:31:45 -07:00
John Benediktsson ff39d3f53a benchmark.parse-float: add a float parse benchmark. 2013-03-28 11:41:57 -07:00
John Benediktsson 02d9565732 math.statistics: adding demean and demedian, cleanup a bit. 2013-03-28 11:40:46 -07:00
John Benediktsson c403857f0d benchmark.parse-bignum: adding a bignum parse benchmark. 2013-03-28 06:24:25 -07:00
John Benediktsson 6a4a7796ed benchmark.parse-fixnum: adding a fixnum parse benchmark. 2013-03-28 06:24:15 -07:00
John Benediktsson 677f87ae0d pdf.wrap: adding some tests. 2013-03-27 19:05:20 -07:00
John Benediktsson 9341a660a2 benchmark.splitting: adding a splitting benchmark. 2013-03-27 16:12:08 -07:00
John Benediktsson e6d4b9054e benchmark.hash-sets: do more benching (create sets in a literal).
Don't run the "intersects?" test on old hash-sets, they are sloooooow.
2013-03-26 17:42:41 -07:00
John Benediktsson 3e209587c5 math.extras: adding round-to-even. 2013-03-26 14:36:05 -07:00
John Benediktsson fa534d2507 benchmark.fib8: adding super-fast fibonacci benchmark. 2013-03-26 11:48:01 -07:00
John Benediktsson 6f5efb83f2 benchmark.fib7: adding matrix fibonacci benchmark. 2013-03-26 11:47:52 -07:00
Doug Coleman 8799cdb359 audio.engine: Fix docs 2013-03-25 11:57:25 -07:00
Doug Coleman 8865b9401d webapps.pastebin: Fix renamed 2013-03-25 11:57:25 -07:00
John Benediktsson c3917cdd02 math.extras: adding normalized compression distance and compression based dissimilarity. 2013-03-25 10:33:41 -07:00
Doug Coleman 4ffbfc2602 basis/extra: Fix load errors 2013-03-24 22:19:28 -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
John Benediktsson 31d6fb178a combinators.extras: adding cleave-array. 2013-03-24 19:34:39 -07:00
John Benediktsson 6c0bb0f343 sequences.extras: adding map-find-index. 2013-03-24 19:12:09 -07:00
John Benediktsson 49d3338c70 cuda: use ERROR:. 2013-03-24 14:24:21 -07:00
John Benediktsson 394af82b1f gpu.shaders: use ERROR: 2013-03-24 14:20:32 -07:00
John Benediktsson ed73d4c63a assocs.extras: adding assoc-merge. 2013-03-24 12:26:30 -07:00
John Benediktsson 71a7f0e4ad combinators.extras: adding cond-case. 2013-03-24 12:26:30 -07:00
Doug Coleman b491b5aeb6 robots: Rename 2013-03-24 10:11:18 -07:00
Doug Coleman 9f8ac586f7 gesture-logger: Rename 2013-03-24 10:11:17 -07:00
Doug Coleman 8715a70ce6 webapps.pastebin: Rename 2013-03-24 10:11:17 -07:00
Doug Coleman f2a59594a0 webapps.blogs: Rename <post> 2013-03-24 10:11:17 -07:00
Doug Coleman 549a5916bb opencl: Rename cl-addressing-mode, cl-filter-mode 2013-03-24 10:11:17 -07:00
Doug Coleman 1b08569564 cpu.arm.assembler: The ARM assembler is a crazy hack. 2013-03-24 10:11:17 -07:00
Doug Coleman 474805803d game.loop: Rename game-loop-error 2013-03-24 10:11:17 -07:00
Doug Coleman b5d7399060 units: Use ERROR: for dimensions-not-equal. 2013-03-24 10:11:16 -07:00
Doug Coleman c8e4fc08e9 cuda: Rename cuda-error. 2013-03-24 10:11:16 -07:00
Doug Coleman 37dea89f2d monads: Rename words to not be class/word 2013-03-24 01:45:29 -07:00
Doug Coleman d4a0f94aa7 gpu.shaders: Rename error words. 2013-03-24 01:33:45 -07:00