Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ray
master
Cannon
CannonWorld
Canvas
Color
Matrix
Point
PPM
Projectile
Ray
Vector
Generated using Crystal 1.16.3
2026-11-11 10:22:26 UTC
class
Matrix
Matrix
Reference
Object
Defined in:
matrix.cr
Constructors
.new
(nums)
Instance Method Summary
#*
(other : Matrix)
#==
(other : Matrix)
#[]=
(row : Int32, col : Int32, data : Float64)
#[]?
(row : Int, col : Int) : Float64
#data
: Array(Array(Float64))
Constructor Detail
def self.
new
(nums)
#
[
View source
]
Instance Method Detail
def
*
(other :
Matrix
)
#
[
View source
]
def
==
(other :
Matrix
)
#
[
View source
]
def
[]=
(row : Int32, col : Int32, data : Float64)
#
[
View source
]
def
[]?
(row : Int, col : Int) : Float64
#
[
View source
]
def
data
: Array(Array(Float64))
#
[
View source
]