A zero-argument function that returns an object, conforming to the Iterator Protocol. In Javascript/Typescript in order to be iterable, an object must implement the "@@iterator" method
an iterator object.
Get the current row, or return undefined if the iterator was not yet started
Check if the iterator can return more elements
true if the iterator can return more elements, false if there are no elements left
Get the next element, or return undefined if the iterator's end was reached
Restart the iterator
The class DanMatrixElementsIterator implements MatrixIterator interface and Iterable interface