computes the element-wise secant of the argument
y = sec(x)
a real or complex array.
a real or complex array.
The sec function computes the element-wise secant of the argument. The secant is a
periodic function defined as
. For real data the results are real and
in
.

This function uses the
function.