HP Prime Graphing Calculator User Manual
Page 400
394
Functions and commands
gramschmidt
Given a basis of a vector subspace, and a function that
defines a scalar product on this vector subspace, returns an
orthonormal basis for that function.
gramschmidt(Vector, Function)
Example:
gramschmidt
returns
green
Used in the Symbolic view of the Geometry app. In the
definition of a geometric object, including the statement
“display=green” specifies that the object defined will be
drawn in green.
halftan2hypexp
Returns an expression with sine, cosine, and tangent rewritten
in terms of half-tangent, and sinh, cosh, and tanh rewritten in
terms of the natural exponential.
halftan_hyp2exp(ExprTrig)
Example:
halftan_hyp2exp(sin(x)+sinh(x))
returns
halt
Used in programming to go into step-by-step debugging
mode.
hamdist
Returns the Hamming distance between two integers.
hamdist(Integer1, Integer2)
Example:
hamdist(0x12,0x38)
gives
3
has
Returns 1 if a variable is in an expression, and returns 0
otherwise.
has(Expr,Var)
Example:
has(x+y,x)
gives
1
1 1 x
+
p q
p q
x
d
1
–
1
1
2
------- 1 x 1
–
+
6
3
-------
----------------------
2
x
2
---
tan
x
2
---
2
tan
1
+
--------------------------------
exp x
1
exp x
-----------------
–
2
------------------------------------------
+