'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace ns
*/
var ns = {};

/**
* @name abs
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/abs}
*/
setReadOnly( ns, 'abs', require( '@stdlib/math/base/complex/abs' ) );

/**
* @name abs2
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/abs2}
*/
setReadOnly( ns, 'abs2', require( '@stdlib/math/base/complex/abs2' ) );

/**
* @name add
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/add}
*/
setReadOnly( ns, 'add', require( '@stdlib/math/base/complex/add' ) );

/**
* @name ceil
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/ceil}
*/
setReadOnly( ns, 'ceil', require( '@stdlib/math/base/complex/ceil' ) );

/**
* @name floor
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/floor}
*/
setReadOnly( ns, 'floor', require( '@stdlib/math/base/complex/floor' ) );

/**
* @name mul
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/multiply}
*/
setReadOnly( ns, 'mul', require( '@stdlib/math/base/complex/multiply' ) );

/**
* @name phase
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/phase}
*/
setReadOnly( ns, 'phase', require( '@stdlib/math/base/complex/phase' ) );

/**
* @name polar
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/polar}
*/
setReadOnly( ns, 'polar', require( '@stdlib/math/base/complex/polar' ) );

/**
* @name sub
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/subtract}
*/
setReadOnly( ns, 'sub', require( '@stdlib/math/base/complex/subtract' ) );


// EXPORTS //

module.exports = ns;

'use strict';

/*
* When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
*/

// MODULES //

var setReadOnly = require( '@stdlib/utils/define-read-only-property' );


// MAIN //

/**
* Top-level namespace.
*
* @namespace ns
*/
var ns = {};

/**
* @name abs
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/abs}
*/
setReadOnly( ns, 'abs', require( '@stdlib/math/base/complex/abs' ) );

/**
* @name abs2
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/abs2}
*/
setReadOnly( ns, 'abs2', require( '@stdlib/math/base/complex/abs2' ) );

/**
* @name add
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/add}
*/
setReadOnly( ns, 'add', require( '@stdlib/math/base/complex/add' ) );

/**
* @name ceil
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/ceil}
*/
setReadOnly( ns, 'ceil', require( '@stdlib/math/base/complex/ceil' ) );

/**
* @name floor
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/floor}
*/
setReadOnly( ns, 'floor', require( '@stdlib/math/base/complex/floor' ) );

/**
* @name mul
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/multiply}
*/
setReadOnly( ns, 'mul', require( '@stdlib/math/base/complex/multiply' ) );

/**
* @name phase
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/phase}
*/
setReadOnly( ns, 'phase', require( '@stdlib/math/base/complex/phase' ) );

/**
* @name polar
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/polar}
*/
setReadOnly( ns, 'polar', require( '@stdlib/math/base/complex/polar' ) );

/**
* @name round
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/round}
*/
setReadOnly( ns, 'round', require( '@stdlib/math/base/complex/round' ) );

/**
* @name sub
* @memberof ns
* @readonly
* @type {Function}
* @see {@link module:@stdlib/math/base/complex/subtract}
*/
setReadOnly( ns, 'sub', require( '@stdlib/math/base/complex/subtract' ) );


// EXPORTS //

module.exports = ns;

Add round to complex namespace