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

Function powi

src/compute-engine/library/statistics.ts:692–693  ·  view source on GitHub ↗
(ce: ComputeEngine, x: Expression, k: number)

Source from the content-addressed store, hash-verified

690 // numericizes what it returns.
691 if (nonRealDatum(xs)) {
692 if (hasNonFiniteDatum(xs)) return engine.NaN;
693 const m = boxedMean(engine, xs);
694 return numericApproximation ? m.N() : m;
695 }
696 if (!numericApproximation) {

Callers 4

exactVarianceFunction · 0.85
exactCentralMomentFunction · 0.85
exactKurtosisFunction · 0.85
exactCorrelationFunction · 0.85

Calls 2

functionMethod · 0.65
numberMethod · 0.65

Tested by

no test coverage detected