Commit Graph

49 Commits (db42e128538f32bb3399f5469866d1b3553ecea3)

Author SHA1 Message Date
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 818f337b02 cleanup "over push" is "suffix!". 2014-11-30 08:38:59 -08:00
Björn Lindqvist b72fa3ba0a Docs: fixed doc example errors triggered by help-lint and added with-disposal where applicable 2014-04-14 08:42:10 -07:00
Björn Lindqvist a48567b8af Docs: more matrix-related documentation 2014-04-14 08:42:09 -07:00
Björn Lindqvist 8b4af6bc86 Docs: doc and examples for math.matrices 2014-04-14 08:42:09 -07:00
John Benediktsson abd069c1ad math.matrices: add error for negative m^n (and test). 2014-01-05 20:08:55 -08:00
John Benediktsson 5ee7f10f19 math.matrices: simpler square-rows. 2013-05-14 13:52:24 -07:00
John Benediktsson bcbf3198f7 math.matrices: faster square-rows and square-cols. 2013-05-14 13:46:44 -07:00
John Benediktsson 57b7a5fd6f math.matrices: add tests for square-matrix?. 2013-04-25 14:48:16 -07:00
Doug Coleman 401dd47335 math.matrices: Add m+n, m-n, n+m, n-m, words. 2012-11-07 22:53:52 -08:00
Doug Coleman 4c4d186ae4 math.matrices: Trying to flesh out the matrices vocabulary a bit. 2012-10-22 09:47:36 -07:00
Doug Coleman 7906632952 math.matrices: Add some combinators for iterating over matrices. Add covariance matrix. 2012-10-22 09:47:35 -07:00
Doug Coleman b23e52f532 math.matrics: Add some combinators and indexing words to math.matrices. 2012-10-22 09:47:35 -07:00
John Benediktsson 2e9c20a12e math.matrices: adding the outer product. 2012-08-08 17:02:39 -07:00
Doug Coleman ffe1c510ae math.matrices: rename van-der-monde to vandermonde 2012-07-30 16:44:08 -07:00
John Benediktsson 088dfa4861 math.matrices: adding van-der-monde matrix. 2012-07-30 16:15:21 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson f090967d77 math.matrices: adding docs for a few words. 2012-05-25 12:19:23 -07:00
Doug Coleman aad94d711b math.matrices: Add another test to make sure we calculate kron correctly. 2012-05-24 09:02:47 -07:00
Doug Coleman 78f1ca9f14 math.matrices: Add stitch. Add Kronecker product. 2012-05-24 08:53:47 -07:00
John Benediktsson 495637a087 math.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix. 2012-05-04 18:01:21 -07:00
Doug Coleman 6f3fe950a7 math.matrices: Add a diagonal-matrix word that makes an nxn matrix from a sequence.
Optimize identity-matrix word -- 2-3x faster using diagonal-matrix.
Add an eye word that makes an mxn diagonal matrix with a diagonal offset by k.
2012-05-04 11:31:05 -07:00
John Benediktsson 4f046a2339 math.vectors: separate "dot product" from "Hermitian inner product". Fixes #484. 2012-03-29 10:56:39 -07:00
Slava Pestov 3dbb8e6153 math.matrices: move normal word from gpu.demos.bunny and reverse sign 2010-07-23 20:41:08 -07:00
Joe Groff e7968ceffc mop up compiler errors from macosx load-all 2010-03-09 00:56:07 -08:00
Erik Charlebois cebabdc323 Add perp and angle-between words for vectors. Fix bug in cross product and add unit tests. 2010-02-25 16:46:02 -08:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Doug Coleman 7a00f24d6b revert math.matrices.elimintion until someone fixes it properly 2009-11-24 20:41:59 -06:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff fa6d7b7069 eliminate spin from basis 2009-11-05 14:05:06 -06:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Slava Pestov 1e13f94e9f math.matrices: remove dead code 2009-10-23 07:01:57 -05:00
Joe Groff 84f203afcc math.matrices: vectorizable definition of cross 2009-10-22 16:26:25 -05:00
Joe Groff 1e1072f540 math.matrices.simd versions of frustum-matrix4 and rotation-matrix4 2009-09-29 22:54:11 -05:00
Marc Fauconneau bf15648b4d Merge branch 'master' of git@github.com:prunedtree/factor
Conflicts:
	basis/math/matrices/matrices.factor
2009-08-30 17:24:25 +09: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
Joe Groff 809b40d497 preserve sequence type in math.matrices:cross 2009-07-07 16:26:50 -05:00
Joe Groff 96ec54106b for the FPS classicists... skew matrix constructor 2009-07-04 19:13:31 -05:00
Joe Groff e39f454aa5 common 3d matrix constructors 2009-07-02 19:05:24 -05:00
prunedtree 9ffbf32c6f unit test for m^n 2009-06-12 01:35:25 -07:00
prunedtree b426f28738 make m^n private 2009-06-12 01:29:34 -07:00
Doug Coleman 6a67f02f69 fix load error 2009-06-12 02:43:05 -05:00
Doug Coleman 7134236e46 Merge branch 'master' of git://github.com/prunedtree/factor
Conflicts:
	basis/compression/inflate/inflate.factor
	basis/math/matrices/matrices.factor
2009-06-12 02:33:49 -05:00
Doug Coleman 989cb7d5df better implementation of zero-matrix 2009-06-07 20:12:18 -04:00
prunedtree 1c89045f0e m^n binary exponentiation of matrices 2009-06-04 20:42:29 -07:00
Slava Pestov 77c56e55a3 Oops 2009-04-23 03:57:05 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 9add08c200 Move math.matrices to basis 2009-04-18 04:09:16 -05:00