Calculates the norm squared of an array.
The array
Optional
The type of norm squared, which can be "L0", "L1", "L2", or "LInfinity"
Calculates the norm squared of an array.