#include "common/CooArray.h"
#include "common/RefFrame.h"
#include <array>
#include <cmath>
#include <iostream>
#include <limits>
#include <type_traits>
Go to the source code of this file.
|
float | Herd::operator* (const Vec3D left, const Vec3D right) |
| Compute the dot-product between two vectors. More...
|
|
Vec3D | Herd::operator+ (Vec3D left, Vec3D const &right) |
| Add two vectors. More...
|
|
Vec3D | Herd::operator+ (const Vec3D &left, Vec3D &&right) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D | Herd::operator* (Vec3D left, T const &right) |
| Multiply a vector by a number. More...
|
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D | Herd::operator* (T const &right, Vec3D left) |
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D | Herd::operator/ (Vec3D left, T const &right) |
| Divide a vector by a number. More...
|
|
template<typename T , typename std::enable_if< std::is_arithmetic< T >::value >::type * = nullptr> |
Vec3D | Herd::operator/ (T const &right, Vec3D left) |
|
std::ostream & | Herd::operator<< (std::ostream &os, const Vec3D &vec) |
| Write coordinates to stream. More...
|
|