Methods
converge
- converge(stocksAtT: readonly number[], t: number, h: number, criteria: ConvergenceCriterion): number[]
Parameters
stocksAtT: readonly number[]
t: number
h: number
Returns number[]
convergeExt
Parameters
stocksAtT: readonly number[]
t: number
h: number
createGraphEvaluator
- createGraphEvaluator(): (stocks: readonly number[], t: number) => Record
Returns (stocks: readonly number[], t: number) => Record
- (stocks: readonly number[], t: number): Record
Parameters
stocks: readonly number[]
t: number
evaluateGraph
- evaluateGraph(stocks: readonly number[], t: number): Record
Parameters
stocks: readonly number[]
t: number
step
- step(stocksAtT: readonly number[], t: number, h: number): number[]
- step(stocksAtT: readonly number[], flowsAtT: readonly number[], t: number, h: number): number[]
Parameters
stocksAtT: readonly number[]
t: number
h: number
Returns number[]
Parameters
stocksAtT: readonly number[]
flowsAtT: readonly number[]
t: number
h: number
Returns number[]
stepExt
- stepExt(stocksAtT: readonly number[], t: number, h: number): Record
- stepExt(stocksAtT: readonly number[], flowsAtT: readonly number[], t: number, h: number): Record
Parameters
stocksAtT: readonly number[]
t: number
h: number
Parameters
stocksAtT: readonly number[]
flowsAtT: readonly number[]
t: number
h: number
Static createIdToIdxMap
- createIdToIdxMap(arr: readonly { id: string }[]): {}
Parameters
arr: readonly { id: string }[]
Returns {}