You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2745d2d
Browse filesBrowse the repository at this point in the historyBrowse files
A system's answer with each parameter and the set it ranges over
EquationSystem.SolveWithParameters(params Variable[]) and
MathS.SolveSystemWithParameters(Entity, params Variable[]) answer the rows
Solve answers and, beside them, each parameter of the rows with its set,
as ParametrizedSolutions(Matrix Rows, IReadOnlyList<(Variable Parameter,
Set Domain)> Parameters). sin(x) = 1/2 in x, y is the two rows with
(n_1, ZZ), (t_1, CC). An answer without parameters lists none; null where
Solve is null, and where a parameter's set cannot be named.
The set is said where the parameter is minted, by SolutionParameters.Mint:
ZZ for the n of a period, a mod and a Lambert W branch, RR for the
argument r of abs, (0, oo) for the r of signum, [0, 1) for the t of floor
and ceil, (-1/2, 1/2) for round, and CC (RR over the reals) for an unknown
nothing constrains. The non-square check reads which symbols are whole
from there rather than from an "n_" prefix.
A second equation's roots minted the same name as the first's where the
two do not reach each other, so sin(x) = 1/2, sin(y) = 1/2 was
(pi/6 + 2 pi n_1, pi/6 + 2 pi n_1) and left out (pi/6, 13 pi/6). Such a
parameter is renamed where the rows are put together (n_2), one that
reaches a later equation stays shared (tan(x) = 1, y = x), and while a
system is solved one name stands for one set. Measured on v2.7.0 and
here; the changed answers are in BREAKING-CHANGES.md.
solve_system_with_parameters and solve_conjunction_with_parameters join
the catalogue; am_solve_system reports 'parameters', each with its set;
the terminal lists both entries in OneShot.notOffered.
Part of #212.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"solve_system_with_parameters","Solves equations jointly for several variables, as solve_system does, and names each parameter of the answer with the set it ranges over.",
"solve_conjunction_with_parameters","Solves a conjunction of equations jointly for several variables, as solve_conjunction does, and names each parameter of the answer with the set it ranges over.",
0 commit comments