cpp_crop: Matrix Cropping

Description Arguments Value

View source: R/RcppExports.R

Description

Crops mat according to new_height and new_width parameters.

Arguments

mat

a numeric matrix.

new_height

an unsigned integer, giving the new height of returned mat. Default is 0 for no change.

new_width

an unsigned integer, giving the new width of returned mat. Default is 0 for no change.

Value

a cropped matrix.


IFC documentation built on Jan. 13, 2021, 9:45 p.m.