Antiprism 0.23
|
Vector for 4D geometry. More...
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "rand_gen.h"
Classes | |
class | vec4d |
Vector with 4 components. More... | |
Functions | |
double | vdot (const vec4d &v1, const vec4d &v2) |
The dot product (scalar product) | |
vec4d | vcross (const vec4d &v1, const vec4d &v2, const vec4d &v3) |
The "cross" product (vector product) |
Vector for 4D geometry.
A vector class with common vector operations.
The "cross" product (vector product)
v1 | the first vector |
v2 | the second vector |
v3 | the third vector |