Next: Main functions in vector.c
Up: Matrices and vectors
Previous: Basic operations on elementary
contains tools for manipulating
vector data structures.
These functions are in the file vector.c.
These functions allows the following operations:
- allocating or deleting vectors,
- setting a value in each
position of a vector,
- reading or printing vectors,
- sorting values of a vector.
This is done in Polylib in the
using the heap sort algorithm.
Other sort operations exists, such as in function AffinePartSort
perform sorting operation on a list of lattices using the Quick Sort
- unary operations on vectors.
Finding the minimum, maximum or greatest common divisor for a
vector. Based on the GCD of a vector other unary operations are
available like Vector_Normalize or Vector_Normalize_Positive.
- logical operations on vectors components, algebrical
computations between vectors and vector-matrix movements.