vector3d_helpers.hpp
Go to the documentation of this file.
std::array< double, 3 > unit_vector(const std::array< double, 3 > &v)
Definition: vector3d_helpers.cpp:22
std::array< double, 3 > mul(std::array< double, 3 > v1, const double r)
Definition: vector3d_helpers.cpp:39
std::array< double, 3 > add(std::array< double, 3 > v1, std::array< double, 3 > v2)
Definition: vector3d_helpers.cpp:27
Definition: adaptive_parameter_search.hpp:5
std::array< double, 3 > div(std::array< double, 3 > v1, const double r)
Definition: vector3d_helpers.cpp:45
std::array< double, 3 > sub(std::array< double, 3 > v1, std::array< double, 3 > v2)
Definition: vector3d_helpers.cpp:33
std::array< double, 3 > cross_product(std::array< double, 3 > v1, std::array< double, 3 > v2)
Definition: vector3d_helpers.cpp:4
double dot_product(std::array< double, 3 > v1, std::array< double, 3 > v2)
Definition: vector3d_helpers.cpp:11