Version: SMASH-2.0
threevector.h File Reference
#include <array>
#include <cmath>
#include <ostream>
#include "constants.h"

Go to the source code of this file.

Classes

class  smash::ThreeVector
 

Namespaces

 smash
 

Functions

std::ostream & smash::operator<< (std::ostream &, const ThreeVector &)
 
ThreeVector smash::operator+ (ThreeVector a, const ThreeVector &b)
 
ThreeVector smash::operator- (ThreeVector a, const ThreeVector &b)
 
ThreeVector smash::operator* (ThreeVector a, const double &b)
 multiply a three-vector by constant factor \( b \vec{a} \). More...
 
ThreeVector smash::operator* (const double &a, ThreeVector b)
 multiply a three-vector by constant factor \( a \vec{b} \). More...
 
double smash::operator* (ThreeVector a, const ThreeVector &b)
 
ThreeVector smash::operator/ (ThreeVector a, const double &b)
 divide a three-vector by constant factor \( \vec{a} / b \). More...