@pimms.value<EOL><INDENT>def edge_lengths(edge_coordinates):<DEDENT>
tmp = np.sqrt(np.sum((edge_coordinates[<NUM_LIT:1>] - edge_coordinates[<NUM_LIT:0>])**<NUM_LIT:2>, axis=<NUM_LIT:0>))<EOL>tmp.setflags(write=False)<EOL>return tmp<EOL>
mesh.edge_lengths is a numpy array of the lengths of each edge in the given mesh.