view scripts/elfun/asech.m @ 1596:b26b206a8994

[project @ 1995-11-01 00:47:21 by jwe]
author jwe
date Wed, 01 Nov 1995 00:47:21 +0000
parents 3470f1e25a79
children 5cffc4b8de57
line wrap: on
line source

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

  w = acosh (1 ./ z);
  
endfunction