Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/Evt3Rank3C.hh
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | public: | ||||
EvtTensor3C cont1( const EvtVector3C& v ) const; | EvtTensor3C cont1( const EvtVector3C& v ) const; | ||||
EvtTensor3C cont2( const EvtVector3C& v ) const; | EvtTensor3C cont2( const EvtVector3C& v ) const; | ||||
EvtTensor3C cont3( const EvtVector3C& v ) const; | EvtTensor3C cont3( const EvtVector3C& v ) const; | ||||
EvtTensor3C cont1( const EvtVector3R& v ) const; | EvtTensor3C cont1( const EvtVector3R& v ) const; | ||||
EvtTensor3C cont2( const EvtVector3R& v ) const; | EvtTensor3C cont2( const EvtVector3R& v ) const; | ||||
EvtTensor3C cont3( const EvtVector3R& v ) const; | EvtTensor3C cont3( const EvtVector3R& v ) const; | ||||
private: | private: | ||||
EvtComplex t[3][3][3]; | EvtComplex m_t[3][3][3]; | ||||
}; | }; | ||||
inline Evt3Rank3C operator*( const EvtComplex& c, const Evt3Rank3C& t2 ) | inline Evt3Rank3C operator*( const EvtComplex& c, const Evt3Rank3C& t2 ) | ||||
{ | { | ||||
return Evt3Rank3C( t2 ) *= c; | return Evt3Rank3C( t2 ) *= c; | ||||
} | } | ||||
inline Evt3Rank3C operator*( const double d, const Evt3Rank3C& t2 ) | inline Evt3Rank3C operator*( const double d, const Evt3Rank3C& t2 ) | ||||
Show All 18 Lines | |||||
inline Evt3Rank3C operator-( const Evt3Rank3C& t1, const Evt3Rank3C& t2 ) | inline Evt3Rank3C operator-( const Evt3Rank3C& t1, const Evt3Rank3C& t2 ) | ||||
{ | { | ||||
return Evt3Rank3C( t1 ) -= t2; | return Evt3Rank3C( t1 ) -= t2; | ||||
} | } | ||||
inline void Evt3Rank3C::set( int i, int j, int k, const EvtComplex& c ) | inline void Evt3Rank3C::set( int i, int j, int k, const EvtComplex& c ) | ||||
{ | { | ||||
t[i][j][k] = c; | m_t[i][j][k] = c; | ||||
} | } | ||||
inline const EvtComplex& Evt3Rank3C::get( int i, int j, int k ) const | inline const EvtComplex& Evt3Rank3C::get( int i, int j, int k ) const | ||||
{ | { | ||||
return t[i][j][k]; | return m_t[i][j][k]; | ||||
} | } | ||||
#endif | #endif |