John Benediktsson
b237df3a3b
Remove unused stack effects from DEFER: declarations.
2011-10-18 14:42:17 -07:00
John Benediktsson
6f1c44b46d
Cleanup some lint warnings.
2011-10-15 19:19:44 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
John Benediktsson
8335ceff8c
math.approx: function to approximate rationals.
2011-08-19 13:27:44 -07:00
John Benediktsson
cd3ee55fb8
Merge branches 'master' and 'cleanup' into cleanup
2010-11-25 23:57:54 -08:00
Doug Coleman
1f366c8b1d
Move math.transforms.fft to unmaintained since it's broken and there are no unit tests
2010-09-21 00:20:23 -05:00
John Benediktsson
cd27d1337b
math.floating-point: adding double>ratio.
2010-09-11 19:41:06 -05:00
John Benediktsson
61d0a7ab94
math.finance: Removing an instance of "spin".
2010-09-10 13:30:01 -07:00
John Benediktsson
dcc5ea89c7
math.floating-point: adding double>ratio.
2010-09-10 13:28:57 -07:00
Slava Pestov
ea726f5680
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
2010-05-18 18:36:47 -04:00
Joe Groff
191ac353fd
generalize stack effects so we can bootstrap with the stricter stack effect checking
2010-03-08 23:38:10 -08:00
Slava Pestov
b59da05347
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-19 12:35:21 +13:00
Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Erik Charlebois
550cd430f1
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-16 03:27:33 -08:00
Erik Charlebois
941c09d73a
Splines: catmull-rom, bezier curve, cubic hermite, kochanek-bartels
2010-02-16 03:26:36 -08:00
Slava Pestov
361de6c470
math.points: move to extra
2010-02-16 15:29:02 +13:00
Slava Pestov
db4a1f7536
Fix unit test for math.parser change
2010-02-08 08:31:17 +13:00
Joe Groff
2381e9bf24
quaterion to matrix4 conversion
2010-02-04 11:25:45 -08:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Joe Groff
67cc1c01be
Merge branch 'master' into simd-cleanup
2009-11-26 16:14:46 -08:00
Joe Groff
4027002db7
remove SIMD:s
2009-11-25 20:21:54 -08:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Joe Groff
a5957b188d
nip most uses of tuck from extra
2009-11-05 22:22:21 -06:00
Joe Groff
96716145e3
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-30 14:53:56 -05:00
Joe Groff
cac1778bd0
remove most uses of roll/-roll from extra
2009-10-30 14:14:24 -05:00
Doug Coleman
44acd45f2a
move docs for nth-root, fix docs for minmax
2009-10-30 06:37:02 -05:00
Doug Coleman
003787113f
move nth-root to math.functions, use exchange-unsafe in math.statistics
2009-10-30 02:35:51 -05:00
Joe Groff
6e1bffb1c5
update existing code to use :> ( ) when possible
2009-10-28 16:11:33 -05:00
Joe Groff
5caa118e40
make first2, first3, first4 inline
2009-10-26 17:30:37 -05:00
Joe Groff
1db55cdfbb
add some tests for math.matrices.simd matrix-vector multiplication
2009-10-15 13:35:22 -05:00
Joe Groff
2a24e30a24
store math.matrices.simd matrices in column-major order so that m4.v, frustum, and translation construction are faster
2009-10-10 17:45:15 -05:00
Joe Groff
fbe810fc3b
rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful
2009-10-05 17:55:39 -05:00
Slava Pestov
61e3ba77d8
math.matrices.simd: add an inline declaration
2009-10-05 05:29:30 -05:00
Joe Groff
0c7857152b
clean up frustum-matrix4
2009-10-04 16:29:03 -05:00
Joe Groff
fb4ca1ce85
cleaner implementation of translation-matrix4
2009-10-04 15:37:22 -05:00
Joe Groff
cef5a32746
rice out transpose-matrix4 and diagonal-matrix4 using vmerge
2009-10-03 22:48:41 -05:00
Doug Coleman
67167cf9ea
Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
...
Conflicts:
basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Slava Pestov
cb71fbf4fe
Fix compiler.cfg.value-numbering and math.matrices.simd unit tests
2009-10-02 02:32:35 -05:00
Joe Groff
0c8a4717f2
add software vall?, vany?, vnone? words
2009-10-01 13:21:10 -05:00
Joe Groff
0044964e78
fix a stupid bug in simd rotation-matrix4
2009-10-01 13:04:59 -05:00
Joe Groff
5ac5a74cc6
write v? and vmask in terms of bitwise ops
2009-10-01 00:09:25 -05:00
Joe Groff
a93f8f66f9
Revert "add a %blend-vector intrinsic for v?"
...
This reverts commit 21e4b28b67 .
2009-09-30 23:40:37 -05:00
Joe Groff
7db7b63552
add a %blend-vector intrinsic for v?
2009-09-30 23:03:59 -05:00
Joe Groff
a2771aa166
pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials
2009-09-30 12:58:32 -05:00
Slava Pestov
4c856e51e1
math.matrices.simd: hack: replace 'first4' with '4 firstn' since latter is open-coded
2009-09-30 05:00:50 -05:00
Joe Groff
6a6e248fa4
clean up math.matrices.simd just a little bit
2009-09-29 23:34:56 -05:00
Joe Groff
b709e9a497
spinning rims for math.matrices.simd
2009-09-29 22:55:04 -05:00
Joe Groff
1e1072f540
math.matrices.simd versions of frustum-matrix4 and rotation-matrix4
2009-09-29 22:54:11 -05:00
Joe Groff
4ae9e71f5c
typo in n*m4, n/m4 types
2009-09-29 18:21:51 -05:00
Joe Groff
6c2775e920
math.matrices.simd: 4x4 matrices built on top of float-4 hardware vectors
2009-09-29 18:11:25 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
4fef246ca4
add 10^ to math.functions and update usages
2009-08-11 18:00:24 -05:00
Doug Coleman
e23b4b54ea
fix docs
2009-08-11 15:35:57 -05:00
Doug Coleman
7a1837b15a
don't capitalize the first letter of each word in math.text.english
2009-08-11 15:34:11 -05:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Doug Coleman
6fa9043206
remove clamp from docs
2009-05-25 13:58:06 -05:00
Doug Coleman
a54c78007b
add a clamp word to math.order, use clamp word throughout libraries
2009-05-24 21:35:50 -05:00
Joe Groff
9685aea6fe
homogeneous coordinates coated in nurbsauce
2009-05-21 20:55:44 -05:00
Slava Pestov
b4afea0bfd
math.primes.list: update for lists.lazy changes
2009-05-16 16:58:11 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Joe Groff
d90bb0f336
cut perlin-noise time in half
2009-05-10 10:41:50 -05:00
Slava Pestov
9add08c200
Move math.matrices to basis
2009-04-18 04:09:16 -05:00
Slava Pestov
aff996a58f
math.function-tools: Fix compiler warning
2009-04-17 20:49:59 -05:00
Doug Coleman
d3c87db85f
fixing compiler warnings
2009-04-17 11:14:16 -05:00
Slava Pestov
df18c0b6e7
Making more code infer
2009-04-15 19:03:44 -05:00
Slava Pestov
da38a25963
More float syntax fixes
2009-04-14 17:09:16 -05:00
Slava Pestov
3bf5d2bfd4
Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated.
2009-03-27 18:31:25 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
ea60f8ae93
Changing : foo ; parsing to SYNTAX: foo ;
2009-03-21 01:27:50 -05:00
Joe Groff
2b45847649
linear algebra fail
2009-03-17 16:18:56 -05:00
Joe Groff
caa6eb0397
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-15 21:28:01 -05:00
Slava Pestov
515dcce34a
Move unused utility libraries to unmaintained
2009-03-11 08:35:48 -05:00
Joe Groff
78dd25c5b9
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-06 15:23:28 -06:00
Joe Groff
4f156348d3
inline quadtrees:swizzle. add axes word to math.affine-transforms to remove translation from transform
2009-03-04 11:44:24 -06:00
Samuel Tardieu
2c8d3bad08
Continued fractions
2009-03-02 19:10:43 +01:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Slava Pestov
eaad0c7660
Updating code to use CONSTANT: instead of : foo 123 ; inline
2009-02-23 21:40:17 -06:00
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