fix(deps): update dependency mathjs to v11 #519
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^10.6.4->^11.0.0Release Notes
josdejong/mathjs (mathjs)
v11.8.2Compare Source
min,max,mean,median,mode,std,sum,prod,variance. Fixes a regressionintroduced in v11.8.1.
Unit.divide(Unit)have a wrong return type.v11.8.1Compare Source
distancewhen calculate the distance froma point to a line (#2965). Thanks @Kiku-CN.
math.formatnot working correctly forengineeringnotation when usingBigNumbers and for
fixednotation withprecision: 0configured (#2956).Thanks @mgreminger.
cbrt.docs (#2941). Thanks @dvd101x.
minandmax(#2955). Thanks @Maxim-Mazurok.v11.8.0Compare Source
fraction,bignumber, andnumberwith support forunits, see #2918 (#2926).
ampandampsfor unitampere(#2917).Thanks @veggiesaurus.
gcd(#2922). Thanks @brunoSnoww.distance(#2924). Thanks @tmtron.v11.7.0Compare Source
gcd(#2878).Thanks @jakubriegel.
partitionSelect,diff,expm1,round,nthRoots,sign,rigthArithShift,setIsSubset,setSize, and the docs about units.Thanks @tmtron.
reducing a lot of repetition (#2913). Thanks @brunoSnoww.
v11.6.0Compare Source
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,atan2andto(#2895, #2753). Thanks @dvd101x.unitto allow creating aunit from a fraction or complex number.
sort.columnandrowsometimes returning a scalar number.intersectas optionalin the TypeScript definitions. Thanks @wodndb.
prob(see #2902).to,distance,getMatrixDataType,subset, andmax(see #2902).v11.5.1Compare Source
rotationMatrix(#2860).Thanks @brunoSnoww.
lusolve(LUDecomposition, ...)(#2864).Thanks @evanmiller.
broken. Thanks @dvd101x.
powand some otherfunctions.
complexfor one numeric input (#2886),thanks @ariymarkowitz.
map()andforEach()(#2887), thanks @xiaohk.dotMultiply,dotPowanddotDivide(#2890). Thanks @brunoSnoww.v11.5.0Compare Source
simplifyrule matches in non-commutative contexts (#2841).Thanks @samueltlg.
(#2847). Thanks @samueltlg.
reshapemutating the input in case of a matrix (see #2854).multiply()withnumber[]andnumber[][](#2852). Thanks @hfhchan.
v11.4.0Compare Source
simplify, making it easierfor example to describe unary minus (#1915). Thanks @thatcomputerguy0101.
schur,sylvester, andlyap(#2646).Thanks @egidioln.
polynomialRoot, and use it in a benchmark (#2839).Thanks @gwhitney.
non-commutative contexts (#2827). Thanks @samueltlg.
Node.traverseandNode.forEach, they do returnvoid.v11.3.3Compare Source
SparseMatrixfrom aDenseMatrix(#2836). Thanks @AlexandreAlvesDB.FunctionNode, introducedin
v11.3.2. See #2733. Thanks @dsteve.v11.3.2Compare Source
kelvin,rankine,celsius, andfahrenheit(#2824). Thanks @jfeistv11.3.1Compare Source
parameter names (#2819).
decimal.jsto version10.4.2.v11.3.0Compare Source
Nodein TypeScript (#2772).Note that this disables being able to narrow MathNodes by using the
.typeproperty. Use typeguards like
isOperatorNode(...)instead (see #2810).Thanks @mattvague.
flatten()cloning entries of array/Matrix (#2799).pinvmissing (#2804).Thanks @HanchaiN.
[email protected].v11.2.1Compare Source
v11.2.0Compare Source
isRelationalNode(#2731). Thanks @isaacbyr.'largerEq'and'or'inOperatorNodeMapin theTypeScript definitions. Thanks @ajinkyac03.
pickRandom. Thanks @mattvague.minwhich meansminutes, notminim(#2773).Thanks @jasonhornsby.
v11.1.0Compare Source
Thanks @costerwi
examples/advanced/custom_loading.jswas broken.replacerfunction missing in the TypeScript definitions.Thanks @mattvague.
[email protected]and[email protected].v11.0.1Compare Source
simplifyConstantandsimplifyCorenot having a return type defined.
v11.0.0Compare Source
!!! BE CAREFUL: BREAKING CHANGES !!!
Breaking changes:
typed-function@3, see josdejong/typed-function/HISTORY.md. Thanks @gwhitney. Most importantly:any.thisvariable is no longer bound to the typed function itself.typed.types,typed.conversions, andtyped.ignorehave been removed.
typed.referTo,typed.referToSelf,typed.addTypes,typed.addConversions.when having a division followed by an implicit multiplication, the division
gets higher precedence over the implicit multiplication when (a) the
numerator is a constant with optionally a prefix operator (
-,+,~),and (b) the denominator is a constant. For example: formerly
-1 / 2 xwasinterpreted as
-1 / (2 * x)and now it is interpreted as(-1 / 2) * x.Thanks @gwhitney.
square, sqrt, cube, and cbrt to prevent confusion with standard matrix
functions (#2440, #2465). Instead, use
math.map(matrix, fn).Thanks @gwhitney.
add(2, x)will now be simplified into2 + x(#2415, #2466).Thanks @gwhitney.
numbertostring(#2482).Thanks @gwhitney.
diffreturn an empty matrix when the input containsonly one element (#2422).
simplifyCorelogic (#2490, #2484, #2459).The function
simplifyCorewill no longer (partially) merge constants, thatbehavior has been moved to
simplifyConstant. The combination ofsimplifyConstantandsimplifyCoreis still close to the old behaviorof
simplifyCore, but there are some differences. To reproduce the samebehavior as the old
simplifyCore, you can usemath.simplify(expr, [math.simplifyCore, math.simplifyConstant]).Thanks to the refactoring,
simplifyis more thorough in reducing constants.Thanks @gwhitney.
(#2485, #2474). For example:
math.chain(3).max(4, 2).done()will now throwan error rather than return
4, because the rest parameter ofmath.max(...number)has been split between the contents of the chain andthe arguments to the max call. Thanks @gwhitney.
typeOfnow returnsfunction(lowercase) for a function insteadof
Function(#2560). Thanks @gwhitney.Non-breaking changes:
simplify.Thanks @laureen-m and @mattvague.
createUnit. Thanks @egziko.epsilonwhen using BigNumbers.
getandsetin the docs.math.rationalizein the docs (#2616). Thanks @nukisman.count(#2622). Thanks @Hansuku.multiply(#2623). Thanks @Windrill.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.