UNPKG

@stdlib/math-base-special-cpolar

Version:

Compute the absolute value and the phase of a double-precision complex floating-point number.

9 lines (8 loc) 590 B
"use strict";var i=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var s=i(function(h,n){ var q=require('@stdlib/math-base-special-cphase/dist'),v=require('@stdlib/math-base-special-cabs/dist');function o(e,r,p,a){return r[a]=v(e),r[a+p]=q(e),r}n.exports=o });var u=i(function(m,t){ var g=s();function l(e){return g(e,[0,0],1,0)}t.exports=l });var x=require('@stdlib/utils-define-nonenumerable-read-only-property/dist'),b=s(),c=u();x(c,"assign",b);module.exports=c; /** @license Apache-2.0 */ /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map