CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
mdcTwoVec.h
Go to the documentation of this file.
1
/* Multiply a symmetric 2-d matrix by a vector. */
2
3
inline
void
mdcTwoVec
(
const
double
matrix[3],
const
double
invect[2],
4
double
outvect[2]) {
5
6
double
buffvec[2];
/* Buffer the output in case outvect = invect. */
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
}
mdcTwoVec
void mdcTwoVec(const double matrix[3], const double invect[2], double outvect[2])
Definition
mdcTwoVec.h:3
6.6.5.i
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-49
MdcTrkRecon
mdcTwoVec.h
Generated by
1.12.0