set

fun set(n11: Double, n12: Double, n21: Double, n22: Double): Matrix2

Sets the elements of the matrix. The arguments are supposed to be in row-major order.

Return

A reference to this matrix.

Parameters

n11

1-1 matrix element.

n12

1-2 matrix element.

n21

2-1 matrix element.

n22

2-2 matrix element.