#include "EvtComplex.hh"
#include <iostream>
Go to the source code of this file.
|
| EvtTensor3C | rotateEuler (const EvtTensor3C &v, double phi, double theta, double ksi) |
| EvtTensor3C | operator* (const EvtComplex &c, const EvtTensor3C &t2) |
| EvtTensor3C | operator* (const double d, const EvtTensor3C &t2) |
| EvtTensor3C | operator* (const EvtTensor3C &t2, const EvtComplex &c) |
| EvtTensor3C | operator* (const EvtTensor3C &t2, const double d) |
| EvtTensor3C | operator+ (const EvtTensor3C &t1, const EvtTensor3C &t2) |
| EvtTensor3C | operator- (const EvtTensor3C &t1, const EvtTensor3C &t2) |
| EvtTensor3C | directProd (const EvtVector3C &c1, const EvtVector3C &c2) |
| EvtTensor3C | directProd (const EvtVector3C &c1, const EvtVector3R &c2) |
| EvtTensor3C | directProd (const EvtVector3R &c1, const EvtVector3R &c2) |
| EvtTensor3C | conj (const EvtTensor3C &t2) |
| EvtTensor3C | cont22 (const EvtTensor3C &t1, const EvtTensor3C &t2) |
| EvtTensor3C | cont11 (const EvtTensor3C &t1, const EvtTensor3C &t2) |
| EvtTensor3C | eps (const EvtVector3R &v) |
| std::ostream & | operator<< (std::ostream &c, const EvtTensor3C &v) |
◆ conj()
Definition at line 64 of file EvtTensor3C.cc.
174 {
176
177 int i, j;
178
179 for ( i = 0; i < 3; i++ )
180 {
181 for ( j = 0; j < 3; j++ ) { temp.
set( i, j,
::conj( ( t2.
get( i, j ) ) ) ); }
182 }
183
184 return temp;
185}
Evt3Rank3C conj(const Evt3Rank3C &t2)
const EvtComplex & get(int i, int j) const
void set(int i, int j, const EvtComplex &c)
◆ cont11()
Definition at line 68 of file EvtTensor3C.cc.
206 {
208
209 int i, j;
211
212 for ( i = 0; i < 3; i++ )
213 {
214 for ( j = 0; j < 3; j++ )
215 {
216 c = t1.
get( 0, i ) * t2.
get( 0, j ) + t1.
get( 1, i ) * t2.
get( 1, j ) +
217 t1.
get( 2, i ) * t2.
get( 2, j );
219 }
220 }
221
222 return temp;
223}
◆ cont22()
Definition at line 66 of file EvtTensor3C.cc.
187 {
189
190 int i, j;
192
193 for ( i = 0; i < 3; i++ )
194 {
195 for ( j = 0; j < 3; j++ )
196 {
197 c = t1.
get( i, 0 ) * t2.
get( j, 0 ) + t1.
get( i, 1 ) * t2.
get( j, 1 ) +
198 t1.
get( i, 2 ) * t2.
get( j, 2 );
200 }
201 }
202
203 return temp;
204}
◆ directProd() [1/3]
Definition at line 61 of file EvtTensor3C.cc.
141 {
143 int i, j;
144
145 for ( i = 0; i < 3; i++ )
146 {
147 for ( j = 0; j < 3; j++ ) { temp.
set( i, j, c1.
get( i ) * c2.
get( j ) ); }
148 }
149 return temp;
150}
const EvtComplex & get(int) const
◆ directProd() [2/3]
Definition at line 62 of file EvtTensor3C.cc.
152 {
154 int i, j;
155
156 for ( i = 0; i < 3; i++ )
157 {
158 for ( j = 0; j < 3; j++ ) { temp.
set( i, j, c1.
get( i ) * c2.
get( j ) ); }
159 }
160 return temp;
161}
◆ directProd() [3/3]
Definition at line 63 of file EvtTensor3C.cc.
163 {
165 int i, j;
166
167 for ( i = 0; i < 3; i++ )
168 {
169 for ( j = 0; j < 3; j++ ) { temp.t[i][j] =
EvtComplex( c1.
get( i ) * c2.
get( j ), 0.0 ); }
170 }
171 return temp;
172}
◆ eps()
◆ operator*() [1/4]
◆ operator*() [2/4]
◆ operator*() [3/4]
◆ operator*() [4/4]
◆ operator+()
◆ operator-()
◆ operator<<()
| std::ostream & operator<< |
( |
std::ostream & | c, |
|
|
const EvtTensor3C & | v ) |
◆ rotateEuler()
Definition at line 54 of file EvtTensor3C.cc.
305 {
306
308 tmp.applyRotateEuler(
alpha, beta, gamma );
309 return tmp;
310}