Companion

object Companion

Functions

Link copied to clipboard
inline fun <T : Number, Comparable<T>> identity(): Mat2<T>

Returns a 2×2 identity matrix.

fun <T : Number, Comparable<T>> identity(type: KClass<T>): Mat2<T>

Returns a 2×2 identity matrix with elements of given type.

Properties

Link copied to clipboard

A 2×2 identity matrix.