TYP::IsRegPart
--
tests whether the argument is a n
-regular partition
TYP::IsRegPart(n)
TYP::IsRegPart(part)
n | - | a positive integer |
expr | - | a partition |
The TYP::IsRegPart
function tests whether expr
is a n
-regular partition,
that is a partition such that it has no part repeated more than n
-1
times, or equivalently, if the difference between any two consecutive parts of
the conjugate partition are strictly less than n
.
>> muEC::PART::Part2Conjugate( [3, 3, 2, 2, 1, 1] );
[6, 4, 2]
>> muEC::TYP::IsRegPart( 2, [3, 3, 2, 2, 1, 1] );
FALSE
>> muEC::TYP::IsRegPart( 3, [3, 3, 2, 2, 1, 1] );
TRUE
PART::Part2Conjugate
, PART::ListPart
, IsPart
MuPAD Combinat, an open source algebraic combinatorics package