class ImosLinear(T)

Defined in:

datastructure/imos_linear.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(size : Int32) #

[View source]

Instance Method Detail

def add(start : Int, count : Int, val_a : T, val_b : T) : Nil #

Add a + (i - l) * b to [l, r).


[View source]
def add(range : Range, val_a : T, val_b : T) : Nil #

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

[View source]
def size : Int32 #

[View source]