times

operator fun times(other: Matrix): Matrix

Multiplies this matrix by another matrix. The number of columns in this matrix must match the number of rows in the other matrix.


operator fun times(scalar: Double): Matrix
operator fun times(scalar: Int): Matrix

Multiplies this matrix by a scalar.