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

Function distance

src/compute-engine/compilation/javascript-target.ts:148–163  ·  view source on GitHub ↗
(a: Expression, b: Expression)

Source from the content-addressed store, hash-verified

146
147import {
148 BaseCompiler,
149 couldBeCollectionParticipant,
150 isFlatAllStringComparisonParticipant,
151 isNumericTupleParticipant,
152 isProvablyCharacterOperand,
153 isProvablyStringComparisonParticipant,
154 isProvablyStringOperand,
155 isProvablyNonTupleCollectionParticipant,
156 isProvablyTupleParticipant,
157 pointHasBroadcastComponent,
158 unfaithfulComparisonAggregate,
159} from './base-compiler.js';
160import { rewriteAngularUnit } from './angular-unit.js';
161import { compileDiagnosticOf } from './diagnostics.js';
162import type {
163 CompileMode,
164 CompileTarget,
165 CompiledOperators,
166 CompiledFunctions,

Callers 1

pairFunction · 0.85

Calls 4

partFunction · 0.85
isComplexValuedMethod · 0.80
compileFunction · 0.70
sqrtMethod · 0.65

Tested by

no test coverage detected