The this variable is no longer bound to the typed function itself.
The properties typed.types, typed.conversions, and typed.ignore
have been removed.
There are new static functions available like typed.referTo,
typed.referToSelf, typed.addTypes, typed.addConversions.
Implement amended "Rule 2" for implicit multiplication (#2370, #2460):
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 x was
interpreted as -1 / (2 * x) and now it is interpreted as (-1 / 2) * x.
Thanks @gwhitney.
Drop elementwise matrix support for trigonometric functions, exp, log, gamma,
square, sqrt, cube, and cbrt to prevent confusion with standard matrix
functions (#2440, #2465). Instead, use math.map(matrix, fn).
Thanks @gwhitney.
Simplify: convert equivalent function calls into operators, for example,
add(2, x) will now be simplified into 2 + x (#2415, #2466).
Thanks @gwhitney.
Removed the automatic conversion from number to string (#2482).
Thanks @gwhitney.
Fix #2412: let function diff return an empty matrix when the input contains
only one element (#2422).
Internal refactoring in the simplifyCore logic (#2490, #2484, #2459).
The function simplifyCore will no longer (partially) merge constants, that
behavior has been moved to simplifyConstant. The combination of
simplifyConstant and simplifyCore is still close to the old behavior
of simplifyCore, but there are some differences. To reproduce the same
behavior as the old simplifyCore, you can use
math.simplify(expr, [math.simplifyCore, math.simplifyConstant]).
Thanks to the refactoring, simplify is more thorough in reducing constants.
Thanks @gwhitney.
Disable support for splitting rest parameters in chained calculations
(#2485, #2474). For example: math.chain(3).max(4, 2).done() will now throw
an error rather than return 4, because the rest parameter of
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mathjs from 9.5.1 to 11.0.1.
Changelog
Sourced from mathjs's changelog.
... (truncated)
Commits
1464c2e
Publish v11.0.1, fix linting issues7794e1c
Fix some issues in index.tscd1ccdb
Fix #2632: incomplete type definitions forsimplifyConstant
andsimplifyCore
9ac7960
Merge branch 'master' into develope811a0a
Fix some more issues in the inline function documentationcb8658a
Fix some (of many) issues in the inline function documentation7a38dc0
Publish v11.0.0d520b24
Update AUTHORS687eaa3
Merge remote-tracking branch 'origin/develop' into develop4ac31a9
Update historyDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)