multiplyByScalar

fun multiplyByScalar(matrix: Matrix3, scalar: Double, result: Matrix3): Matrix3(source)

Computes the product of a matrix and a scalar.

Return

The modified result parameter.

Parameters

matrix

The matrix.

scalar

The number to multiply by.

result

The object onto which to store the result.

See also