#include <array>
#include <cmath>
#include <ostream>
#include "constants.h"
Go to the source code of this file.
|
std::ostream & | smash::operator<< (std::ostream &, const ThreeVector &) |
| Writes the three components of the vector to the output stream. More...
|
|
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\cdot\mathbf{a} \). More...
|
|
ThreeVector | smash::operator* (const double &a, ThreeVector b) |
| multiply a three-vector by constant factor: \( a\cdot\mathbf{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: \(\mathbf{a}/b\). More...
|
|