ptypy.engines.utils.Cnorm2#

ptypy.engines.utils.Cnorm2(c)#

Computes a norm2 on whole container c.

Parameters:

c (Container) – Input

Returns:

The norm2 (scalar)