Britbot
bool Britbot.ExpIterator.IsZero ( ) [inline]

checks if all the entries of the iteration are zero

Returns:
true if it is so, false otherwise

Definition at line 64 of file ExpIterator.cs.

        {
            //going over the list searching for nonzero
            foreach (int value in this.Values)
            {
                if (value != 0)
                    return false;
            }

            //if here it means that all the entries are zero
            return true;
        }