mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
763 B
763 B
Function import
Import functions from an object or a module
Parameters
| Parameter | Type | Description |
|---|---|---|
object |
String | Object | |
options |
Object | Available options: {Boolean} override If true, existing functions will be overwritten. False by default. {Boolean} wrap If true (default), the functions will be wrapped in a wrapper function which converts data types like Matrix to primitive data types like Array. The wrapper is needed when extending math.js with libraries which do not support the math.js data types. |
Returns
| Type | Description |
|---|---|
| undefined |