cpp_crop: Matrix Cropping

View source: R/RcppExports.R

cpp_cropR Documentation

Matrix Cropping

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 Sept. 14, 2023, 1:08 a.m.