class Phase::Buffered::Indexed::ElemAndCoordIterator(S, E, I)

Included Modules

Defined in:

buffered/indexed/elem_coord_iterator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(src : Buffered, coord_iter : Indexed::StrideIterator(I)) forall I #

Constructs an ElemAndCoordIterator that draws coordinates from coord_iter and takes the matching elements from source.


[View source]
def self.new(src : Buffered, idx_region : IndexRegion) #

[View source]
def self.new(src : Buffered) #

[View source]

Instance Method Detail

def clone : self #

[View source]
def next : Tuple(E, Indexable(I)) | Stop #
Description copied from module Iterator({E, Indexable(I)})

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]
def reset(*args, **options) #

[View source]
def reset(*args, **options, &) #

[View source]
def reverse!(*args, **options) #

[View source]
def reverse!(*args, **options, &) #

[View source]
def reverse_each #

[View source]
def reverse_each(&) #

[View source]
def to_a #
Description copied from module Enumerable({E, Indexable(I)})

Returns an Array with all the elements in the collection.

(1..5).to_a # => [1, 2, 3, 4, 5]

[View source]
def unsafe_next : Tuple(E, Indexable(I)) #

[View source]