diff --git a/lib/node_modules/@stdlib/math/base/special/fast/asinh/README.md b/lib/node_modules/@stdlib/math/base/special/fast/asinh/README.md index 8b5fa416bab..653bf9fe528 100644 --- a/lib/node_modules/@stdlib/math/base/special/fast/asinh/README.md +++ b/lib/node_modules/@stdlib/math/base/special/fast/asinh/README.md @@ -107,6 +107,94 @@ for ( i = 0; i < x.length; i++ ) { + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/fast/asinh.h" +``` + +#### stdlib_base_fast_asinh( x ) + +Computes the [hyperbolic arcsine][inverse-hyperbolic] of double-precision floating-point number. + +```c +double out = stdlib_base_fast_asinh( 0.0 ); +// returns 0.0 + +out = stdlib_base_fast_asinh( 2.0 ); +// returns ~1.444 +``` + +The function accepts the following arguments: + +- **x**: `[in] double` input value. + +```c +double stdlib_base_fast_asinh( const double x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/fast/asinh.h" +#include + +int main( void ) { + const double x[] = { 1.0, 1.45, 1.89, 2.33, 2.78, 3.22, 3.66, 4.11, 4.55, 5.0 }; + + double v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_fast_asinh( x[ i ] ); + printf( "asinh(%lf) = %lf\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + +