CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#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"
Go to the source code of this file.
Namespaces | |
namespace | CLHEP |
Defines | |
#define | SIMPLE_UOP(OPER) |
#define | SIMPLE_BOP(OPER) |
#define | SIMPLE_TOP(OPER) |
#define | CHK_DIM_2(r1, r2, c1, c2, fun) |
#define | CHK_DIM_1(c1, r2, fun) |
Functions | |
HepVector | CLHEP::dsum (const HepVector &s1, const HepVector &s2) |
HepVector | CLHEP::operator+ (const HepMatrix &m1, const HepVector &v2) |
HepVector | CLHEP::operator+ (const HepVector &v1, const HepMatrix &m2) |
HepVector | CLHEP::operator+ (const HepVector &v1, const HepVector &v2) |
HepVector | CLHEP::operator- (const HepMatrix &m1, const HepVector &v2) |
HepVector | CLHEP::operator- (const HepVector &v1, const HepMatrix &m2) |
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 &m1, const HepVector &m2) |
HepMatrix | CLHEP::operator* (const HepVector &m1, const HepMatrix &m2) |
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 &) |
#define CHK_DIM_1 | ( | c1, | |
r2, | |||
fun | |||
) |
if (c1!=r2) { \ HepGenMatrix::error("Range error in Vector function " #fun "(2)."); \ }
Definition at line 47 of file Vector.cc.
Referenced by CLHEP::operator*(), CLHEP::operator+(), CLHEP::HepVector::operator+=(), CLHEP::operator-(), and CLHEP::HepVector::operator-=().
#define CHK_DIM_2 | ( | r1, | |
r2, | |||
c1, | |||
c2, | |||
fun | |||
) |
if (r1!=r2 || c1!=c2) { \ HepGenMatrix::error("Range error in Vector function " #fun "(1)."); \ }
Definition at line 42 of file Vector.cc.
Referenced by CLHEP::HepVector::operator+=(), CLHEP::HepMatrix::operator+=(), CLHEP::operator-(), CLHEP::HepVector::operator-=(), and CLHEP::HepMatrix::operator-=().
#define SIMPLE_BOP | ( | OPER | ) |
register mIter a=m.begin(); \ register mcIter b=m2.m.begin(); \ register mcIter e=m.begin()+num_size(); \ for(;a<e; a++, b++) (*a) OPER (*b);
Definition at line 29 of file Vector.cc.
Referenced by CLHEP::HepVector::operator+=(), CLHEP::HepMatrix::operator+=(), CLHEP::HepVector::operator-=(), and CLHEP::HepMatrix::operator-=().
#define SIMPLE_TOP | ( | OPER | ) |
register HepGenMatrix::mcIter a=m1.m.begin(); \ register HepGenMatrix::mcIter b=m2.m.begin(); \ register HepGenMatrix::mIter t=mret.m.begin(); \ register HepGenMatrix::mcIter e=m1.m.begin()+m1.num_size(); \ for( ;a<e; a++, b++, t++) (*t) = (*a) OPER (*b);
Definition at line 35 of file Vector.cc.
Referenced by CLHEP::operator+(), and CLHEP::operator-().
#define SIMPLE_UOP | ( | OPER | ) |
register HepGenMatrix::mIter a=m.begin(); \ register HepGenMatrix::mIter e=m.begin()+num_size(); \ for(;a<e; a++) (*a) OPER t;
Definition at line 24 of file Vector.cc.
Referenced by CLHEP::HepVector::operator*=(), and CLHEP::HepVector::operator/=().