]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix help lint for math.polynomials
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 30 Apr 2010 19:04:45 +0000 (14:04 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 30 Apr 2010 19:04:45 +0000 (14:04 -0500)
basis/math/polynomials/polynomials-docs.factor

index 3b8885cc887a1285c323421c6a09f37f31542ab2..dd55c3dd3f2c131ef1734b4a891f5eb28713e5aa 100644 (file)
@@ -56,14 +56,14 @@ HELP: p-
 { $examples { $example "USING: math.polynomials prettyprint ;" "{ 1 1 1 } { 0 1 } p- ." "{ 1 0 1 }" } } ;
 
 HELP: n*p
-{ $values { "n" number } { "p" "a polynomial" } { "n*p" "a polynomial" } }
+{ $values { "n" number } { "v" "a polynomial" } { "w" "a polynomial" } }
 { $description "Multiplies each element of " { $snippet "p" } " by " { $snippet "n" } "." }
 { $examples { $example "USING: math.polynomials prettyprint ;" "4 { 3 0 1 } n*p ." "{ 12 0 4 }" } } ;
 
 HELP: pextend-conv
 { $values { "p" "a polynomial" } { "q" "a polynomial" } { "p'" "a polynomial" } { "q'" "a polynomial" } }
 { $description "Convulution, extending to " { $snippet "p_m + q_n - 1" } "." }
-{ $examples { $example "USING: kernel math.polynomials prettyprint ;" "{ 1 0 1 } { 0 1 } pextend-conv [ . ] bi@" "V{ 1 0 1 0 }\nV{ 0 1 0 0 }" } } ;
+{ $examples { $example "USING: kernel math.polynomials prettyprint ;" "{ 1 0 1 } { 0 1 } pextend-conv [ . ] bi@" "{ 1 0 1 0 }\n{ 0 1 0 0 }" } } ;
 
 HELP: p*
 { $values { "p" "a polynomial" } { "q" "a polynomial" } { "r" "a polynomial" } }