Scenic.Math.Matrix.sub

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

Specs

sub(matrix_a :: Scenic.Math.matrix(), matrix_b :: Scenic.Math.matrix()) ::
  Scenic.Math.matrix()

Subtract one matrix from another.

This operation is implemented as a NIF for performance.

Parameters:

  • matrix_a: The first matrix
  • matrix_b: The second matrix, which is subtracted from the first

Returns: The resulting matrix