ContentsIndexHome
PreviousUpNext
restrict Method

Restricts the specified dimension to a specific value or set.

Restricts the specified dimension to only include the given IElement

 

void restrict(int dim, IElement element);

 

Restricts the specified dimension to the given ISetData, i.e. on this dimension, only elements that are contained in the ISetData are included. 

 

void restrict(int dim, ISetData domain);

 

Restricts the specified dimension to only include the given string label. 

 

void restrict(int dim, String label);

 

Restricts the specified dimension to only include the given integer label. 

 

void restrict(int dim, int label);

If a dimension is restricted to a single value, a view or iterator opened with this filter will have a lower dimension.