Function apriltag_sys::matd_create

source ·
pub unsafe extern "C" fn matd_create(
    rows: c_int,
    cols: c_int
) -> *mut matd_t
Expand description

Creates a double matrix with the given number of rows and columns (or a scalar in the case where rows=0 and/or cols=0). All data elements will be initialized to zero. It is the caller’s responsibility to call matd_destroy() on the returned matrix.