CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
SymMatrix.cc File Reference
#include <iostream>
#include <string.h>
#include <float.h>
#include "CLHEP/Matrix/defs.h"
#include "CLHEP/Random/Random.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/DiagMatrix.h"
#include "CLHEP/Matrix/Vector.h"

Go to the source code of this file.

Namespaces

namespace  CLHEP
 

Macros

#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

HepSymMatrix CLHEP::dsum (const HepSymMatrix &s1, const HepSymMatrix &s2)
 
HepMatrix CLHEP::operator+ (const HepMatrix &hm1, const HepSymMatrix &s2)
 
HepMatrix CLHEP::operator+ (const HepSymMatrix &s1, const HepMatrix &hm2)
 
HepSymMatrix CLHEP::operator+ (const HepSymMatrix &s1, const HepSymMatrix &s2)
 
HepMatrix CLHEP::operator- (const HepMatrix &hm1, const HepSymMatrix &s2)
 
HepMatrix CLHEP::operator- (const HepSymMatrix &hm1, const HepMatrix &hm2)
 
HepSymMatrix CLHEP::operator- (const HepSymMatrix &s1, const HepSymMatrix &s2)
 
HepSymMatrix CLHEP::operator/ (const HepSymMatrix &hm1, double t)
 
HepSymMatrix CLHEP::operator* (const HepSymMatrix &s1, double t)
 
HepSymMatrix CLHEP::operator* (double t, const HepSymMatrix &s1)
 
HepMatrix CLHEP::operator* (const HepMatrix &hm1, const HepSymMatrix &hm2)
 
HepMatrix CLHEP::operator* (const HepSymMatrix &hm1, const HepMatrix &hm2)
 
HepMatrix CLHEP::operator* (const HepSymMatrix &hm1, const HepSymMatrix &hm2)
 
HepVector CLHEP::operator* (const HepSymMatrix &hm1, const HepVector &hm2)
 
HepSymMatrix CLHEP::vT_times_v (const HepVector &v)
 
std::ostream & CLHEP::operator<< (std::ostream &s, const HepSymMatrix &q)
 

Macro Definition Documentation

◆ CHK_DIM_1

#define CHK_DIM_1 (   c1,
  r2,
  fun 
)
Value:
if (c1!=r2) { \
HepGenMatrix::error("Range error in SymMatrix function " #fun "(2)."); \
}

Definition at line 49 of file SymMatrix.cc.

◆ CHK_DIM_2

#define CHK_DIM_2 (   r1,
  r2,
  c1,
  c2,
  fun 
)
Value:
if (r1!=r2 || c1!=c2) { \
HepGenMatrix::error("Range error in SymMatrix function " #fun "(1)."); \
}

Definition at line 44 of file SymMatrix.cc.

◆ SIMPLE_BOP

#define SIMPLE_BOP (   OPER)
Value:
HepMatrix::mIter a=m.begin(); \
HepMatrix::mcIter b=hm2.m.begin(); \
HepMatrix::mcIter e=m.begin()+num_size(); \
for(;a<e; a++, b++) (*a) OPER (*b);

Definition at line 31 of file SymMatrix.cc.

◆ SIMPLE_TOP

#define SIMPLE_TOP (   OPER)
Value:
HepMatrix::mcIter a=hm1.m.begin(); \
HepMatrix::mcIter b=hm2.m.begin(); \
HepMatrix::mIter t=mret.m.begin(); \
HepMatrix::mcIter e=hm1.m.begin()+hm1.num_size(); \
for( ;a<e; a++, b++, t++) (*t) = (*a) OPER (*b);

Definition at line 37 of file SymMatrix.cc.

◆ SIMPLE_UOP

#define SIMPLE_UOP (   OPER)
Value:
HepMatrix::mIter a=m.begin(); \
HepMatrix::mIter e=m.begin()+num_size(); \
for(;a<e; a++) (*a) OPER t;

Definition at line 26 of file SymMatrix.cc.