This library provides functions operating on vectors:
Name | Description |
---|---|
Convert a real vector in to a string representation | |
Determine if two Real vectors are numerically identical | |
Return the p-norm of a vector | |
Return length of a vector (better as norm(), if further symbolic processing is performed) | |
Return normalized vector such that length = 1 and prevent zero-division for zero vector | |
Return normalized vector such that length = 1 (trigger an assert for zero vector) | |
Reverse vector elements (e.g., v[1] becomes last element) | |
Sort elements of vector in ascending or descending order | |
Find element in a vector | |
Interpolate linearly in a vector | |
Return vector of relative node positions (0..1) | |
Utility functions that should not be directly utilized by the user |