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

Function getOrCreatePending

src/compute-engine/sequence.ts:505–514  ·  view source on GitHub ↗
(ce: ComputeEngine, name: string)

Source from the content-addressed store, hash-verified

503 * For multi-index: Map<string, Expression> with keys like '0,0', 'n,0'
504 */
505 base: Map<number | string, Expression>;
506 /**
507 * Recurrence definition.
508 * For single-index: variable is a string (e.g., 'n')
509 * For multi-index: variables is an array (e.g., ['n', 'k'])
510 */
511 recurrence?: {
512 variable?: string;
513 variables?: string[];
514 latex: string;
515 };
516 /** Whether this appears to be a multi-index sequence */
517 isMultiIndex: boolean;

Callers 5

addSequenceBaseCaseFunction · 0.85
addMultiIndexBaseCaseFunction · 0.85
addSequenceRecurrenceFunction · 0.85
addMultiIndexRecurrenceFunction · 0.85
tryFinalizeSequenceFunction · 0.85

Calls 3

hasMethod · 0.65
setMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected