Function apriltag_sys::matd_scale
source · pub unsafe extern "C" fn matd_scale(
a: *const matd_t,
s: f64
) -> *mut matd_tExpand description
Scales all cell values of matrix ‘a’ by the given scale factor ‘s’ and returns the result as a new matrix of the same dimensions. It is the caller’s responsibility to call matd_destroy() on the returned matrix.