cos(3f)
NAME
cos, dcos, ccos − Fortran cosine intrinsic function
SYNTAX
real r1, r2
double precision dp1, dp2
complex cx1, cx2
r2 = cos(r1)
dp2 = dcos(dp1)
dp2 = cos(dp1)
cx2 = ccos(cx1)
cx2 = cos(cx1)
DESCRIPTION
The cos function returns the real cosine of its real argument. The dcos function returns the double-precision cosine of its double-precision argument. The ccos function returns the complex cosine of its complex argument. The generic form cos may be used with impunity as its returned type is determined by that of its argument.