def symmetrify(A, upper=False):
if use_linalg_cython:<EOL><INDENT>_symmetrify_cython(A, upper)<EOL><DEDENT>else:<EOL><INDENT>_symmetrify_numpy(A, upper)<EOL><DEDENT>
Take the square matrix A and make it symmetrical by copting elements from
the lower half to the upper

works IN PLACE.

note: tries to use cython, falls back to a slower numpy version