Homogenous vectors for three dimensional space. More...
#include <math.h>
#include <stdint.h>
#include <iostream>
#include <iomanip>
#include "vec3d.hpp"
#include "file.hpp"
#include "error.hpp"
Go to the source code of this file.
Classes | |
class | Vec4D |
Homogenous vector for three dimensional space. More... |
Functions | |
double | norm2 (const Vec4D &vec) |
Vec4D | cross (const Vec4D &vec1, const Vec4D &vec2) |
Vec4D | operator* (double x, const Vec4D &vec) |
std::ostream & | operator<< (std::ostream &os, const Vec4D &vec) |
Homogenous vectors for three dimensional space.
Only valid for vectors. Output is guaranteed to be a vector.
|
inline |
|
inline |