BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtVector3C.hh File Reference
#include "EvtComplex.hh"
#include "EvtVector3R.hh"
#include <iosfwd>

Go to the source code of this file.

Classes

class  EvtVector3C

Functions

EvtVector3C operator+ (const EvtVector3C &v1, const EvtVector3C &v2)
EvtVector3C operator- (const EvtVector3C &v1, const EvtVector3C &v2)
EvtVector3C operator* (const EvtVector3C &v1, const EvtComplex &c)
EvtVector3C operator* (const EvtComplex &c, const EvtVector3C &v2)
EvtVector3C operator* (const EvtComplex &c, const EvtVector3R &v2)
EvtComplex operator* (const EvtVector3R &v1, const EvtVector3C &v2)
EvtComplex operator* (const EvtVector3C &v1, const EvtVector3R &v2)
EvtComplex operator* (const EvtVector3C &v1, const EvtVector3C &v2)

Function Documentation

◆ operator*() [1/6]

EvtVector3C operator* ( const EvtComplex & c,
const EvtVector3C & v2 )
inline

Definition at line 137 of file EvtVector3C.hh.

137 {
138
139 return EvtVector3C( v2 ) *= c;
140}

◆ operator*() [2/6]

EvtVector3C operator* ( const EvtComplex & c,
const EvtVector3R & v2 )
inline

Definition at line 142 of file EvtVector3C.hh.

142 {
143
144 return EvtVector3C( v2 ) *= c;
145}

◆ operator*() [3/6]

EvtVector3C operator* ( const EvtVector3C & v1,
const EvtComplex & c )
inline

Definition at line 132 of file EvtVector3C.hh.

132 {
133
134 return EvtVector3C( v1 ) *= c;
135}

◆ operator*() [4/6]

EvtComplex operator* ( const EvtVector3C & v1,
const EvtVector3C & v2 )
inline

Definition at line 157 of file EvtVector3C.hh.

157 {
158
159 return v1.v[0] * v2.v[0] + v1.v[1] * v2.v[1] + v1.v[2] * v2.v[2];
160}

◆ operator*() [5/6]

EvtComplex operator* ( const EvtVector3C & v1,
const EvtVector3R & v2 )
inline

Definition at line 152 of file EvtVector3C.hh.

152 {
153
154 return v1.v[0] * v2.get( 0 ) + v1.v[1] * v2.get( 1 ) + v1.v[2] * v2.get( 2 );
155}
double get(int i) const

◆ operator*() [6/6]

EvtComplex operator* ( const EvtVector3R & v1,
const EvtVector3C & v2 )
inline

Definition at line 147 of file EvtVector3C.hh.

147 {
148
149 return v1.get( 0 ) * v2.v[0] + v1.get( 1 ) * v2.v[1] + v1.get( 2 ) * v2.v[2];
150}

◆ operator+()

EvtVector3C operator+ ( const EvtVector3C & v1,
const EvtVector3C & v2 )
inline

Definition at line 122 of file EvtVector3C.hh.

122 {
123
124 return EvtVector3C( v1 ) += v2;
125}

◆ operator-()

EvtVector3C operator- ( const EvtVector3C & v1,
const EvtVector3C & v2 )
inline

Definition at line 127 of file EvtVector3C.hh.

127 {
128
129 return EvtVector3C( v1 ) -= v2;
130}