Functions and commands 411
purge Unassigns a variable name.
purge(Var)
pyramid With three points as arguments, draws the pyramid with a
face in the plane of the three points and with two vertices at
the first and second points. With four points as arguments,
draws the pyramid with vertices at the four points.
pyramid(Pnt(A),Pnt(B),Pnt(C),[Pnt(D)])
q2a Returns the matrix of a quadratic form with respect to the given
in VectVar.
q2a(QuadraForm,VectVar)
Example:
q2a(x^2+2*x*y+2*y^2,[x,y]) gives [[1,1],[1,2]]
quadrilateral Draws the quadrilateral ABCD.
quadrilateral(Pnt(A)||Cplx,Pnt(B)||Cplx,Pnt(C
)||Cplx,Pnt(D)||Cplx)
quantile Returns the quantile of the elements of a list corresponding to
p (0<p<1).
quantile(Lst(l),Real(p))
Example:
quantile([0,1,3,4,2,5,6],0.25) gives [1.0]
quartile1 Returns the first quartile of the elements of a list or the columns
of a matrix.
quartile1(Lst||Mtrx,[Lst])
Example:
quartile1([1,2,3,5,10,4]) gives 2.0
quartile3 Returns the third quartile of the elements of a list or the
columns of a matrix.
quartile3(Lst||Mtrx,[Lst])
Example:
quartile3([1,2,3,5,10,4]) gives 5.0