Next: Main functions in vector.c
Up: Matrices and vectors
Previous: Basic operations on elementary
  Contents
Vector operations
Polylib
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
Vector_Sort function
using the heap sort algorithm.
Other sort operations exists, such as in function AffinePartSort
which
perform sorting operation on a list of lattices using the Quick Sort
algorithm.
- 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.
Subsections
Sorin Olaru
2002-04-24