view scripts/elfun/csch.m @ 1960:285a7f683a4c

[project @ 1996-02-16 04:03:01 by jwe] Initial revision
author jwe
date Fri, 16 Feb 1996 04:03:01 +0000
parents 3470f1e25a79
children 5cffc4b8de57
line wrap: on
line source

function w = csch (z)
  
# csch (z):  compute the hyperbolic cosecant for each element of z.
  
  if (nargin != 1)
    usage ("csch (z)");
  endif

  w = 1 ./ sinh(z);
  
endfunction