cos(3F) cos(3F)
NAME
cos, dcos, ccos, zcos, cdcos - Fortran cosine intrinsic
function
SYNOPSIS
real r1, r2
double precision dp1, dp2
complex cx1, cx2
double complex dx1, dx2
r2 = cos(r1)
dp2 = dcos(dp1)
dp2 = cos(dp1)
cx2 = ccos(cx1)
cx2 = cos(cx1)
dx2 = cdcos(dx1)
dx2 = zcos(dx1)
dx2 = cos(dx1)
DESCRIPTION
cos returns the real cosine of its real argument. dcos
returns the double-precision cosine of its double-precision
argument. ccos returns the complex cosine of its complex
argument. zcos and cdcos return the double-precision com-
plex cosine of their double-precision complex argument. The
generic form cos may be used with impunity as its returned
type is determined by that of its argument.
SEE ALSO
trig(3M).
Page 1 CX/UX Hf77 Fortran Reference Manual