/// <summary>
 /// Disposable pattern.
 /// </summary>
 public void Dispose()
 {
     _array = null;
 }
 /// <summary>
 /// Constructor that initializes the enumerator.
 /// </summary>
 /// <param name="array"></param>
 public MatrixArrayEnumerator(MatrixArray <TValue> array)
 {
     _array = array;
 }