Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mathjs

Package Overview
Dependencies
Maintainers
1
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjs - npm Package Versions

1
29

11.8.0

Diff

Changelog

Source

2023-04-03, 11.8.0

  • Extended functions fraction, bignumber, and number with support for units, see #2918 (#2926).
  • Implemented aliases amp and amps for unit ampere (#2917). Thanks @veggiesaurus.
  • Improve TypeScript definitions of function gcd (#2922). Thanks @brunoSnoww.
  • Fix #2923: improve docs of the function distance (#2924). Thanks @tmtron.
josdejong
published 11.7.0 •

Changelog

Source

2023-03-15, 11.7.0

  • Implement #2567: accept array as parameter for function gcd (#2878). Thanks @jakubriegel.
  • Fix #2908: improvements in the docs and examples of functions partitionSelect, diff, expm1, round, nthRoots, sign, rigthArithShift, setIsSubset, setSize, and the docs about units. Thanks @tmtron.
  • Fix #2907: determinant of empty matrix should be 1.
  • Refactor index.d.ts by writing function declarations using a generic, reducing a lot of repetition (#2913). Thanks @brunoSnoww.
josdejong
published 11.6.0 •

Changelog

Source

2023-02-24, 11.6.0

  • Implement broadcasting for the following functions and their corresponding operator: add, dotDivide, dotMultiply, dotPow, gcd, lcm, mod, nthRoot, subtract, bitAnd, bitOr, bitXor, leftShift, rightArithShift, rightLogShift, and, or, xor, compare, compareText, equal, larger, largerEq, smaller, smallerEq, unequal, atan2 and to (#2895, #2753). Thanks @dvd101x.
  • Implement support for non-power-of-2 fft (#2900, #2577). Thanks @cyavictor88.
  • Fix #2888: update type definitions of function unit to allow creating a unit from a fraction or complex number.
  • Fix #2892: an error in the examples of the embedded help of function sort.
  • Fix #2891: functions column and row sometimes returning a scalar number.
  • Fix #2896: define the fourth argument of function intersect as optional in the TypeScript definitions. Thanks @wodndb.
  • Fix: quantileSeq not accepting a matrix as second argument prob (see #2902).
  • Fix broken examples in functions to, distance, getMatrixDataType, subset, and max (see #2902).
josdejong
published 11.5.1 •

Changelog

Source

2023-01-31, 11.5.1

  • Add type definitions for function rotationMatrix (#2860). Thanks @brunoSnoww.
  • Add type signature for lusolve(LUDecomposition, ...) (#2864). Thanks @evanmiller.
  • Fix #2873: the rocket_trajectory_optimization.html example being partly broken. Thanks @dvd101x.
  • Fix #2871: coverage report broken (#2877). Thanks @bornova.
  • Fix #2883: update documentation for stat functions, describe missing syntax.
  • Fix #2884: fix examples in the embedded docs of function pow and some other functions.
  • Fix type definition of function complex for one numeric input (#2886), thanks @ariymarkowitz.
  • Fix type definitions of map() and forEach() (#2887), thanks @xiaohk.
  • Fix #2606: improve type definitions of dotMultiply, dotPow and dotDivide (#2890). Thanks @brunoSnoww.
josdejong
published 11.5.0 •

Changelog

Source

2022-12-05, 11.5.0

  • Improve simplify rule matches in non-commutative contexts (#2841). Thanks @samueltlg.
  • Simplify: add rules and restructure tests for non-commutative contexts (#2847). Thanks @samueltlg.
  • Fix function reshape mutating the input in case of a matrix (see #2854).
  • Fix TypeScript types for multiply() with number[] and number[][] (#2852). Thanks @hfhchan.
josdejong
published 11.4.0 •

Changelog

Source

2022-11-18, 11.4.0

  • Implemented more wildcards to describe rules for simplify, making it easier for example to describe unary minus (#1915). Thanks @thatcomputerguy0101.
  • Implemented functions schur, sylvester, and lyap (#2646). Thanks @egidioln.
  • Implemented function polynomialRoot, and use it in a benchmark (#2839). Thanks @gwhitney.
  • Fix #2825 partly: improve simplifying operations on constants in non-commutative contexts (#2827). Thanks @samueltlg.
  • Fix #2840: a bug in the docs and type definitions of Node.traverse and Node.forEach, they do return void.
josdejong
published 11.3.3 •

Changelog

Source

2022-11-07, 11.3.3

  • Fix #2830: Prevent inserting zero values when creating a SparseMatrix from a DenseMatrix (#2836). Thanks @AlexandreAlvesDB.
  • Fix #2835: a regression in the type definitions of FunctionNode, introduced in v11.3.2. See #2733. Thanks @dsteve.
josdejong
published 11.3.2 •

Changelog

Source

2022-10-25, 11.3.2

  • Add generics to remaining Node type definitions (#2733). Thanks @mattvague.
  • Allow unit prefixes for (absolute) temperatures kelvin, rankine, celsius, and fahrenheit (#2824). Thanks @jfeist
josdejong
published 11.3.1 •

Changelog

Source

2022-10-19, 11.3.1

  • Fix #2809: code completion issues in some IDE's (#2812).
  • Fix #2818: throw an error when a function assignment has duplicate parameter names (#2819).
  • Update decimal.js to version 10.4.2.
josdejong
published 11.3.0 •

Changelog

Source

2022-10-11, 11.3.0

  • Allow creating new subclasses of Node in TypeScript (#2772). Note that this disables being able to narrow MathNodes by using the .type property. Use typeguards like isOperatorNode(...) instead (see #2810). Thanks @mattvague.
  • Fix #2793: flatten() cloning entries of array/Matrix (#2799).
  • Fix #2627: TypeScript definitions of pinv missing (#2804). Thanks @HanchaiN.
  • Update dependencies to decimal.js@10.4.1.
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