mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
14 lines (10 loc) • 430 B
JavaScript
// TODO: function eye is removed since v5.0.0 (June 2018). Remove it some day.
function factory (type, config, load, typed) {
return function eye () {
throw new Error('Function "eye" is renamed to "identity" since mathjs version 5.0.0. ' +
'To keep eye working, create an alias for it using "math.import({eye: math.identity}, {override: true})"')
}
}
exports.name = 'eye'
exports.factory = factory