UNPKG

@skenvy/collatz

Version:

Functions related to the Collatz/Syracuse/3N+1 problem, implemented in JavaScript.

26 lines 1.51 kB
import { KNOWN_CYCLES, VERIFIED_MAXIMUM, VERIFIED_MINIMUM, SequenceState } from './utilities.js'; import { SaneParameterErrMsg, FailedSaneParameterCheck, assertSaneParameterisation } from './FailedSaneParameterCheck.js'; import { CollatzFunctionParameters, collatzFunction, reverseFunction } from './function.js'; import { CollatzHailstoneParameters, HailstoneSequence, hailstoneSequence } from './HailstoneSequence.js'; import { CollatzStoppingTimeParameters, stoppingTime } from './stoppingTime.js'; import { TreeGraphNode } from './TreeGraphNode.js'; import { CollatzTreeGraphParameters, TreeGraph, treeGraph } from './TreeGraph.js'; export { KNOWN_CYCLES, VERIFIED_MAXIMUM, VERIFIED_MINIMUM, SequenceState }; export { SaneParameterErrMsg, FailedSaneParameterCheck, assertSaneParameterisation }; export { CollatzFunctionParameters, collatzFunction, reverseFunction }; export { CollatzHailstoneParameters, HailstoneSequence, hailstoneSequence }; export { CollatzStoppingTimeParameters, stoppingTime }; export { TreeGraphNode }; export { CollatzTreeGraphParameters, TreeGraph, treeGraph }; declare const _default: { collatzFunction: typeof collatzFunction; reverseFunction: typeof reverseFunction; HailstoneSequence: typeof HailstoneSequence; hailstoneSequence: typeof hailstoneSequence; stoppingTime: typeof stoppingTime; TreeGraphNode: typeof TreeGraphNode; TreeGraph: typeof TreeGraph; treeGraph: typeof treeGraph; }; export default _default; //# sourceMappingURL=index.d.ts.map