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.


gitdemont/IFC documentation built on June 11, 2025, 9:23 p.m.