Mercurial > hg > octave-nkf
diff scripts/elfun/acsch.m @ 713:632844972d35
[project @ 1994-09-20 18:37:13 by jwe]
Initial revision
author | jwe |
---|---|
date | Tue, 20 Sep 1994 18:38:18 +0000 |
parents | |
children | 3470f1e25a79 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/scripts/elfun/acsch.m @@ -0,0 +1,11 @@ +function w = acsch (z) + +# acsch (z): compute the inverse hyperbolic cosecant for each element of z. + + if (nargin != 1) + error ("usage: acsch (z)"); + endif + + w = asinh (1 ./ z); + +endfunction \ No newline at end of file