410 Functions and commands
prepend Adds an element to the beginning of a list.
prepend(Lst,Elem)
Example:
prepend([1,2],3) gives [3,1,2]
primpart Returns a polynomial divided by the greatest common divisor
of its coefficients.
primpart(Poly,[Var])
Example:
primpart(2x^2+10x+6) gives x^2+5*x+3
prism Draws a prism whose base is the plane ABCD and whose
edges are parallel to the line made by A and A1.
prism(LstPnt([A,B,C,D]),Pnt(A1))
product With an expression as the first argument, returns the product
of solutions when the variable in the expression is substituted
from a to b with step p. If p is not provided, it is taken as 1.
With a list as the first argument, returns the product of the
values in the list. With a matrix as the first argument, returns
the element-by-element product of the matrix.
product(Expr||Lst,[Var||Lst],[Intg(a)],[Intg(
b)],[Intg(p)])
Example:
product(n,n,1,10,2) gives 945
projection Returns the orthogonal projection of the point on the curve.
projection(Curve,Pnt)
propfrac Returns a fraction or rational fraction A/B simplified to Q+r/
B, where R<B or the degree of R is less than the degree of B.
propfrac(Frac or RatFrac)
Example:
propfrac(28/12) gives 2+1/3
ptayl Returns the Taylor polynomial Q such as P(x)=Q(x–a).
ptayl(Poly(P(var)),Real(a),[Var])
Example:
ptayl(x^2+2*x+1,1) gives x^2+4*x+4