mathjs/src/index.js

15 lines
485 B
JavaScript

// This file contains all factory functions of math.js
module.exports = [
require('./type'), // data types (Matrix, Complex, Unit, ...)
require('./constants'), // constants
require('./function'), // functions
// load ./expression *after* ./function since we need to
// attach transforms to functions that are imported there
require('./expression'), // expression parsing
require('./json'), // serialization utility (math.json.reviver)
require('./error') // errors
]