UNPKG

mathsteps-experimental-fork

Version:

Step by step math solutions. Experimental Fork

19 lines (14 loc) 728 B
'use strict'; Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const config = require('../config.js'); const msc = require('../utilRipFromMathJS/msc.js'); const { isCommutative, isAssociative, allChildren, createMakeNodeFunction, flatten, unflattenr, unflattenl } = msc.createUtil({ FunctionNode: config.FunctionNode, OperatorNode: config.OperatorNode, SymbolNode: config.SymbolNode }); exports.hasOwnProperty = msc.hasOwnProperty; exports.allChildren = allChildren; exports.createMakeNodeFunction = createMakeNodeFunction; exports.flatten = flatten; exports.isAssociative = isAssociative; exports.isCommutative = isCommutative; exports.unflattenl = unflattenl; exports.unflattenr = unflattenr;