FUNCTION: CompCompo - compare two compositions
CALLING SEQUENCE:
- CompCompo(compo_1, compo_2, kind)
- COMP[CompCompo](compo_1, compo_2, kind)
-
PARAMETERS:
- compo_1, compo_2 = any lists denoting compositions
- kind = 'lexic', 'cixel', 'finer'
SYNOPSIS:
- The CompCompo function compares two compositions. The ordering is set by
the argument kind, and the function returns true if compo_1 >= compo_2
according to the chosen ordering.
- Decomposing parts of the first composition gives the list of 'finer'
compositions.
- Whenever there is a conflict between the function name CompCompo and
another name used in the same session, use the long form
COMP['CompCompo'].
EXAMPLES:
> with(COMP):
> CompCompo([3,2,4], [3,1,1,4], 'finer');
true
> CompCompo([3,1,1,4], [3,2,4], 'lexic');
false
> CompCompo([3,2,4], [3,1,1,4], 'cixel');
true
SEE ALSO: ListCompoFatter ListCompoFiner