Graphics Programs Reference
In-Depth Information
Built-in Functions
x
.
|
|
abs
acos arccos x .
asin arcsin x .
atan arctan x . Use atan2 instead if you want the angular coordinate
of the point
θ
( x
y ).
,
bessel Bessel functions; besselj(n, x) and bessely(n, x) are linearly inde-
pendent solutions of Bessel's equation of order n .
conj Gives the complex conjugate of a complex number.
conj(1 - 5*i)
cos cos x .
cosh cosh x .
cot cot x .
erf The error function erf( x )
) x
/ π
0 e t 2 dt .
(2
=
exp e x .
expm Matrix exponential.
gamma The gamma function
= 0 e t t x 1 dt (when Re x
( x )
0). The property
>
( k
1)
k !, for nonnegative integers k , is sometimes useful.
+
=
imag imag( z ), the imaginary part of a complex number.
log The natural logarithm ln x
log e x .
real real( z ), the real part of a complex number.
sec sec x .
sech sech x .
sign Returns
=
1, 0, or 1, depending on whether the argument is negative, zero, or
positive.
sin sin x .
sinh sinh x .
sqrt x .
tan tan x .
tanh tanh x .
Search WWH ::




Custom Search