Scenic.Math.Matrix.put
You're seeing just the function
put
, go back to Scenic.Math.Matrix module for more information.
Specs
put(matrix :: Scenic.Math.matrix(), x :: number(), y :: number(), v :: number()) :: Scenic.Math.matrix()
Put a single value into a binary matrix.
Parameters:
- matrix: The source matrix
- x: the column to pull the data from
- y: the row to pull the data from
- v: the value to put into the matrix. Must be a number.
Returns: A number