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
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
Examples
--------
> var v = {{alias}}( new {{alias:@stdlib/complex/float64/ctor}}( -1.5, 2.5 ) )
<Complex128>
> var re = {{alias:@stdlib/complex/float64/real}}( v )
-1.0
> var im = {{alias:@stdlib/complex/float64/imag}}( v )
3.0
<Complex128>[ -1.0, 3.0 ]

See Also
--------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,9 @@ import { Complex128 } from '@stdlib/types/complex';
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var v = cceil( new Complex128( -1.5, 2.5 ) );
* // returns <Complex128>
*
* var re = real( v );
* // returns -1.0
*
* var im = imag( v );
* // returns 3.0
* // returns <Complex128>[ -1.0, 3.0 ]
*/
declare function cceil( z: Complex128 ): Complex128;

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

// MODULES //
Expand Down
10 changes: 1 addition & 9 deletions lib/node_modules/@stdlib/math/base/special/cceil/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,9 @@ var imag = require( '@stdlib/complex/float64/imag' );
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var v = cceil( new Complex128( -1.5, 2.5 ) );
* // returns <Complex128>
*
* var re = real( v );
* // returns -1.0
*
* var im = imag( v );
* // returns 3.0
* // returns <Complex128>[ -1.0, 3.0 ]
*/
function cceil( z ) {
return new Complex128( ceil( real( z ) ), ceil( imag( z ) ) );
Expand Down
10 changes: 1 addition & 9 deletions lib/node_modules/@stdlib/math/base/special/cceil/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,9 @@ var addon = require( './../src/addon.node' );
*
* @example
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
* var real = require( '@stdlib/complex/float64/real' );
* var imag = require( '@stdlib/complex/float64/imag' );
*
* var v = cceil( new Complex128( -1.5, 2.5 ) );
* // returns <Complex128>
*
* var re = real( v );
* // returns -1.0
*
* var im = imag( v );
* // returns 3.0
* // returns <Complex128>[ -1.0, 3.0 ]
*/
function cceil( z ) {
var v = addon( z );
Expand Down