Learn R Programming

IFC (version 0.1.1)

cpp_mark: Matrix to Matrix Writer According to Mask with Offsets

Description

Writes matrix B in matrix A according to mask.

Arguments

A

a NumericMatrix.

B

a NumericMatrix.

mask

a NumericMatrix.

xoff

x offset in A to start writing B.

yoff

x offset in A to start writing B.

invert

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.