Next: Integer Set Front Functions, Previous: Integer Set Functions, Up: The Integer Set Library [Index]
All functions retrieving data link it if allowed, copy it otherwise.
integer m_first(mint m, integer &k);
is zero if the m integer set is empty, non zero otherwise. In the latter case k is set to the first value in m.
integer m_high(mint m);
is the last value in m
integer m_last(mint m, integer &k);
is zero if the m integer set is empty, non zero otherwise. In the latter case k is set to the last value in m.
integer m_low(mint m);
is the first value in m
integer msk_greater(mint m, integer a, integer &k);
is zero if the m integer set has no value greater than a, non zero otherwise. In the latter case k is set to the first value greater than a.
integer msk_less(mint m, integer a, integer &k);
is zero if the m integer set has no value less than a, non zero otherwise. In the latter case k is set to the last value less than a.
integer msk_lower(mint m, integer a, integer &k);
is zero if the m integer set has no value less or equal to a, non zero otherwise. In the latter case k is set to the last value not greater than a.
integer msk_upper(mint m, integer a, integer &k);
is zero if the m integer set has no value greater or equal to a, non zero otherwise. In the latter case k is set to the first value not less than a.
Next: Integer Set Front Functions, Previous: Integer Set Functions, Up: The Integer Set Library [Index]