Cat Stevens
4350bcbfcd
math.matrices: rewrite, modernize and overhaul
...
math.matrices.elimination: move to extra
math.matrices.extras: expand with esoteric, less-used and unfinished code from basis
- math.matrices and .extras receive more words, tests, and docs
- matrix has become a predicate class
- 94% of matrices words have complete docs
- 77% of matrices.extras words have complete docs
- much more consistent naming for constructors etc
- added missing words / features such as main-diagonal and anti-transpose
- optimizations
- lots of documentation
2019-12-08 08:08:54 -08:00
John Benediktsson
4a144e5ea7
more test IN: cleanup.
2018-02-15 08:45:08 -08:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05: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
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
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
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
00eeb07680
math.matrices.laplace: adding Laplace expansion.
2013-04-25 15:04:16 -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
Joe Groff
2381e9bf24
quaterion to matrix4 conversion
2010-02-04 11:25:45 -08:00
Joe Groff
4027002db7
remove SIMD:s
2009-11-25 20:21:54 -08: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
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
Slava Pestov
9add08c200
Move math.matrices to basis
2009-04-18 04: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
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
Aaron Schaefer
67ce49dc59
Update syntax for extra/math vocabs
2008-11-07 01:24:32 -05:00
Slava Pestov
1997cbe9aa
Fixing libraries for language changes
2008-08-28 22:28:01 -05:00
Slava Pestov
046a6e6ec0
Fix errors reported by builder
2008-07-20 20:26:44 -05:00
Slava Pestov
ba8f1388ab
Fixing everything for mandatory stack effects
2008-06-09 02:14:14 -05:00
Doug Coleman
4d0ba8c3c1
reverse args for assoc-diff, diff
...
fix lots of usings
fix help lint
2008-04-26 02:01:43 -05:00
Doug Coleman
b7c1f9dbe8
extra changes:
...
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
Slava Pestov
1f3e6fd0b7
combinators.cleave is now core
2008-03-28 23:00:20 -05:00