]> gitweb.factorcode.org Git - factor.git/commitdiff
math.matrices: rename van-der-monde to vandermonde
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 30 Jul 2012 23:44:08 +0000 (16:44 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 30 Jul 2012 23:44:08 +0000 (16:44 -0700)
basis/math/matrices/matrices-tests.factor
basis/math/matrices/matrices.factor

index e5bf009333d1a6844673247a56cc98b2a1d3d305..64f739e5ff952ae5b56669c8b7d368a34e2a3dc1 100644 (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
 
 {
index 6c8ffa018f14c6254d9cbd138564ee3655a049cd..c62026d79e1d0f3964c6a8df59dc47c8cb488c6c 100644 (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 )