Doug Coleman
e026b554a9
use CONSTANT: in extra
2009-02-22 19:08:45 -06:00
Jason Merrill
d59415d23b
Fixed help for math.dual. Help is now autogenerated where possible.
2009-02-19 22:21:31 -05:00
Jason Merrill
90b6b38fd1
Changed math.dual to define words as dword instead of overloading generic words on dual numbers.
2009-02-19 18:49:13 -05:00
Jason Merrill
8968093623
Added dual versions of a few more words to math.dual.
2009-02-18 21:28:48 -05:00
Jason Merrill
fe55e939f9
Added math.dual and math.derivatives for computing with dual numbers. Also
...
made a few more methods in math.functions generic in order to specialize them
on dual numbers.
2009-02-12 23:13:16 -05:00
Joe Groff
4f25c756ec
Merge branch 'master' of git://factorcode.org/git/factor
2009-01-30 10:15:51 -06:00
Joe Groff
b06ff3750d
Metadata for svg, sequences.squish, math.affine-transforms
2009-01-30 10:15:26 -06:00
Joe Groff
aad17e43ef
math.affine-transforms, sequences.squish, and svg vocabs
2009-01-30 09:39:15 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Samuel Tardieu
6ed520ffa4
Implement math.text.french
2009-01-23 15:22:26 +01:00
Samuel Tardieu
fc384c433b
Put 3digit-groups into its own vocabulary
2009-01-23 15:22:03 +01:00
Samuel Tardieu
6a2f46ed7f
Move math.primes.factors from extra to basis
2009-01-07 23:01:27 +01:00
Samuel Tardieu
397790241f
math.primes.factors rewrite
2009-01-07 22:54:03 +01:00
Samuel Tardieu
594bd3aee8
Move math.primes from extra to basis
2009-01-07 21:12:48 +01:00
Samuel Tardieu
ca7ffd6ea2
Separate lazy lists from core primes number generation
2009-01-07 21:10:34 +01:00
Samuel Tardieu
c8be645eb1
Remove "primes-under-million" list
...
In the past, this was a static list used to optimize prime factors
computation. Now that the dependency has been reversed, there is
no point in keeping this list which can be obtained by
"1000000 primes-upto" as easily.
2009-01-07 10:40:00 +01:00
Samuel Tardieu
5d988b04fa
Add missing files in math.primes.erato and add copyright notice
2009-01-07 10:39:55 +01:00
Samuel Tardieu
78fbeda105
Refactor prime factors decomposition module and add more tests
2009-01-07 10:39:20 +01:00
Samuel Tardieu
f521805bb3
Memoize small primes list
...
This makes "benchmark.binary-search" work again in a reasonable time.
2008-12-29 13:55:47 +01:00
Samuel Tardieu
ca0f3659e4
Optimize primes-between
...
Rather than having primes-between return a slice of primes-upto,
make primes-upto use primes-between.
Also, those two words cannot be marked as foldable as their
output is mutable.
2008-12-28 11:43:13 +01:00
Samuel Tardieu
a843113326
Optimize erato sieve
...
We started crossing the numbers at 3*n, while we can start at n^2.
2008-12-28 11:43:13 +01:00
Samuel Tardieu
5a9eab2c48
Remove unused and redundant math.erato
...
The math.erato module brings nothing more is brought by lprimes
from math.primes. Remove it, as it has no user, and a better version
is available in math.primes.erato anyway.
2008-12-26 21:03:12 +01:00
Samuel Tardieu
99023a3322
Use regular primality test to build primes list
2008-12-26 21:03:12 +01:00
Samuel Tardieu
f86b5baf8d
Use math.primes.erato instead of a list of first prime numbers
2008-12-26 21:03:12 +01:00
Samuel Tardieu
93b20967b5
Add Eratosthene sieve as math.primes.erato
2008-12-26 20:58:46 +01:00
Samuel Tardieu
4f42d00769
Use existing recursion tools rather than explicit one
2008-12-26 20:58:46 +01:00
Samuel Tardieu
7303316a04
Do not remove first primes only to prepend them afterwards
...
This makes little sense to use "lprimes-from" to get the
primes above one million to prepend the list of primes
before one million afterwards.
2008-12-26 20:58:45 +01:00
Slava Pestov
8a66947527
Eliminating usages of combinators/sequences/etc.lib
2008-12-18 00:16:43 -06:00
Slava Pestov
6fb57d821f
Move math.blas to basis
2008-12-17 23:23:43 -06:00
Slava Pestov
d108d58058
Move math.miller-rabin to basis
2008-12-17 19:53:19 -06:00
Slava Pestov
411ba7473b
Clean up some code to not use combinators.lib and sequences.lib
2008-12-17 19:52:47 -06:00
Slava Pestov
c5160d76e9
Merge qualified, alias, symbols, constants into core
2008-12-17 18:10:01 -06:00
Slava Pestov
fea0c80542
Merge branch 'master' of git://projects.elasticdog.com/git/factor
2008-12-15 22:55:59 -06:00
Aaron Schaefer
c9e10e7b4a
Update math.english with faster algorithm and new combinators
2008-12-15 21:49:31 -05:00
Slava Pestov
09c60f7e90
Fix some vocabularies for new requirement that inline words have a stack effect declaration
2008-12-15 20:31:55 -06:00
John Benediktsson
eb86d88dd4
Fix typo in math.binpack-docs.
2008-12-09 16:40:32 -08:00
John Benediktsson
b6263289c2
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-07 14:46:53 -08:00
Doug Coleman
9ec5896a3a
Move two unit tests
2008-12-07 08:39:16 -06:00
Doug Coleman
3075eeb4ab
fix math docs, refactor a bit
2008-12-06 23:12:38 -06:00
Doug Coleman
e4efe6ec24
add finance words to math.finance
2008-12-06 23:05:02 -06:00
John Benediktsson
5e136b470c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-05 13:25:03 -08:00
Joe Groff
c73fd625ed
remove "generalizations" use from math.blas.vectors
2008-12-04 16:15:42 -08:00
Joe Groff
ec76a0bfff
Renovate BLAS matrices
2008-12-04 16:08:01 -08:00
Joe Groff
bd59b86ad6
Fix complex blas vectors
2008-12-04 14:03:13 -08:00
Joe Groff
ef0bc65039
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 13:41:30 -08:00
Joe Groff
f990647d67
Renovate math.blas.vectors to build off of functors and specialized-arrays. Add complex and complex-components sequence wrappers. Fix small bug in functors
2008-12-04 13:40:55 -08:00
John Benediktsson
832ebcf26f
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:45:19 -08:00
Aaron Schaefer
1296e3c792
Move math.blas back to extra due to multimethods usage
2008-12-04 01:35:53 -05:00
Aaron Schaefer
13781ee48c
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-04 00:42:34 -05:00
Doug Coleman
9f19062892
remove redundant nan? word
2008-12-03 22:03:10 -06:00
Doug Coleman
b11caac25f
add infinity? and nan? to math.floating-point
2008-12-03 19:15:58 -06:00
Doug Coleman
3ab0d03a19
extra: swap 3append -> glue, remove some >r r>
2008-12-03 19:11:55 -06:00
John Benediktsson
b201020926
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-03 02:20:22 -08:00
Slava Pestov
e0af88bd97
Move a bunch of vocabularies to unmaintained, hopefully temporarily
2008-12-03 00:05:20 -06:00
Slava Pestov
350e697615
Merge branch 'master' into specialized-arrays
2008-12-02 20:07:14 -06:00
John Benediktsson
7e377e99b5
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-02 15:46:40 -08:00
sheeple
46b3311630
Set libblas library name on FreeBSD.
2008-12-02 17:17:24 -06:00
John Benediktsson
d9efc63103
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-29 12:02:31 -08:00
Aaron Schaefer
be7bae07d3
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-29 10:46:32 -05:00
Slava Pestov
e8a69a3aea
Fix conflict
2008-11-29 05:14:49 -06:00
Doug Coleman
b9432c3d01
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-29 00:48:09 -06:00
sheeple
26c002d23f
Fix fixnum* problem; result was shifted to the right by 3 bits if both input registers were equal
2008-11-29 00:44:46 -06:00
Doug Coleman
3e59cca630
use math.bitwise here, add a couple tests
2008-11-29 00:44:39 -06:00
John Benediktsson
8644816f2a
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-20 11:18:02 -08:00
Slava Pestov
281657dd82
Fix conflict
2008-11-18 22:18:14 -06:00
Doug Coleman
cba8f2a860
swap . . -> [ . ] bi@
2008-11-18 14:09:50 -06:00
Doug Coleman
054dce145c
fix polynomial help lint
2008-11-18 14:00:27 -06:00
Aaron Schaefer
197bb70893
Move math.statistics to extra
2008-11-18 10:31:07 -05:00
Aaron Schaefer
47d268d894
Remove documentation duplication in math.statistics
2008-11-18 10:30:11 -05:00
Aaron Schaefer
c3f05eaaa1
Move math.quaternions to extra
2008-11-18 10:22:48 -05:00
Aaron Schaefer
1ffc6051cd
Move math.blas to basis
2008-11-18 10:22:16 -05:00
Aaron Schaefer
5869a1aab4
Move math.combinatorics to basis
2008-11-18 10:20:44 -05:00
Aaron Schaefer
f59071189c
Moved math.polynomials to extra
2008-11-18 10:19:29 -05:00
Aaron Schaefer
fd95e64125
Cleanup polynomials and add documentation
2008-11-18 10:13:57 -05:00
Aaron Schaefer
e17f519480
Minor documentation fixes
2008-11-17 22:51:57 -05:00
Aaron Schaefer
a7551efd02
Add documentation for math.quaternions
2008-11-17 21:12:10 -05:00
Aaron Schaefer
6161d99637
Replace nested >r r> with spread in math.statistics
2008-11-17 18:48:19 -05:00
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00
John Benediktsson
55c67b4851
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-14 14:10:04 -08:00
Doug Coleman
aff4c9bda3
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-11 13:07:26 -06:00
Doug Coleman
4caf275b1f
clean up math.floating-point
2008-11-11 13:05:48 -06:00
Slava Pestov
4c0f2cc3f5
Move factor-2s from miller-rabin to math.functions; use it to make ^ more efficient
2008-11-11 11:30:47 -06:00
Aaron Schaefer
e813e1df18
Add unit tests for math.derivatives
2008-11-09 21:42:59 -05:00
Aaron Schaefer
930458ebd7
Move fft/haar transforms to their own subdirectory
2008-11-09 21:42:01 -05:00
Aaron Schaefer
46692390d4
Cleanup math.compare docs and tests
2008-11-09 21:00:36 -05:00
Aaron Schaefer
9a3c10d212
Add documentation for math.analysis
2008-11-09 19:22:04 -05:00
Aaron Schaefer
e5c155338f
Fix short-circuit usage in number>text
2008-11-09 17:23:24 -05:00
Aaron Schaefer
f20ab6f4e8
Refactor of math.statistics
2008-11-09 17:16:30 -05:00
Aaron Schaefer
326ce8c71b
Update >r r> to dip in math.quaternions
2008-11-08 16:47:58 -05:00
Aaron Schaefer
774cb858d5
Small updates to math.primes
2008-11-08 16:34:39 -05:00
Aaron Schaefer
798139f2e7
Minor polynomials cleanup, could use refactoring
2008-11-08 16:03:52 -05:00
Aaron Schaefer
23ec6ef122
Minor stack shuffling changes
2008-11-08 15:30:28 -05:00
John Benediktsson
2957d1cd01
Merge branch 'master' of git://factorcode.org/git/factor
2008-11-06 22:36:05 -08:00
Aaron Schaefer
380cd2d3b0
Clean up of math.finance
2008-11-07 01:36:02 -05:00
Aaron Schaefer
2fafae5013
Refactor and clean up of math.fft
2008-11-07 01:35:17 -05:00
Aaron Schaefer
67ce49dc59
Update syntax for extra/math vocabs
2008-11-07 01:24:32 -05:00
Aaron Schaefer
8ec695332a
Add reverse haar wavelet transform and tests
2008-11-06 23:21:19 -05:00
Slava Pestov
666100a07b
Tweak euler043 to run in constant space, add new each-permutation and reduce-permutations combinators to math.combinatorics
2008-11-06 11:07:19 -06:00
Aaron Schaefer
636c344eb0
Cleanup of math.analysis
2008-11-06 01:20:08 -05:00
Aaron Schaefer
15257b91ac
Refactor math.text.english using new combinators
2008-11-05 22:59:06 -05:00