Function: math[sortsols] - sorts solutions
Calling Sequence:
sortsols(s);
Parameters:
s - a set of equations of type name=algebraic
Description:
sortsols sorts a set of solutions of a system of linear equations with respect to their indeterminates.
This function is part of the math package, and so can be used only after performing the command with(math) or with(math, sortsols).
Examples:
> with(math):
> gl1 := -2*x+2*y+7*z = 0;
> gl2 := x-y-3*z = 1;
> gl3 := 3*x+2*y+2*z = 5;
> solve({gl1, gl2, gl3}, {x, y, z});
> sortsols(%);
See Also:
solve/system , math/reduce .
Version History:
Version 1.0 - as of February 26, 1998