Standard Math Unary Functions

Syntax
y = fun(x)

Purpose
Evaluate the standard math function fun where fun has one argument.

x
The argument x can be an instance of float, an a_float, an a2float, or a numpy.array of such objects.

y
If 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
The function fun can be any of the following: arccos, arcsin, arctan, cos, cosh, exp, log, log10, sin, sinh, sqrt, tan, or tanh.

Example
The file std_math.py contains an example and test of these functions.