Masking

Masking is a method of indicating which elements of a matrix or vector should and should not be used.

In the example below, the masking matrix indicates:

  • 0 - masking is not applied to the corresponding value in the input matrix

  • 1 - masking is applied to the corresponding value in the input matrix