Version: SMASH-2.0
fourvector.h File Reference
#include <array>
#include <cmath>
#include <iosfwd>
#include <stdexcept>
#include "threevector.h"

Go to the source code of this file.

Classes

class  smash::FourVector
 

Namespaces

 smash
 

Functions

FourVector smash::operator+ (FourVector a, const FourVector &b)
 add two FourVectors More...
 
FourVector smash::operator- (FourVector a, const FourVector &b)
 subtract two FourVectors More...
 
FourVector smash::operator* (FourVector a, double b)
 multiply a vector with a scalar More...
 
FourVector smash::operator* (double b, FourVector a)
 multiply a vector with a scalar More...
 
FourVector smash::operator/ (FourVector a, const double &b)
 divide a vector by a scalar More...
 
std::ostream & smash::operator<< (std::ostream &os, const FourVector &vec)