next up previous contents [pdf] index

Next: Call Up: Construction of vectors (vector.c) Previous: Output

axa3d

Builds a 3D unit vector. The components of the vector returned are zero except for the one indicated in the input argument n, which is equal to one. If n=1 the z axis is 1, if n=2 the x axis is 1 and if n=3 the y axis is 1.



Subsections


2011-07-02