#include <iostream>
#include <string.h>
#include "CLHEP/Matrix/defs.h"
#include "CLHEP/Random/Random.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Utility/thread_local.h"
Go to the source code of this file.
|
HepVector | CLHEP::dsum (const HepVector &s1, const HepVector &s2) |
|
HepVector | CLHEP::operator+ (const HepMatrix &hm1, const HepVector &v2) |
|
HepVector | CLHEP::operator+ (const HepVector &v1, const HepMatrix &hm2) |
|
HepVector | CLHEP::operator+ (const HepVector &v1, const HepVector &v2) |
|
HepVector | CLHEP::operator- (const HepMatrix &hm1, const HepVector &v2) |
|
HepVector | CLHEP::operator- (const HepVector &v1, const HepMatrix &hm2) |
|
HepVector | CLHEP::operator- (const HepVector &v1, const HepVector &v2) |
|
HepVector | CLHEP::operator/ (const HepVector &v1, double t) |
|
HepVector | CLHEP::operator* (const HepVector &v1, double t) |
|
HepVector | CLHEP::operator* (double t, const HepVector &v1) |
|
HepVector | CLHEP::operator* (const HepMatrix &hm1, const HepVector &hm2) |
|
HepMatrix | CLHEP::operator* (const HepVector &hm1, const HepMatrix &hm2) |
|
std::ostream & | CLHEP::operator<< (std::ostream &s, const HepVector &v) |
|
double | CLHEP::dot (const HepVector &v1, const HepVector &v2) |
|
HepVector | CLHEP::solve (const HepMatrix &, const HepVector &) |
|
◆ CHK_DIM_1
#define CHK_DIM_1 |
( |
|
c1, |
|
|
|
r2, |
|
|
|
fun |
|
) |
| |
Value: if (c1!=r2) { \
HepGenMatrix::error("Range error in Vector function " #fun "(2)."); \
}
Definition at line 46 of file Vector.cc.
◆ CHK_DIM_2
#define CHK_DIM_2 |
( |
|
r1, |
|
|
|
r2, |
|
|
|
c1, |
|
|
|
c2, |
|
|
|
fun |
|
) |
| |
Value: if (r1!=r2 || c1!=c2) { \
HepGenMatrix::error("Range error in Vector function " #fun "(1)."); \
}
Definition at line 41 of file Vector.cc.
◆ SIMPLE_BOP
#define SIMPLE_BOP |
( |
|
OPER | ) |
|
Value: mIter a=m.begin(); \
mcIter b=hm2.m.begin(); \
mcIter e=m.begin()+num_size(); \
for(;a<e; a++, b++) (*a) OPER (*b);
Definition at line 28 of file Vector.cc.
◆ SIMPLE_TOP
#define SIMPLE_TOP |
( |
|
OPER | ) |
|
Value: HepGenMatrix::mcIter a=hm1.m.begin(); \
HepGenMatrix::mcIter b=hm2.m.begin(); \
HepGenMatrix::mIter t=mret.m.begin(); \
HepGenMatrix::mcIter e=hm1.m.begin()+hm1.num_size(); \
for( ;a<e; a++, b++, t++) (*t) = (*a) OPER (*b);
Definition at line 34 of file Vector.cc.
◆ SIMPLE_UOP
#define SIMPLE_UOP |
( |
|
OPER | ) |
|
Value: HepGenMatrix::mIter a=m.begin(); \
HepGenMatrix::mIter e=m.begin()+num_size(); \
for(;a<e; a++) (*a) OPER t;
Definition at line 23 of file Vector.cc.