HP Prime Graphing Calculator User Manual
Page 394
![background image](/manuals/397026/394/background.png)
390
Functions and commands
gramschmidt
For a basis B of a vector subspace, and a function Sp that
defines a scalar product on this vector subspace, returns an
orthonormal basis for Sp.
gramschmidt(Basis(B),ScalarProd(Sp))
Example:
gramschmidt([1,1+x],(p,q)->integrate(p*q,x,-
1,1))
gives
[1/(sqrt(2)),(1+x-1)/(sqrt(6))/3]
green
Used with display to specify the color of the geometrical
object to be displayed.
half_cone
Draws a half-cone with vertex A, direction v, half angle t and,
if applicable, height h.
half_cone(Pnt(A),Vect(v),Real(t),[Real(h)])
half_line
Draws the half-line AB with A as the origin.
half_line((Pnt or Cplx(A)),(Pnt or Cplx(B)))
halftan2hypexp
Returns an expression with sin(x), cos(x), tan(x) rewritten in
terms of tan(x/2) and sinh(x), cosh(x), tanh(x) rewritten in
terms of exp(x).
halftan_hyp2exp(ExprTrig)
Example:
halftan_hyp2exp(sin(x)+sinh(x))
gives
2*tan(x/
2)/(tan(x/2)^2+1)+(exp(x)-1/exp(x))/2
halt
Used in programming to go into step-by-step debugging
mode.
hamdist
Returns the Hamming distance between two integers.
hamdist(Intg,Intg)
Example:
hamdist(0x12,0x38)
gives
3
harmonic_
conjugate
Returns the harmonic conjugate of three points or of three
parallel or concurrent lines, or returns the line of conjugates
of a point with respect to two lines.
harmonic_conjugate(Line or Pnt,Line or
Pnt,Line or Pnt)