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
Doug Coleman
0e51880199
math.matrices: Add some more matrix norms.
2018-07-04 16:14:44 -05:00
Björn Lindqvist
97d9cee732
math.matrices: rename for consistency
...
Getting the sample cov matrix is actually much more common than getting
the population one.
2018-02-24 23:11:22 +01:00
John Benediktsson
b40ba26bac
basis/extra: removing '[ @ ] in favor of _ for fried quotations.
2018-01-19 23:40:23 -08: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
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
John Benediktsson
818f337b02
cleanup "over push" is "suffix!".
2014-11-30 08:38:59 -08: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
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
f090967d77
math.matrices: adding docs for a few words.
2012-05-25 12:19:23 -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
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
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
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
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