MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / complex

Method complex

src/compute-engine/index.ts:964–968  ·  view source on GitHub ↗

Create a complex number. * The return value is an object with methods to perform arithmetic * operations: * - `re` (real part, as a JavaScript `number`) * - `im` (imaginary part, as a JavaScript `number`) * - `add()` * - `sub()` * - `neg()` (unary minus) * - `mul()` * - `d

(a: number | BigDecimal | Complex, b?: number | BigDecimal)

Source from the content-addressed store, hash-verified

962 return this._configurationLifecycle.callableVersion;
963 }
964
965 /**
966 * When > 0, value writes are ephemeral loop-index writes: they bump
967 * `_anyVersion` and the definition's `_writeVersion` but not
968 * `_semanticVersion`. Incremented/decremented (try/finally) around the
969 * index assigns of `reduceBigOp` and `ComprehensionIndexFrame`.
970 * @internal
971 */

Callers 15

assertNumericallyEqualFunction · 0.80
computeEigenvalues3x3Function · 0.80
complex.tsFile · 0.80
roundToSignificantDigitsFunction · 0.80
arithmetic.tsFile · 0.80
compileMethod · 0.80
castMethod · 0.80
castMethod · 0.80
constructorMethod · 0.80

Calls 1

toNumberMethod · 0.80

Tested by 1

assertNumericallyEqualFunction · 0.64