New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mathjs

Package Overview
Dependencies
Maintainers
0
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjs - npm Package Versions

1
2728

0.5.0

Diff

Changelog

Source

2013-04-06, version 0.5.0

  • Implemented data types Matrix and Range.
  • Implemented matrix methods clone, concat, det, diag, eye, inv, ones, size, squeeze, transpose, zeros.
  • Implemented range operator :, and transpose operator ' in parser.
  • Changed: created construction methods for easy object creation for all data types and for the parser. For example, a complex value is now created with math.complex(2, 3) instead of new math.Complex(2, 3), and a parser is now created with math.parser() instead of new math.parser.Parser().
  • Changed: moved all data types under the namespace math.type, and moved the Parser, Workspace, etc. under the namespace math.expr.
  • Changed: changed operator precedence of the power operator:
    • it is now right associative instead of left associative like most scripting languages. So 2^3^4 is now calculated as 2^(3^4).
    • it has now higher precedence than unary minus most languages, thus -3^2 is now calculated as -(3^2).
  • Changed: renamed the parsers method 'put' into 'set'.
  • Fixed: method 'in' did not check for units to have the same base.
josdejong
published 0.4.0 •

Changelog

Source

2013-03-16, version 0.4.0

  • Implemented Array support for all methods.
  • Implemented Array support in the Parser.
  • Implemented method format.
  • Implemented parser for units, math.Unit.parse(str).
  • Improved parser for complex values math.Complex.parse(str);
  • Improved method help: it now evaluates the examples.
  • Fixed: a scoping issue with the Parser when defining functions.
  • Fixed: method 'typeof' was not working well with minified and mangled code.
  • Fixed: errors in determining the best prefix for a unit.
josdejong
published 0.3.0 •

Changelog

Source

2013-03-09, version 0.3.0

  • Implemented Workspace
  • Implemented methods cot, csc, sec.
  • Implemented Array support for methods with one parameter.
josdejong
published 0.2.0 •

Changelog

Source

2013-02-25, version 0.2.0

  • Parser, Scope, and expression tree with Nodes implemented.
  • Implemented method import which makes it easy to extend math.js.
  • Implemented methods arg, conj, cube, equal, factorial, im, largereq, log(x, base), log10, mod, re, sign, smallereq, square, unequal.
josdejong
published 0.1.0 •

Changelog

Source

2013-02-18, version 0.1.0

  • Reached full compatibility with Javascripts built-in Math library.
  • More functions implemented.
  • Some bugfixes.
josdejong
published 0.0.2 •

Changelog

Source

2013-02-16, version 0.0.2

  • All constants of Math implemented, plus the imaginary unit i.
  • Data types Complex and Unit implemented.
  • First set of functions implemented.
1
2728
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc