![]() |
Prev | Next |
y = fun(x)
fun
where
fun
has one argument.
x
can be an instance of float
,
an a_float
, an a2float
, or a numpy.array
of such objects.
x
is an instance of float
,
y
will also be an instance of float
.
Otherwise
y
will have the same type as
x
.
In the case where
x
is an array,
y
will
the same shape as
x
and the elements of
y
will have the same type as the elements of
x
.
fun
can be any of the following:
arccos
,
arcsin
,
arctan
,
cos
,
cosh
,
exp
,
log
,
log10
,
sin
,
sinh
,
sqrt
,
tan
, or
tanh
.