diff --git a/lib/node_modules/@stdlib/math/base/special/acsch/README.md b/lib/node_modules/@stdlib/math/base/special/acsch/README.md index f2a06ea40837..968046f80167 100644 --- a/lib/node_modules/@stdlib/math/base/special/acsch/README.md +++ b/lib/node_modules/@stdlib/math/base/special/acsch/README.md @@ -83,6 +83,91 @@ for ( i = 0; i < x.length; i++ ) { + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/acsch.h" +``` + +#### stdlib_base_acsch( x ) + +Compute the [hyperbolic arccosecant][inverse-hyperbolic-functions] of a double-precision floating-point number. + +```c +double out = stdlib_base_acsch( 1.0 ); +// returns ~0.881 +``` + +The function accepts the following arguments: + +- **x**: `[in] double` input value. + +```c +double stdlib_base_acsch( const double x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/acsch.h" +#include + +int main( void ) { + const double x[] = { -5.0, -3.89, -2.78, -1.67, -0.55, 0.55, 1.67, 2.78, 3.89, 5.0 }; + + double v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_acsch( x[ i ] ); + printf( "acsch(%lf) = %lf\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + +