Matrix55

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

A 5x5 matrix with double precision

Constructors

Link copied to clipboard
constructor(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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val c0r0: Double = 0.0
Link copied to clipboard
val c0r1: Double = 0.0
Link copied to clipboard
val c0r2: Double = 0.0
Link copied to clipboard
val c0r3: Double = 0.0
Link copied to clipboard
val c0r4: Double = 0.0
Link copied to clipboard
val c1r0: Double = 0.0
Link copied to clipboard
val c1r1: Double = 0.0
Link copied to clipboard
val c1r2: Double = 0.0
Link copied to clipboard
val c1r3: Double = 0.0
Link copied to clipboard
val c1r4: Double = 0.0
Link copied to clipboard
val c2r0: Double = 0.0
Link copied to clipboard
val c2r1: Double = 0.0
Link copied to clipboard
val c2r2: Double = 0.0
Link copied to clipboard
val c2r3: Double = 0.0
Link copied to clipboard
val c2r4: Double = 0.0
Link copied to clipboard
val c3r0: Double = 0.0
Link copied to clipboard
val c3r1: Double = 0.0
Link copied to clipboard
val c3r2: Double = 0.0
Link copied to clipboard
val c3r3: Double = 0.0
Link copied to clipboard
val c3r4: Double = 0.0
Link copied to clipboard
val c4r0: Double = 0.0
Link copied to clipboard
val c4r1: Double = 0.0
Link copied to clipboard
val c4r2: Double = 0.0
Link copied to clipboard
val c4r3: Double = 0.0
Link copied to clipboard
val c4r4: Double = 0.0
Link copied to clipboard

Convert the 5x5 matrix to an array of floats

Functions

Link copied to clipboard
operator fun plus(mat: Matrix55): Matrix55

Matrix element-wise addition

Link copied to clipboard
operator fun times(s: Double): Matrix55

Matrix element-wise multiplication

operator fun times(mat: Matrix55): Matrix55

Matrix concatenation

Link copied to clipboard
open override fun toString(): String