muEC::TYP::IsBorder – tests whether the argument is a border of a partition
The muEC::TYP::IsBorder function tests whether expr is a border list, 0 denoting an horizontal segment of the border, 1 a vertical one. Extremity segments shall not be included (i.e. 1 on the left top, 0 on the right bottom).
Call:
muEC::TYP::IsBorder(expr)
Parameters:
expr: |
any expression |
Related Functions:
muEC::TYP::IsDiagonal, muEC::TYP::IsPart
muEC::TYP::IsBorder( [0,1,0] );
muEC::TYP::IsBorder( [0,1,0,0,1,1] );
muEC::TYP::IsBorder( [a,b,a,a,b,b], alphabet=[a,b] );