Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions lib/node_modules/@stdlib/complex/float64/conj/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,9 @@ Returns the [complex conjugate][complex-conjugate] of a double-precision complex
var Complex128 = require( '@stdlib/complex/float64/ctor' );

var z = new Complex128( 5.0, 3.0 );
var str = z.toString();
// returns '5 + 3i'

var v = conj( z );
str = v.toString();
// returns '5 - 3i'
// returns <Complex128>[ 5.0, -3.0 ]
```

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,11 @@ import Complex128 = require( '@stdlib/complex/float64/ctor' );
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var z = new Complex128( 5.0, 3.0 );
*
* var v = conj( z );
* // returns <Complex128>
*
* var re = real( v );
* // returns 5.0
*
* var im = imag( v );
* // returns -3.0
* // returns <Complex128>[ 5.0, -3.0 ]
*/
declare function conj( z: Complex128 ): Complex128;

Expand Down
10 changes: 1 addition & 9 deletions lib/node_modules/@stdlib/complex/float64/conj/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,12 @@
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
* var conj = require( '@stdlib/complex/float64/conj' );
*
* var z = new Complex128( 5.0, 3.0 );
*
* var v = conj( z );
* // returns <Complex128>
*
* var re = real( v );
* // returns 5.0
*
* var im = imag( v );
* // returns -3.0
* // returns <Complex128>[ 5.0, -3.0 ]
*/

// MODULES //
Expand Down
10 changes: 1 addition & 9 deletions lib/node_modules/@stdlib/complex/float64/conj/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,11 @@
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var z = new Complex128( 5.0, 3.0 );
*
* var v = conj( z );
* // returns <Complex128>
*
* var re = real( v );
* // returns 5.0
*
* var im = imag( v );
* // returns -3.0
* // returns <Complex128>[ 5.0, -3.0 ]
*/
function conj( z ) {
return new z.constructor( z.re, -z.im );
Expand Down