UNPKG

@stdlib/esm

Version:

ES module distribution for Stdlib, a standard library for JavaScript and Node.js.

3 lines 450 B
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0 import r from"./float64.js";import t from"./float32.js";var a=r,e=t,o={float64:a,float32:e},f=o;function n(r,t,a){var e;if(arguments.length>2){if(e=f[a])return new e(r,t);throw new TypeError("invalid argument. Must provide a recognized data type. Value: `"+a+"`.")}return new f.float64(r,t)}var i=n;export default i; //# sourceMappingURL=cmplx.js.map