Library of functions operating on complex vectors

norm

Returns the p-norm of a complex vector

length

Return length of a complex vector

normalize

Return normalized complex vector such that length = 1 and prevent zero-division for zero vector

reverse

Reverse vector elements (e.g., v[1] becomes last element)

sort

Sort elements of complex vector

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This library provides functions operating on vectors of Complex numbers.