pass::gtoc Namespace Reference

Functions

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

Function Documentation

◆ add()

std::array< double, 3 > pass::gtoc::add ( std::array< double, 3 >  v1,
std::array< double, 3 >  v2 
)
Here is the caller graph for this function:

◆ cross_product()

std::array< double, 3 > pass::gtoc::cross_product ( std::array< double, 3 >  v1,
std::array< double, 3 >  v2 
)
Here is the caller graph for this function:

◆ div()

std::array< double, 3 > pass::gtoc::div ( std::array< double, 3 >  v1,
const double  r 
)
Here is the caller graph for this function:

◆ dot_product()

double pass::gtoc::dot_product ( std::array< double, 3 >  v1,
std::array< double, 3 >  v2 
)
Here is the caller graph for this function:

◆ mul()

std::array< double, 3 > pass::gtoc::mul ( std::array< double, 3 >  v1,
const double  r 
)
Here is the caller graph for this function:

◆ norm()

double pass::gtoc::norm ( std::array< double, 3 >  v)
Here is the caller graph for this function:

◆ sub()

std::array< double, 3 > pass::gtoc::sub ( std::array< double, 3 >  v1,
std::array< double, 3 >  v2 
)
Here is the caller graph for this function:

◆ unit_vector()

std::array< double, 3 > pass::gtoc::unit_vector ( const std::array< double, 3 > &  v)
Here is the call graph for this function:
Here is the caller graph for this function: