Module utils

Module utils 

Source

Functionsยง

cost_matrix
identity_matrix
ones_vector
sign
sign is a function that takes a floating-point number (f64 in this case) as input and returns an integer (i32). If a is less than 0.0, it returns -1, otherwise it returns 1.