# Matrix44

@Serializable
data class Matrix44(    val c0r0: Double = 0.0,     val c1r0: Double = 0.0,     val c2r0: Double = 0.0,     val c3r0: Double = 0.0,     val c0r1: Double = 0.0,     val c1r1: Double = 0.0,     val c2r1: Double = 0.0,     val c3r1: Double = 0.0,     val c0r2: Double = 0.0,     val c1r2: Double = 0.0,     val c2r2: Double = 0.0,     val c3r2: Double = 0.0,     val c0r3: Double = 0.0,     val c1r3: Double = 0.0,     val c2r3: Double = 0.0,     val c3r3: Double = 0.0) : LinearType<Matrix44>

A 4x4 matrix with double precision

## Constructors

fun Matrix44(    c0r0: Double = 0.0,     c1r0: Double = 0.0,     c2r0: Double = 0.0,     c3r0: Double = 0.0,     c0r1: Double = 0.0,     c1r1: Double = 0.0,     c2r1: Double = 0.0,     c3r1: Double = 0.0,     c0r2: Double = 0.0,     c1r2: Double = 0.0,     c2r2: Double = 0.0,     c3r2: Double = 0.0,     c0r3: Double = 0.0,     c1r3: Double = 0.0,     c2r3: Double = 0.0,     c3r3: Double = 0.0)

object Companion

## Functions

open operator override fun div(scale: Double): Matrix44
operator fun get(index: Int): Vector4

Returns a column vector

open operator override fun minus(right: Matrix44): Matrix44

Matrix subtraction

open operator override fun plus(right: Matrix44): Matrix44

open operator override fun times(scale: Double): Matrix44

Multiplies all the elements in the 4x4 matrix with a scalar

operator fun times(mat: Matrix44): Matrix44

Matrix concatenation

operator fun times(v: Vector4): Vector4

Multiplies the 4x4 matrix with a vector 4

fun toDoubleArray(): DoubleArray

Convert matrix to a `DoubleArray` in row-major order

open override fun toString(): String

## Properties

val c0r0: Double = 0.0
val c0r1: Double = 0.0
val c0r2: Double = 0.0
val c0r3: Double = 0.0
val c1r0: Double = 0.0
val c1r1: Double = 0.0
val c1r2: Double = 0.0
val c1r3: Double = 0.0
val c2r0: Double = 0.0
val c2r1: Double = 0.0
val c2r2: Double = 0.0
val c2r3: Double = 0.0
val c3r0: Double = 0.0
val c3r1: Double = 0.0
val c3r2: Double = 0.0
val c3r3: Double = 0.0
val determinant: Double
val inversed: Matrix44

Inversed version of the 4x4 matrix

val matrix33: Matrix33

The 3x3 top-left part of the 4x4 matrix

val trace: Double

The trace of the 4x4 matrix

val transposed: Matrix44

Returns a transposed version of the matrix