Math.js

Software Screenshot:
Math.js
Software Details:
Version: 2.6.0 updated
Upload Date: 9 Feb 16
Developer: Jos de Jong
Distribution Type: Freeware
Downloads: 37

Rating: nan/5 (Total Votes: 0)

Math.js works with client-side (browsers) and server-side (Node.js) environments.

Math.js does not aim to replace the built-in JavaScript support, only to extend it.

It adds support for features natively unsupported in JavaScript, like ranges, constants, units, matrices, mathematical functions, real numbers, complex numbers, statistics, probability, trigonometry and an expression parser.

The library's structure is also very open, allowing any programmer to extend it with the support he needs.

What is new in this release:

  • Implemented function quantileSeq and partitionSelect.
  • Implemented functions stirlingS2, bellNumbers, composition, and multinomial.
  • Improved the performance of median.
  • Extended the command line interface with a mode option to output either the expressions result, string representation, or tex representation.

What is new in version 2.4.2:

  • Implemented function quantileSeq and partitionSelect.
  • Implemented functions stirlingS2, bellNumbers, composition, and multinomial.
  • Improved the performance of median.
  • Extended the command line interface with a mode option to output either the expressions result, string representation, or tex representation.

What is new in version 2.2.0:

  • Implemented function quantileSeq and partitionSelect.
  • Implemented functions stirlingS2, bellNumbers, composition, and multinomial.
  • Improved the performance of median.
  • Extended the command line interface with a mode option to output either the expressions result, string representation, or tex representation.

What is new in version 1.6.0:

  • Added unit stone (6.35 kg).
  • Implemented support for sparse matrices.
  • Implemented BigNumber support for function atan2.
  • Implemented support for custom LaTeX representations.
  • Improvements and bug fixes in outputting parentheses in Node.toString and Node.toTex functions.

What is new in version 1.5.2:

  • Added unit stone (6.35 kg).
  • Implemented support for sparse matrices.
  • Implemented BigNumber support for function atan2.
  • Implemented support for custom LaTeX representations.
  • Improvements and bug fixes in outputting parentheses in Node.toString and Node.toTex functions.

What is new in version 1.3.0:

  • Implemented BigNumber implementations of most trigonometric functions: sin, cos, tan, asin, acos, atan, cosh, sinh, tanh.
  • Implemented function trace.
  • Faster loading of BigNumber configuration with a high precision by lazy loading constants like pi and e.
  • Fixed constants NaN and Infinity not being BigNumber objects when BigNumbers are configured.
  • Fixed missing parentheses in the toTex representation of function permutations.

What is new in version 1.2.0:

  • Support for bitwise operations bitAnd, bitNot, bitOr, bitXor, leftShift, rightArithShift, and rightLogShift.
  • Support for boolean operations and, not, or, xor.
  • Support for gamma function.
  • Converting a unit without value will now result in a unit with value, i.e. inch in cm will return 2.54 cm instead of cm.
  • Improved accuracy of sinh and complex cos and sin.
  • Renamed function select to chain. The old function select will remain functional until math.js v2.0.

What is new in version 1.0.0:

  • Implemented a function filter(x, test).
  • Removed math.distribution for now, needs some rethinking.
  • math.number can convert units to numbers (requires a second argument).
  • Fixed some precedence issues with the range and conversion operators.
  • Fixed an zero-based issue when getting a matrix subset using an index containing a matrix.

What is new in version 0.25.0:

  • Removed utility function ifElse. This function is redundant now the expression parser has a conditional operator a ? b : c.
  • Fixed a bug with multiplying a number with a temperature,
  • like math.eval('10 * celsius').
  • Fixed a bug with symbols having value undefined not being evaluated.
  • The library now immediately returns a default instance of mathjs, there is no need to instantiate math.js in a separate step unless one ones to set configuration options.

What is new in version 0.21.0:

  • Added property type to all expression nodes in a node tree.
  • Fixed functions log, log10, pow, and sqrt not supporting complex results from BigNumber input (like sqrt(bignumber(-4))).

What is new in version 0.19.0:

  • Implemented functions compare, sum, prod, var, std, median.
  • Minor bug fixes.

What is new in version 0.14.0:

  • Removed concatenation of nested arrays in the expression parser. You can now input nested arrays like in JavaScript. Matrices can be concatenated using the function concat.
  • The matrix syntax [...] in the expression parser now creates 1 dimensional matrices by default. math.eval('[1,2,3,4]') returns a matrix with size [4], math.eval('[1,2;3,4]') returns a matrix with size [2,2].
  • Documentation is restructured and extended.
  • Fixed non working operator mod (modulus operator).

What is new in version 0.13.0:

  • Removed support for scalars in the function subset, it now only supports Array, Matrix, and String.
  • Removed the functions get and set from a selector, they are a duplicate of the function subset.
  • Replaced functions get and set of Matrix with a single function subset.
  • Some moving around with code and namespaces.

What is new in version 0.12.1:

  • Fixed outdated version of README.md.
  • Fixed a broken unit test.

What is new in version 0.10.0:

  • Implemented support for injecting custom node handlers in the parser. Can be used for example to implement a node handler for plotting a graph.
  • Implemented end user documentation and a new help function.
  • Functions size and squeeze now return a Matrix instead of an Array as output on Matrix input.
  • Added a constant tau (2 * pi). Thanks Zak Zibrat (palimpsests).
  • Renamed function unaryminus to unary.
  • Fixed a bug in determining node dependencies in function assignments.

What is new in version 0.9.0:

  • Implemented function subset, to get or set a subset from a matrix, string, or other data types.
  • Implemented construction functions number and string (mainly useful inside the parser).
  • Improved function det.
  • Moved the parse code from prototype math.expr.Parser to function math.parse, simplified Parser a little bit.
  • Strongly simplified the code of Scope and Workspace.
  • Fixed function mod for negative numerators, and added error messages in case of wrong input.

What is new in version 0.7.2:

  • Fixed method unequal, which was checking for equality instead of inequality.

What is new in version 0.7.0:

  • Added examples.
  • Changed methods square and cube to evaluate matrices element wise (consistent with all other methods).
  • Changed second parameter of method import to an object with options.
  • Fixed method math.typeof on IE.
  • Minor bug fixes and improvements.

What is new in version 0.6.0:

  • Implemented method Unit.in(unit), which creates a clone of the unit with a fixed representation. For example math.unit('5.08 cm').in('inch') will return a unit which string representation always is in inch, thus 2 inch. Unit.in(unit) is the same as method math.in(x, unit).
  • Implemented Unit.toNumber(unit), which returns the value of the unit when represented with given unit. For example math.unit('5.08 cm').toNumber('inch') returns the number 2, as the representation of the unit in inches has 2 as value.
  • Improved: method math.in(x, unit) now supports a string as second parameter, for example math.in(math.unit('5.08 cm'), 'inch').
  • Split the end user documentation of the parser functions from the source files.
  • Removed function help and the built-in documentation from the core library.
  • Fixed constant i being defined as -1i instead of 1i.
  • Minor bug fixes.

Requirements:

  • JavaScript enabled on client side
  • Node.js for server-side environments

Similar Software

TRIGDEMO
TRIGDEMO

5 Jun 15

Apache Hama
Apache Hama

21 Jul 15

OpenElectrophy
OpenElectrophy

6 Jun 15

Other Software of Developer Jos de Jong

JSON Editor Online
JSON Editor Online

20 Jul 15

Comments to Math.js

Comments not found
Add Comment
Turn on images!