
Functions and commands 187
Example:
gramschmidt returns
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
head Returns the first element of a given vector, sequence or string.
head(Vector) or head(String) or
head(Obj1, Obj2,…)
Example:
head(1,2,3) gives 1
11 x+
pq,() pq⋅ xd
1–
1
→,
1
2
-------
1 x 1–+
6
3
-------
----------------------
2
x
2
---
tan⋅
x
2
---
2
tan 1+
--------------------------------
exp x()
1
exp x()
-----------------–
2
------------------------------------------+
Kommentare zu diesen Handbüchern