Matrix33

@Serializable
data class Matrix33(    val c0r0: Double = 0.0,     val c1r0: Double = 0.0,     val c2r0: Double = 0.0,     val c0r1: Double = 0.0,     val c1r1: Double = 0.0,     val c2r1: Double = 0.0,     val c0r2: Double = 0.0,     val c1r2: Double = 0.0,     val c2r2: Double = 0.0) : LinearType<Matrix33> (source)

A 3x3 matrix with double precision

Constructors

Link copied to clipboard
constructor(    c0r0: Double = 0.0,     c1r0: Double = 0.0,     c2r0: Double = 0.0,     c0r1: Double = 0.0,     c1r1: Double = 0.0,     c2r1: Double = 0.0,     c0r2: Double = 0.0,     c1r2: Double = 0.0,     c2r2: 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 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 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun div(scale: Double): Matrix33

Divides the current object by the given scale factor.

Link copied to clipboard
operator fun get(index: Int): Vector3

Returns a column vector

Link copied to clipboard
open operator override fun minus(right: Matrix33): Matrix33

Subtracts the specified value from the current value.

Link copied to clipboard
open operator override fun plus(right: Matrix33): Matrix33

Adds the given value right to this value and returns the result.

Link copied to clipboard
open operator override fun times(scale: Double): Matrix33

Multiplies the current instance by the specified scalar value.

operator fun times(mat: Matrix33): Matrix33
operator fun times(v: Vector3): Vector3
Link copied to clipboard
open override fun toString(): String