def sqrtm(M):
    r = real_if_close(expm2(0.5 * logm(M)), 1e-8)
    return (r + r.T) / 2
Return the command and flags to use in the `edit' procedure.
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/functions.py/sqrtm--crossover with--dataset/ETHPy150Open tioui/Vim_Eiffel_IDE/pyplugin/eiffel_class.py/_edit_command_and_flag