Skip to main content

fleet_holonomy_check

Function fleet_holonomy_check 

Source
#[unsafe(no_mangle)]
pub extern "C" fn fleet_holonomy_check( transforms: *const i64, len: usize, ) -> bool
Expand description

Check if the product of integer transforms equals the identity (1).

Each element of transforms is treated as a multiplicative factor. The product must equal exactly 1 for the check to pass.

ยงSafety

transforms must point to len valid i64 values.