Go to the source code of this file.
|
void | mdcTwoVec (const double matrix[3], const double invect[2], double outvect[2]) |
|
◆ mdcTwoVec()
void mdcTwoVec |
( |
const double | matrix[3], |
|
|
const double | invect[2], |
|
|
double | outvect[2] ) |
|
inline |
Definition at line 3 of file mdcTwoVec.h.
4 {
5
6 double buffvec[2];
7
8
9
10 buffvec[0] = matrix[0] * invect[0] + matrix[1] * invect[1];
11 buffvec[1] = matrix[1] * invect[0] + matrix[2] * invect[1];
12
13 outvect[0] = buffvec[0];
14 outvect[1] = buffvec[1];
15
16 return;
17}
Referenced by MdcSegGrouper::calcParBySegs().