def create_egg(name, resources):
    egg = imp.new_module(name)
    egg.__loader__ = MockLoader()
    egg._resources = resources
    sys.modules[name] = egg
Symmetrize a triangular matrix.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/templates/loaders.py/create_egg--crossover with--dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/magma.py/magmablas_csymmetrize