div

operator fun div(scale: Float): Matrix3

Overloads the / operator to perform element-wise division of this matrix by a scalar value.

Each component of the resulting matrix is the result of dividing the corresponding component of this matrix by the scale factor.

This function requires the scale factor to be significantly different from zero (i.e., abs(scale) > 1e-6f) to prevent division by zero or numerically unstable results.

Return

A new Matrix3 representing the result of the scalar division.

Parameters

scale

The scalar Float value to divide this matrix by. Must not be zero or too close to zero (1e-6f).

Throws

IllegalArgumentException

if abs(scale) is not greater than 1e-6f.