Chi2fit.FFT.normv

You're seeing just the function normv, go back to Chi2fit.FFT module for more information.

Specs

normv([complex()] | complex()) :: real()

Calculates the norm of a complex number or list of complex numbers.

Examples

iex> normv []
[]

iex> normv {2,3}
13

iex> normv [{2,3},{1,2}]
[13,5]