Scenic.Math.Matrix.div

You're seeing just the function div, go back to Scenic.Math.Matrix module for more information.

Specs

div(matrix :: Scenic.Math.matrix(), divisor :: number()) :: Scenic.Math.matrix()

Divide a matrix by a scalar.

This operation is implemented as a NIF for performance.

Parameters:

  • matrix: A matrix
  • divisor: A number (scalar) to divide by

Returns: The resulting matrix