1 Fix the broken Texinfo in the Jacal package documentation
3 --- jacal/jacal.texi,orig 2017-02-23 20:35:55.303980444 +0100
4 +++ jacal/jacal.texi 2017-02-23 20:53:14.539024674 +0100
7 With the standard input grammar, the precedence of @samp{-} as a prefix
8 behaves strangely. @code{a^-b*c} becomes @code{a^(-b*c)} while
9 -@code{@result{a^b*c} (a^b)*c}.
10 +@code{a^b*c @result{} (a^b)*c}.
12 Using @code{divide} to divide a polynomial by an integer does not work.
20 -@deffnx Command suchthat var exp
21 +@deffn Command suchthat var exp
23 If an expression rather than an equation is given to @code{suchthat}, it
24 is as though the equation @code{@var{exp}=0} was given.
31 -@deffnx Operator | var exp_or_eqn
32 +@deffn Operator | var exp_or_eqn
34 An alternative infix notation is also available for @code{suchthat}.
38 Returns the degree of polynomial or equation @var{poly} in variable
42 -@deffnx Operator degree poly
43 +@deffn Operator degree poly
45 Returns the total-degree, the degree of its highest degree monomial,
46 of polynomial or equation @var{poly}.
47 @@ -1016,10 +1019,12 @@
48 Returns @var{poly1} reduced with respect to @var{poly2} (or @var{eqn})
49 and @var{var}. If @var{poly2} is univariate, the third argument is not
53 -@deffnx Command mod poly1 n
54 +@deffn Command mod poly1 n
55 Returns @var{poly1} with all the coefficients taken modulo @var{n}.
56 -@deffnx Command mod poly1
58 +@deffn Command mod poly1
59 Returns @var{poly1} with all the coefficients taken modulo the
68 -@deffnx Command factor polyratio
69 +@deffn Command factor polyratio
70 Given a univariate ratio of polynomials @var{polyratio}, returns a
71 matrix of factors and exponents.
74 formed from the pair-wise products of components of the inputs. For
75 example, for the input tensors @code{x[a,b]} and @code{y[c]}
77 -@result{z:tmult(x,y);} z[a,b,c] = x[a,b]*y[c]
78 +z:tmult(x,y); @result{} z[a,b,c] = x[a,b]*y[c]
81 With an additional argument, @code{tmult} will produce the inner product
83 If you do not wish to return to Jacal but really want to terminate the
84 session and return to the operating system, then after typing
85 @code{qed();}, type @code{(slib:exit)} or use @code{quit}.
90 Exit directly from Jacal to the operating system. You will not be able
91 to continue your Jacal session.