struct PF2d::Mat3x3(T)

Defined in:

pf2d/transform.cr:3
pf2d/transform.cr:4

Constant Summary

H = 3
S = 9
W = 3

Constructors

Instance Method Summary

Instance methods inherited from struct PF2d::Matrix(T, 3, 3)

==(other : self) ==, [](row : Int, col : Int) [], []=(row : Int, col : Int, value : T) []=, fill(*args, **options)
fill(*args, **options, &)
fill
, height height, initialize initialize, size(*args, **options)
size(*args, **options, &)
size
, solve? solve?, swap_cols(c1, c2) swap_cols, swap_rows(r1, r2) swap_rows, to_s(io) to_s, unsafe_fetch(*args, **options)
unsafe_fetch(*args, **options, &)
unsafe_fetch
, unsafe_put(*args, **options)
unsafe_put(*args, **options, &)
unsafe_put
, width width

Constructor methods inherited from struct PF2d::Matrix(T, 3, 3)

new new

Macros inherited from struct PF2d::Matrix(T, 3, 3)

[](*args) [], define(width, height) define, define_mul(w) define_mul

Constructor Detail

def self.new(data : StaticArray(T, 9)) #

[View source]
def self.new #

[View source]

Instance Method Detail

def *(other : PF2d::Mat3x3) #

[View source]
def data : StaticArray(T, S) #