]> gitweb.factorcode.org Git - factor.git/commitdiff
math.matrices: Fix documentation
authorgifti258 <80504430+gifti258@users.noreply.github.com>
Mon, 20 Dec 2021 18:31:00 +0000 (19:31 +0100)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Dec 2021 19:34:43 +0000 (13:34 -0600)
basis/math/matrices/matrices-docs.factor

index 07438c456a545cbbef63ccfba7dd0994c6b5ed9b..7ad09c968e82451711fb8d26c8219b49c75bbcf3 100644 (file)
@@ -266,7 +266,7 @@ HELP: <zero-square-matrix>
 
 HELP: <diagonal-matrix>
 { $values { "diagonal-seq" sequence } { "matrix" matrix } }
-{ $description "Creates a matrix with the specified main diagonal. This word has the opposite effect of " { $link anti-diagonal } "." }
+{ $description "Creates a matrix with the specified main diagonal. This word has the opposite effect of " { $link main-diagonal } "." }
 { $notes "To use a diagonal starting in the lower right, reverse the input sequence before calling this word." }
 { $examples
     { $example
@@ -278,7 +278,7 @@ HELP: <diagonal-matrix>
 
 HELP: <anti-diagonal-matrix>
 { $values { "diagonal-seq" sequence } { "matrix" matrix } }
-{ $description "Creates a matrix with the specified anti-diagonal. This word has the opposite effect of " { $link main-diagonal } "." }
+{ $description "Creates a matrix with the specified anti-diagonal. This word has the opposite effect of " { $link anti-diagonal } "." }
 { $notes "To use a diagonal starting in the lower left, reverse the input sequence before calling this word." }
 { $examples
     { $example