vector3d_helpers.hpp File Reference
#include <array>
Include dependency graph for vector3d_helpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pass
 
 pass::gtoc
 

Functions

std::array< double, 3 > pass::gtoc::cross_product (std::array< double, 3 > v1, std::array< double, 3 > v2)
 
double pass::gtoc::dot_product (std::array< double, 3 > v1, std::array< double, 3 > v2)
 
double pass::gtoc::norm (std::array< double, 3 > v)
 
std::array< double, 3 > pass::gtoc::unit_vector (const std::array< double, 3 > &v)
 
std::array< double, 3 > pass::gtoc::add (std::array< double, 3 > v1, std::array< double, 3 > v2)
 
std::array< double, 3 > pass::gtoc::sub (std::array< double, 3 > v1, std::array< double, 3 > v2)
 
std::array< double, 3 > pass::gtoc::mul (std::array< double, 3 > v1, const double r)
 
std::array< double, 3 > pass::gtoc::div (std::array< double, 3 > v1, const double r)