openrndr / org.openrndr.math / Matrix55

Matrix55

data class Matrix55 (source)

A 5x5 matrix with double precision

Constructors

<init>

A 5x5 matrix with double precision

Matrix55(c0r0: Double = 0.0, c1r0: Double = 0.0, c2r0: Double = 0.0, c3r0: Double = 0.0, c4r0: Double = 0.0, c0r1: Double = 0.0, c1r1: Double = 0.0, c2r1: Double = 0.0, c3r1: Double = 0.0, c4r1: Double = 0.0, c0r2: Double = 0.0, c1r2: Double = 0.0, c2r2: Double = 0.0, c3r2: Double = 0.0, c4r2: Double = 0.0, c0r3: Double = 0.0, c1r3: Double = 0.0, c2r3: Double = 0.0, c3r3: Double = 0.0, c4r3: Double = 0.0, c0r4: Double = 0.0, c1r4: Double = 0.0, c2r4: Double = 0.0, c3r4: Double = 0.0, c4r4: Double = 0.0)

Properties

c0r0

val c0r0: Double

c0r1

val c0r1: Double

c0r2

val c0r2: Double

c0r3

val c0r3: Double

c0r4

val c0r4: Double

c1r0

val c1r0: Double

c1r1

val c1r1: Double

c1r2

val c1r2: Double

c1r3

val c1r3: Double

c1r4

val c1r4: Double

c2r0

val c2r0: Double

c2r1

val c2r1: Double

c2r2

val c2r2: Double

c2r3

val c2r3: Double

c2r4

val c2r4: Double

c3r0

val c3r0: Double

c3r1

val c3r1: Double

c3r2

val c3r2: Double

c3r3

val c3r3: Double

c3r4

val c3r4: Double

c4r0

val c4r0: Double

c4r1

val c4r1: Double

c4r2

val c4r2: Double

c4r3

val c4r3: Double

c4r4

val c4r4: Double

floatArray

Convert the 5x5 matrix to an array of floats

val floatArray: FloatArray

Functions

plus

Matrix element-wise addition

operator fun plus(mat: Matrix55): Matrix55

times

Matrix concatenation

operator fun times(mat: Matrix55): Matrix55

Matrix element-wise multiplication

operator fun times(s: Double): Matrix55

Companion Object Properties

IDENTITY

A 5x5 identity matrix

val IDENTITY: Matrix55

ZERO

A 5x5 zero matrix

val ZERO: Matrix55