math.matrices: rename van-der-monde to vandermonde

db4
Doug Coleman 2012-07-30 16:44:08 -07:00
parent 60e3fc9341
commit ffe1c510ae
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ IN: math.matrices.tests
{ 9 3 1 }
{ 25 5 1 } }
} [
{ 1 2 3 5 } 3 van-der-monde-matrix
{ 1 2 3 5 } 3 vandermonde-matrix
] unit-test
{

View File

@ -31,7 +31,7 @@ IN: math.matrices
: box-matrix ( r -- matrix )
2 * 1 + dup '[ _ 1 <array> ] replicate ;
: van-der-monde-matrix ( u n -- matrix )
: vandermonde-matrix ( u n -- matrix )
iota [ v^n ] with map reverse flip ;
:: rotation-matrix3 ( axis theta -- matrix )