Matrix2
external class Matrix2(column0Row0: Double? = definedExternally, column1Row0: Double? = definedExternally, column0Row1: Double? = definedExternally, column1Row1: Double? = definedExternally)(source)
A 2x2 matrix, indexable as a column-major order array. Constructor parameters are in row-major order for code readability.
Parameters
column0Row0
The value for column 0, row 0. Default value - 0.0
column1Row0
The value for column 1, row 0. Default value - 0.0
column0Row1
The value for column 0, row 1. Default value - 0.0
column1Row1
The value for column 1, row 1. Default value - 0.0
See also
Constructors
Properties
Functions
Link copied to clipboard
fun equalsEpsilon(right: Matrix2? = definedExternally, epsilon: Double? = definedExternally): Boolean
Compares this matrix to the provided matrix componentwise and returns true
if they are within the provided epsilon, false
otherwise.