CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#include <string.h>
#include <float.h>
#include <cmath>
#include <stdlib.h>
#include "CLHEP/Matrix/defs.h"
#include "CLHEP/Random/Random.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/DiagMatrix.h"
#include "CLHEP/Matrix/Vector.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 | |
HepMatrix | CLHEP::dsum (const HepMatrix &, const HepMatrix &) |
HepMatrix | CLHEP::operator+ (const HepMatrix &m1, const HepMatrix &m2) |
HepMatrix | CLHEP::operator- (const HepMatrix &m1, const HepMatrix &m2) |
HepMatrix | CLHEP::operator/ (const HepMatrix &m1, double t) |
HepMatrix | CLHEP::operator* (const HepMatrix &m1, double t) |
HepMatrix | CLHEP::operator* (double t, const HepMatrix &m1) |
HepMatrix | CLHEP::operator* (const HepMatrix &m1, const HepMatrix &m2) |
std::ostream & | CLHEP::operator<< (std::ostream &s, const HepMatrix &q) |
#define CHK_DIM_1 | ( | c1, | |
r2, | |||
fun | |||
) |
#define CHK_DIM_2 | ( | r1, | |
r2, | |||
c1, | |||
c2, | |||
fun | |||
) |
if (r1!=r2 || c1!=c2) { \ HepGenMatrix::error("Range error in Matrix function " #fun "(1)."); \ }
Definition at line 51 of file Matrix.cc.
Referenced by CLHEP::HepMatrix::operator+=(), CLHEP::operator-(), and CLHEP::HepMatrix::operator-=().
#define SIMPLE_BOP | ( | OPER | ) |
#define SIMPLE_TOP | ( | OPER | ) |
register HepMatrix::mcIter a=m1.m.begin(); \ register HepMatrix::mcIter b=m2.m.begin(); \ register HepMatrix::mIter t=mret.m.begin(); \ register HepMatrix::mcIter e=m1.m.end(); \ for(;a!=e; a++, b++, t++) (*t) = (*a) OPER (*b);
Definition at line 42 of file Matrix.cc.
Referenced by CLHEP::operator-().
#define SIMPLE_UOP | ( | OPER | ) |
Definition at line 31 of file Matrix.cc.
Referenced by CLHEP::HepMatrix::operator*=(), and CLHEP::HepMatrix::operator/=().