mat

fun mat(x1: Int, y1: Int, x2: Int, y2: Int): Mat2x2i

Constructs a 2x2-dimensional integer matrix.


fun mat(x1: Double, y1: Double, x2: Double, y2: Double): Mat2x2d

Constructs a 2x2-dimensional double matrix.