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
29

1.5.2

Diff

Changelog

Source

2015-04-09, version 1.5.2

  • Fixed #313: parsed functions did not handle recursive calls correctly.
  • Fixed #251: binary prefix and SI prefix incorrectly used for byte. Now following SI standards (1 KiB == 1024 B, 1 kB == 1000 B).
  • Performance improvements in parsed functions.
josdejong
published 1.5.1 •

Changelog

Source

2015-04-08, version 1.5.1

  • Fixed #316: a bug in rounding values when formatting.
  • Fixed #317, #319: a bug in formatting negative values.
josdejong
published 1.5.0 •

Changelog

Source

2015-03-28, version 1.5.0

  • Added unit stone (6.35 kg).
  • Implemented support for sparse matrices. Thanks @rjbaucells.
  • Implemented BigNumber support for function atan2. Thanks @BigFav.
  • Implemented support for custom LaTeX representations. Thanks @FSMaxB.
  • Improvements and bug fixes in outputting parentheses in Node.toString and Node.toTex functions. Thanks @FSMaxB.
  • Fixed #291: function format sometimes returning exponential notation when it should return a fixed notation.
josdejong
published 1.4.0 •

Changelog

Source

2015-02-28, version 1.4.0

  • Implemented trigonometric functions: acosh, acoth, acsch, asech, asinh, atanh, acot, acsc, asec. Thanks @BigFav.
  • Added BigNumber support for functions: cot, csc, sec, coth, csch, sech. Thanks @BigFav.
  • Implemented support for serialization and deserialization of math.js data types.
  • Fixed the calculation of norm() and abs() for large complex numbers. Thanks @rjbaucells.
  • Fixed #281: improved formatting complex numbers. Round the real or imaginary part to zero when the difference is larger than the configured precision.
josdejong
published 1.3.0 •

Changelog

Source

2015-02-09, version 1.3.0

  • Implemented BigNumber implementations of most trigonometric functions: sin, cos, tan, asin, acos, atan, cosh, sinh, tanh. Thanks @BigFav.
  • Implemented function trace. Thanks @pcorey.
  • 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.
  • Some minor fixes in the docs. Thanks @KenanY.
josdejong
published 1.2.0 •

Changelog

Source

2014-12-25, version 1.2.0

  • Support for bitwise operations bitAnd, bitNot, bitOr, bitXor, leftShift, rightArithShift, and rightLogShift. Thanks @BigFav.
  • Support for boolean operations and, not, or, xor. Thanks @BigFav.
  • Support for gamma function. Thanks @BigFav.
  • 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. Thanks @pavpanchekha.
  • Renamed function select to chain. The old function select will remain functional until math.js v2.0.
  • Upgraded to decimal.js v4.0.1 (BigNumber library).
josdejong
published 1.1.1 •

Changelog

Source

2014-11-22, version 1.1.1

  • Fixed Unit divided by Number returning zero.
  • Fixed BigNumber downgrading to Number for a negative base in pow.
  • Fixed some typos in error messaging (thanks @andy0130tw) and docs.
josdejong
published 1.1.0 •

Changelog

Source

2014-11-15, version 1.1.0

  • Implemented functions dot (dot product), cross (cross product), and nthRoot.
  • Officially opened up the API of expression trees:
    • Documented the API.
    • Implemented recursive functions clone, map, forEach, traverse, transform, and filter for expression trees.
    • Parameter index in the callbacks of map and forEach are now cloned for every callback.
    • Some internal refactoring inside nodes to make the API consistent:
      • Renamed params to args and vice versa to make things consistent.
      • Renamed Block.nodes to Block.blocks.
      • FunctionNode now has a name: string instead of a symbol: SymbolNode.
      • Changed constructor of RangeNode to new RangeNode(start: Node, end: Node [, step: Node]).
      • Nodes for a BlockNode must now be passed via the constructor instead of via a function add.
  • Fixed 2e giving a syntax error instead of being parsed as 2 * e.
josdejong
published 1.0.1 •

Changelog

Source

2014-09-12, version 1.0.1

  • Disabled array notation for ranges in a matrix index in the expression parser (it is confusing and redundant there).
  • Fixed a regression in the build of function subset not being able to return a scalar.
  • Fixed some missing docs and broken links in the docs.
josdejong
published 1.0.0 •

Changelog

Source

2014-09-04, 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.
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