niosh-math
Version:
advanced numbers math with float 128bit suppport and functions inline
27 lines • 863 B
JavaScript
const {ƒxe,ƒx} = require('./index.js');
class Niosh {
/**
* Matematical function extended returning any
* @callback NumberFunctionExtended
* @param {MathExpression|Matrix} expr
* @param {object} [scope]
* @returns {any}
*/
/** @type {NumberFunctionExtended} */
ƒxe(expr,scope) { return ƒxe(expr,scope); }
/**
* Current additional revivers informational data
* @returns {string[]}
*/
/**
* Matematical function returning number
* inside a number where x is this instance
* @callback NumberFunctionInside
* @param {MathExpression|Matrix} expr - use x for this value
* @param {object} [scope] - others variables
* @returns {number}
*/
/** @type {NumberFunctionInside} */
ƒx(expr,scope) { return ƒx(expr,scope); }
}
module.exports = new Niosh();