CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
Matrix
src
MatrixEqRotation.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
// ---------------------------------------------------------------------------
3
//
4
// This file is a part of the CLHEP - a Class Library for High Energy Physics.
5
//
6
7
#ifdef GNUPRAGMA
8
#pragma implementation
9
#endif
10
11
#include "CLHEP/Matrix/defs.h"
12
#include "CLHEP/Matrix/Matrix.h"
13
#include "CLHEP/Vector/Rotation.h"
14
15
namespace
CLHEP
{
16
17
HepMatrix
&
HepMatrix::operator=
(
const
HepRotation
&hm1) {
18
if
(9!=size_) {
19
//delete &m;
20
size_ = 9;
21
m.resize(size_);
22
}
23
nrow = ncol = 3;
24
mIter
hmm1;
25
hmm1 = m.begin();
26
*hmm1++ = hm1.
xx
();
27
*hmm1++ = hm1.
xy
();
28
*hmm1++ = hm1.
xz
();
29
*hmm1++ = hm1.
yx
();
30
*hmm1++ = hm1.
yy
();
31
*hmm1++ = hm1.
yz
();
32
*hmm1++ = hm1.
zx
();
33
*hmm1++ = hm1.
zy
();
34
*hmm1 = hm1.
zz
();
35
return
(*
this
);
36
}
37
38
}
// namespace CLHEP
CLHEP::HepMatrix::operator=
HepMatrix & operator=(const HepMatrix &)
Definition:
Matrix.cc:417
CLHEP::HepRotation::yx
double yx() const
CLHEP::HepRotation::zz
double zz() const
CLHEP::HepMatrix
Definition:
Matrix/CLHEP/Matrix/Matrix.h:209
CLHEP::HepRotation
Definition:
Geometry/CLHEP/Vector/Rotation.h:48
CLHEP::HepRotation::yz
double yz() const
CLHEP::HepRotation::xz
double xz() const
CLHEP
Definition:
ClhepVersion.h:13
CLHEP::HepRotation::zx
double zx() const
CLHEP::HepRotation::xx
double xx() const
CLHEP::HepGenMatrix::mIter
std::vector< double, Alloc< double, 25 > >::iterator mIter
Definition:
Matrix/CLHEP/Matrix/GenMatrix.h:77
CLHEP::HepRotation::zy
double zy() const
CLHEP::HepRotation::yy
double yy() const
CLHEP::HepRotation::xy
double xy() const
Generated by
1.8.9.1