CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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#include "CLHEP/Matrix/defs.h"
8#include "CLHEP/Matrix/Matrix.h"
9#include "CLHEP/Vector/Rotation.h"
10
11#include <iostream>
12
13namespace CLHEP {
14
16 if(9!=size_) {
17 //delete &m;
18 size_ = 9;
19 m.resize(size_);
20 }
21 nrow = ncol = 3;
22 mIter hmm1;
23 hmm1 = m.begin();
24 *hmm1++ = hm1.xx();
25 *hmm1++ = hm1.xy();
26 *hmm1++ = hm1.xz();
27 *hmm1++ = hm1.yx();
28 *hmm1++ = hm1.yy();
29 *hmm1++ = hm1.yz();
30 *hmm1++ = hm1.zx();
31 *hmm1++ = hm1.zy();
32 *hmm1 = hm1.zz();
33 return (*this);
34}
35
36} // namespace CLHEP
std::vector< double, Alloc< double, 25 > >::iterator mIter
Definition: GenMatrix.h:73
HepMatrix & operator=(const HepMatrix &)
Definition: Matrix.cc:415
double zz() const
double yz() const
double zx() const
double yx() const
double zy() const
double xx() const
double yy() const
double xz() const
double xy() const