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;

[Maple Math]

> gl2 := x-y-3*z = 1;

[Maple Math]

> gl3 := 3*x+2*y+2*z = 5;

[Maple Math]

> solve({gl1, gl2, gl3}, {x, y, z});

[Maple Math]

> sortsols(%);

[Maple Math]

See Also:

solve/system , math/reduce .

Version History:

Version 1.0 - as of February 26, 1998