Scenic.Math.Matrix.get

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

Specs

get(matrix :: Scenic.Math.matrix(), x :: number(), y :: number()) :: number()

Get a single value out of a binary matrix.

Parameters:

  • matrix: The source matrix
  • x: the column to pull the data from
  • y: the row to pull the data from

Returns: A number