diff --git a/lib/node_modules/@stdlib/complex/float32/conj/README.md b/lib/node_modules/@stdlib/complex/float32/conj/README.md index 563d07385528..835787ebdd07 100644 --- a/lib/node_modules/@stdlib/complex/float32/conj/README.md +++ b/lib/node_modules/@stdlib/complex/float32/conj/README.md @@ -48,12 +48,9 @@ Returns the [complex conjugate][complex-conjugate] of a single-precision complex var Complex64 = require( '@stdlib/complex/float32/ctor' ); var z = new Complex64( 5.0, 3.0 ); -var str = z.toString(); -// returns '5 + 3i' var v = conj( z ); -str = v.toString(); -// returns '5 - 3i' +// returns [ 5.0, -3.0 ] ``` diff --git a/lib/node_modules/@stdlib/complex/float32/conj/docs/types/index.d.ts b/lib/node_modules/@stdlib/complex/float32/conj/docs/types/index.d.ts index 755c67f86198..85082fd3d0ea 100644 --- a/lib/node_modules/@stdlib/complex/float32/conj/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/complex/float32/conj/docs/types/index.d.ts @@ -28,19 +28,11 @@ import Complex64 = require( '@stdlib/complex/float32/ctor' ); * * @example * var Complex64 = require( '@stdlib/complex/float32/ctor' ); -* var realf = require( '@stdlib/complex/float32/real' ); -* var imagf = require( '@stdlib/complex/float32/imag' ); * * var z = new Complex64( 5.0, 3.0 ); * * var v = conj( z ); -* // returns -* -* var re = realf( v ); -* // returns 5.0 -* -* var im = imagf( v ); -* // returns -3.0 +* // returns [ 5.0, -3.0 ] */ declare function conj( z: Complex64 ): Complex64; diff --git a/lib/node_modules/@stdlib/complex/float32/conj/lib/index.js b/lib/node_modules/@stdlib/complex/float32/conj/lib/index.js index 610730ca5309..a168beca70d4 100644 --- a/lib/node_modules/@stdlib/complex/float32/conj/lib/index.js +++ b/lib/node_modules/@stdlib/complex/float32/conj/lib/index.js @@ -25,20 +25,12 @@ * * @example * var Complex64 = require( '@stdlib/complex/float32/ctor' ); -* var realf = require( '@stdlib/complex/float32/real' ); -* var imagf = require( '@stdlib/complex/float32/imag' ); * var conj = require( '@stdlib/complex/float32/conj' ); * * var z = new Complex64( 5.0, 3.0 ); * * var v = conj( z ); -* // returns -* -* var re = realf( v ); -* // returns 5.0 -* -* var im = imagf( v ); -* // returns -3.0 +* // returns [ 5.0, -3.0 ] */ // MODULES // diff --git a/lib/node_modules/@stdlib/complex/float32/conj/lib/main.js b/lib/node_modules/@stdlib/complex/float32/conj/lib/main.js index 624db053d114..645eb30a922a 100644 --- a/lib/node_modules/@stdlib/complex/float32/conj/lib/main.js +++ b/lib/node_modules/@stdlib/complex/float32/conj/lib/main.js @@ -26,19 +26,11 @@ * * @example * var Complex64 = require( '@stdlib/complex/float32/ctor' ); -* var realf = require( '@stdlib/complex/float32/real' ); -* var imagf = require( '@stdlib/complex/float32/imag' ); * * var z = new Complex64( 5.0, 3.0 ); * * var v = conj( z ); -* // returns -* -* var re = realf( v ); -* // returns 5.0 -* -* var im = imagf( v ); -* // returns -3.0 +* // returns [ 5.0, -3.0 ] */ function conj( z ) { return new z.constructor( z.re, -z.im );