Skip to content

Commit

Permalink
Merge branch 'cinv-addon' of github.com:stdlib-js/stdlib into cinv-addon
Browse files Browse the repository at this point in the history
  • Loading branch information
steff456 committed Jul 14, 2023
2 parents 95dd57a + dd97a8d commit 11104ff
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import cinv = require( './index' );

// TESTS //

// The function returns a double-precision floating-point complex number.
// The function returns a double-precision complex floating-point number...
{
cinv( new Complex128( 1.0, 2.0 ) ); // $ExpectType Complex128
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" {
#endif

/**
* Computes the inverse of a double-precision floating-point complex number.
* Computes the inverse of a double-precision complex floating-point number.
*/
stdlib_complex128_t stdlib_base_cinv( const stdlib_complex128_t z );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'use strict';

/**
* Compute the inverse of a double-precision floating-point complex number.
* Compute the inverse of a double-precision complex floating-point number.
*
* @module @stdlib/math/base/special/cinv
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var RECIP_EPS_SQR = 2.0 / ( EPS * EPS );
// MAIN //

/**
* Computes the inverse of a double-precision floating-point complex number.
* Computes the inverse of a double-precision complex floating-point number.
*
* ## References
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var addon = require( './../src/addon.node' );
// MAIN //

/**
* Computes the inverse of a double-precision floating-point complex number.
* Computes the inverse of a double-precision complex floating-point number.
*
* @private
* @param {Complex128} z - complex number
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/math/base/special/cinv/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const double RECIP_EPS_SQR = 2.0 / ( STDLIB_CONSTANT_FLOAT64_EPS * STDLIB_CONSTA
// MAIN //

/**
Computes the inverse of a double-precision floating-point complex number.
Computes the inverse of a double-precision complex floating-point number.
*
* ## References
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ tape( 'main export is a function', function test( t ) {
t.end();
});

tape( 'the function computes correctly a complex inverse', function test( t ) {
tape( 'the function computes the inverse of a double-precision complex floating-point number', function test( t ) {
var v;

v = cinv( new Complex128( 2.0, 4.0 ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tape( 'main export is a function', opts, function test( t ) {
t.end();
});

tape( 'the function computes correctly a complex inverse', opts, function test( t ) {
tape( 'the function computes the inverse of a double-precision complex floating-point number', opts, function test( t ) {
var v;

v = cinv( new Complex128( 2.0, 4.0 ) );
Expand Down

0 comments on commit 11104ff

Please sign in to comment.