Classes | Namespaces | Typedefs | Functions
Vector.h File Reference
#include <cmath>
#include <iosfwd>
#include <array>
#include "LoopUnroller.h"

Classes

class  PLMD::VectorGeneric< n >
 

Namespaces

 PLMD
 

Typedefs

typedef Vector3d PLMD::Vector
 
typedef VectorGeneric< 1 > PLMD::Vector1d
 
typedef VectorGeneric< 2 > PLMD::Vector2d
 
typedef VectorGeneric< 3 > PLMD::Vector3d
 
typedef VectorGeneric< 4 > PLMD::Vector4d
 
typedef VectorGeneric< 5 > PLMD::Vector5d
 

Functions

VectorGeneric< 3 > PLMD::crossProduct (const VectorGeneric< 3 > &v1, const VectorGeneric< 3 > &v2)
 
template<unsigned n>
VectorGeneric< n > PLMD::delta (const VectorGeneric< n > &v1, const VectorGeneric< n > &v2)
 
template<unsigned n>
double PLMD::dotProduct (const VectorGeneric< n > &v1, const VectorGeneric< n > &v2)
 
template<unsigned n>
double PLMD::modulo (const VectorGeneric< n > &v)
 
template<unsigned n>
double PLMD::modulo2 (const VectorGeneric< n > &v)
 
template<unsigned n>
VectorGeneric< n > PLMD::operator* (const VectorGeneric< n > &v, double s)
 
template<unsigned n>
VectorGeneric< n > PLMD::operator* (double s, const VectorGeneric< n > &v)
 
template<unsigned n>
VectorGeneric< n > PLMD::operator+ (const VectorGeneric< n > &v1, const VectorGeneric< n > &v2)
 
template<unsigned n>
VectorGeneric< n > PLMD::operator- (const VectorGeneric< n > &v1, const VectorGeneric< n > &v2)
 
template<unsigned n>
VectorGeneric< n > PLMD::operator/ (const VectorGeneric< n > &v, double s)
 
template<unsigned n>
std::ostream & PLMD::operator<< (std::ostream &os, const VectorGeneric< n > &v)