struct Phase::ReadonlyView::ReshapeTransform

Overview

probably done

Defined in:

view_util/transforms.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Phase::ReadonlyView::CoordTransform

apply(coord : InputCoord(Int32)) : ReadonlyWrapper(OutputCoord(Int32), Int32) apply, commutes_with?(t : CoordTransform) : Bool commutes_with?, compose(t : CoordTransform) : CoordTransform compose, initialize initialize

Constructor methods inherited from struct Phase::ReadonlyView::CoordTransform

new new

Constructor Detail

def self.new(src_shape : Enumerable(Int32), new_shape : Enumerable(Int32)) #

[View source]

Instance Method Detail

def apply(coord : InputCoord(Int32)) : ReadonlyWrapper(OutputCoord(Int32), Int32) #
Description copied from struct Phase::ReadonlyView::CoordTransform

must not mutate coord


[View source]
def compose(t : CoordTransform) : CoordTransform #

[View source]