functionabsComplexVector

Return the absolute values of all elements of a complex vector that is defined by a vr[:] vector (real part) and a vi[:] vector (imaginary part)

Inputs

TypeNameDefaultDescription
Real[:]vrReal part of complex vector
Real[size(vr, 1)]viImaginary part of complex vector

Outputs

TypeNameDefaultDescription
Real[size(vr, 1)]v_absAbsolute values of the elements of the complex vector