
gramschmidt
Given a basis of a vector subspace, and a function that denes a scalar product on this vector subspace,
returns an orthonormal basis for that function.
gramschmidt(Vector, Function)
Example:
gramschmidt returns
hadamard
Hadamard bound of a matrix or element by element multiplication of 2 matrices.
hadamard(Matrix,[Matrix])
Examples:
hadamard([[1,2],[3,4]]) returns 5√5
hadamard([[1,2],[3,4]],[[3,4],[5,6]]) returns [[3,8],[15,24]]
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
434 Chapter 22 Functions and commands
Komentarze do niniejszej Instrukcji