struct Bottle::Internal::MatrixIter(T)

Included Modules

Defined in:

tensor/iter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tns : Tensor(T)) #

[View source]

Instance Method Detail

def axis : Int32 #

[View source]
def dim : Int32 #

[View source]
def next #
Description copied from module Iterator(T)

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


[View source]
def ranges : Array(Int32 | Range(Int32, Int32)) #

[View source]
def tns : Tensor(T) #

[View source]