com1DFA.DFAtools.norm2

norm2(x, y, z)[source]

Compute the square of the Euclidean norm of the vector (x, y, z).

(x, y, z) can be numpy arrays.

Parameters
  • x (numpy array) – x component of the vector

  • y (numpy array) – y component of the vector

  • z (numpy array) – z component of the vector

Returns

norme2 – square of the norm of the vector

Return type

numpy array