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

mathjs

Package Overview
Dependencies
Maintainers
1
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjs - npm Package Versions

1
2729

0.11.1

Diff

Changelog

Source

2013-07-23, version 0.11.1

  • Fixed missing development dependency
josdejong
published 0.11.0 •

Changelog

Source

2013-07-23, version 0.11.0

  • Changed math.js from one-based to zero-based indexes.
    • Getting and setting matrix subset is now zero-based.
    • The dimension argument in function concat is now zero-based.
  • Improvements in the string output of function help.
  • Added constants true and false.
  • Added constructor function boolean.
  • Fixed function select not accepting 0 as input. Thanks Elijah Manor (@elijahmanor).
  • Parser now supports multiple unary minus operators after each other.
  • Fixed not accepting empty matrices like [[], []].
  • Some fixes in the end user documentation.
josdejong
published 0.10.0 •

Changelog

Source

2013-07-08, version 0.10.0

  • For complex calculations, all functions now automatically replace results having an imaginary part of zero with a Number. (2i * 2i now returns a Number -4 instead of a Complex -4 + 0i).
  • 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.
josdejong
published 0.9.1 •

Changelog

Source

2013-06-14, version 0.9.1

  • Implemented element-wise functions and operators: emultiply (x .* y), edivide (x ./ y), epow (x .^ y).
  • Added constants Infinity and NaN.
  • Removed support for Workspace to keep the library focused on its core task.
  • Fixed a bug in the Complex constructor, not accepting NaN values.
  • Fixed division by zero in case of pure complex values.
  • Fixed a bug in function multiply multiplying a pure complex value with Infinity.
josdejong
published 0.9.0 •

Changelog

Source

2013-05-29, version 0.9.0

  • Implemented function math.parse(expr [,scope]). Optional parameter scope can be a plain JavaScript Object containing variables.
  • Extended function math.expr(expr [, scope]) with an additional parameter scope, similar to parse. Example: math.eval('x^a', {x:3, a:2});.
  • 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. Thanks Bryan Cuccioli (@bcuccioli).
  • 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.
josdejong
published 0.8.2 •

Changelog

Source

2013-05-18, version 0.8.2

  • Extended the import function and some other minor improvements.
  • Fixed a bug in merging one dimensional vectors into a matrix.
  • Fixed a bug in function subtract, when subtracting a complex number from a real number.
josdejong
published 0.8.1 •

Changelog

Source

2013-05-10, version 0.8.1

  • Fixed an npm warning when installing mathjs globally.
josdejong
published 0.8.0 •

Changelog

Source

2013-05-10, version 0.8.0

  • Implemented a command line interface. When math.js is installed globally via npm, the application is available on your system as 'mathjs'.
  • Implemented end keyword for index operator, and added support for implicit start and end (expressions like a(2,:) and b(2:end,3:end-1) are supported now).
  • Function math.eval is more flexible now: it supports variables and multi-line expressions.
  • Removed the read-only option from Parser and Scope.
  • Fixed non-working unequal operator != in the parser.
  • Fixed a bug in resizing matrices when replacing a subset.
  • Fixed a bug in updating a subset of a non-existing variable.
  • Minor bug fixes.
josdejong
published 0.7.2 •

Changelog

Source

2013-05-04, version 0.7.2

  • Fixed method unequal, which was checking for equality instead of inequality. Thanks @FJS2.
josdejong
published 0.7.1 •

Changelog

Source

2013-04-27, version 0.7.1

  • Improvements in the parser:
    • Added support for chained arguments.
    • Added support for chained variable assignments.
    • Added a function remove(name) to remove a variable from the parsers scope.
    • Renamed nodes for more consistency and to resolve naming conflicts.
    • Improved stringification of an expression tree.
    • Some simplifications in the code.
    • Minor bug fixes.
  • Fixed a bug in the parser, returning NaN instead of throwing an error for a number with multiple decimal separators like 2.3.4.
  • Fixed a bug in Workspace.insertAfter.
  • Fixed: math.js now works on IE 6-8 too.
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