ParM  parm
A molecular dynamics library
Classes | Typedefs | Functions
vec.hpp File Reference
#include <ostream>
#include <cmath>

Go to the source code of this file.

Classes

class  Array< T, N >
 A fixed size array. More...
 
class  NVector< T, N >
 An N-dimensional vector, extending addition and subtraction from the type T to the NVector class. More...
 
class  NumVector< T, N >
 An N-dimensional physics vector, extending NVector. More...
 
class  Vector3< T >
 A 3D physics vector, with methods for adding, subtracting, dot product, etc. More...
 
class  Vector2< T >
 A 2D physics vector, with methods for adding, subtracting, dot product, etc. More...
 
class  Matrix< C >
 A 3x3 matrix, with methods for adding, subtracting, dot product, etc. More...
 

Typedefs

typedef unsigned int uint
 

Functions

template<class U , unsigned int M>
ostream & operator<< (ostream &out, const NVector< U, M > &v)
 
template<class U , unsigned int M>
ostream & operator<< (ostream &out, const NumVector< U, M > &v)
 
template<class U >
ostream & operator<< (ostream &out, const Vector3< U > v)
 
template<class U >
ostream & operator<< (ostream &out, const Vector2< U > v)
 

Typedef Documentation

typedef unsigned int uint
Examples:
hardspheres.cpp.

Function Documentation

template<class U , unsigned int M>
ostream& operator<< ( ostream &  out,
const NVector< U, M > &  v 
)
template<class U , unsigned int M>
ostream& operator<< ( ostream &  out,
const NumVector< U, M > &  v 
)
template<class U >
ostream& operator<< ( ostream &  out,
const Vector3< U >  v 
)
template<class U >
ostream& operator<< ( ostream &  out,
const Vector2< U >  v 
)