muEC::COMP::Compo2MajorIndex – major index of a composition
The muEC::COMP::Compo2MajorIndex function computes the major index of a given composition. Let be a composition, then muEC::COMP::Compo2MajorIndex is set to be .
Call:
muEC::COMP::Compo2MajorIndex(compo)
Parameters:
compo: |
any list denoting a composition |
Related Functions:
muEC::COMP::ListCompo, muEC::TYP::IsCompo
muEC::COMP::Compo2MajorIndex( [2,3,1,2] );