class CulSum2D(T)

Defined in:

datastructure/cul_sum_2d.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(a : Array(Array(T))) #

[View source]
def self.new(height : Int32, width : Int32, &) #

[View source]

Instance Method Detail

def [](ys : Int, yc : Int, xs : Int, xc : Int) : T #

[View source]
def [](y_range : Range, x_range : Range) : T #

[View source]
def []?(y_start : Int, y_count : Int, x_start : Int, x_count : Int) : T? #

[View source]
def []?(y_range : Range, x_range : Range) : T? #

[View source]
def height : Int32 #

[View source]
def to_a : Array(Array(T)) #

[View source]
def width : Int32 #

[View source]