Function apriltag_sys::matd_crossproduct
source · pub unsafe extern "C" fn matd_crossproduct(
a: *const matd_t,
b: *const matd_t
) -> *mut matd_t
Expand description
Calculates the cross product of supplied matrices ‘a’ and ‘b’ (i.e. a x b) and returns it as a new matrix. Both ‘a’ and ‘b’ must be vectors of dimension 3, but can be either row or column vectors. It is the caller’s responsibility to call matd_destroy() on the returned matrix.