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

Vectors

Library of functions operating on vectors

Package Contents

isEqual
Determine if two Real vectors are numerically identical
length
Return length of a vectorReturn length of a vector (better as norm(), if further symbolic processing is performed)
norm
Return the p-norm of a vector
normalize
Return normalized vector such that length = 1Return normalized 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 vector in ascending or descending order
Information