Writes matrix B in matrix A according to mask.
a NumericMatrix.
a NumericMatrix.
a NumericMatrix.
x offset in A to start writing B.
x offset in A to start writing B.
a logical. Default is false. When false, the default, values of B are written into A when mask is not 0. When true, values of 1-B are written into A when mask is not 0.