RegularChains[ConstructibleSetTools][Union] - compute the union of two constructible sets
|
Calling Sequence
|
|
Union(cs1, cs2, R)
|
|
Parameters
|
|
cs1, cs2
|
-
|
constructible sets
|
R
|
-
|
polynomial ring
|
|
|
|
|
Description
|
|
•
|
The command Union(cs1, cs2, R) returns a constructible set, the union of cs1 and cs2.
|
•
|
There might be redundancy in the output.
|
•
|
This command is part of the RegularChains[ConstructibleSetTools] package, so it can be used in the form Union(..) only after executing the command with(RegularChains[ConstructibleSetTools]). However, it can always be accessed through the long form of the command by using RegularChains[ConstructibleSetTools][Union](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
Define a polynomial ring first.
>
|
|
| (1) |
Consider the following polynomials of .
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
Let cs1 be the solution set of and , and cs2 be the solution set of and .
>
|
|
| (5) |
>
|
|
| (6) |
Use the command Union to obtain the union of these two solution sets.
>
|
|
| (7) |
The Union command is not guaranteed to remove all the redundant components, for efficiency consideration. Use the MakePairwiseDisjoint command to remove them.
>
|
|
| (8) |
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?