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

Method pow

src/compute-engine/tensor/tensor-fields.ts:464–466  ·  view source on GitHub ↗
(lhs: Complex, rhs: number)

Source from the content-addressed store, hash-verified

462 | Expression[] {
463 if (Array.isArray(x)) {
464 switch (dtype) {
465 case 'float64':
466 return x.map((item) => this.cast(item, 'float64')!);
467 case 'float32':
468 return x.map((item) => this.cast(item, 'float32')!);
469 case 'int32':

Callers

nothing calls this directly

Calls 1

powMethod · 0.65

Tested by

no test coverage detected