Skip to content

Instantly share code, notes, and snippets.

@cesartl
Created May 9, 2020 08:17
Show Gist options
  • Save cesartl/24ee8b34293adc783611a5605b716285 to your computer and use it in GitHub Desktop.
Save cesartl/24ee8b34293adc783611a5605b716285 to your computer and use it in GitHub Desktop.
data class Matrix22(
val x00: BigInteger,
val x01: BigInteger,
val x10: BigInteger,
val x11: BigInteger
) {
companion object {
val identity = Matrix22(BigInteger.ONE, BigInteger.ZERO, BigInteger.ZERO, BigInteger.ONE)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment