Grid 0.7.0
Tensor_reality.h File Reference

Go to the source code of this file.

Functions

 NAMESPACE_BEGIN (Grid)
template<class vtype>
accelerator_inline iScalar< vtype > timesI (const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline iVector< vtype, N > timesI (const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > timesI (const iMatrix< vtype, N > &r)
template<class vtype>
accelerator_inline void timesI (iScalar< vtype > &ret, const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline void timesI (iVector< vtype, N > &ret, const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline void timesI (iMatrix< vtype, N > &ret, const iMatrix< vtype, N > &r)
template<class vtype>
accelerator_inline iScalar< vtype > timesMinusI (const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline iVector< vtype, N > timesMinusI (const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > timesMinusI (const iMatrix< vtype, N > &r)
template<class vtype>
accelerator_inline void timesMinusI (iScalar< vtype > &ret, const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline void timesMinusI (iVector< vtype, N > &ret, const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline void timesMinusI (iMatrix< vtype, N > &ret, const iMatrix< vtype, N > &r)
template<class vtype>
accelerator_inline iScalar< vtype > conjugate (const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline iVector< vtype, N > conjugate (const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > conjugate (const iMatrix< vtype, N > &r)
template<class vtype>
accelerator_inline iScalar< vtype > adj (const iScalar< vtype > &r)
template<class vtype, int N>
accelerator_inline iVector< vtype, N > adj (const iVector< vtype, N > &r)
template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > adj (const iMatrix< vtype, N > &arg)
template<class itype>
accelerator_inline auto real (const iScalar< itype > &z) -> iScalar< decltype(real(z._internal))>
template<class itype, int N>
accelerator_inline auto real (const iMatrix< itype, N > &z) -> iMatrix< decltype(real(z._internal[0][0])), N >
template<class itype, int N>
accelerator_inline auto real (const iVector< itype, N > &z) -> iVector< decltype(real(z._internal[0])), N >
template<class itype>
accelerator_inline auto imag (const iScalar< itype > &z) -> iScalar< decltype(imag(z._internal))>
template<class itype, int N>
accelerator_inline auto imag (const iMatrix< itype, N > &z) -> iMatrix< decltype(imag(z._internal[0][0])), N >
template<class itype, int N>
accelerator_inline auto imag (const iVector< itype, N > &z) -> iVector< decltype(imag(z._internal[0])), N >
 NAMESPACE_END (Grid)

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ timesI() [1/6]

template<class vtype>
accelerator_inline iScalar< vtype > timesI ( const iScalar< vtype > & r)

Definition at line 37 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and timesI().

Referenced by timesI(), timesI(), timesI(), timesI(), timesI(), and timesI().

◆ timesI() [2/6]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > timesI ( const iVector< vtype, N > & r)

Definition at line 43 of file Tensor_reality.h.

References iVector< vtype, N >::_internal, accelerator_inline, and timesI().

◆ timesI() [3/6]

template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > timesI ( const iMatrix< vtype, N > & r)

Definition at line 51 of file Tensor_reality.h.

References iMatrix< vtype, N >::_internal, accelerator_inline, and timesI().

◆ timesI() [4/6]

template<class vtype>
accelerator_inline void timesI ( iScalar< vtype > & ret,
const iScalar< vtype > & r )

Definition at line 61 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and timesI().

◆ timesI() [5/6]

template<class vtype, int N>
accelerator_inline void timesI ( iVector< vtype, N > & ret,
const iVector< vtype, N > & r )

Definition at line 65 of file Tensor_reality.h.

References iVector< vtype, N >::_internal, accelerator_inline, and timesI().

◆ timesI() [6/6]

template<class vtype, int N>
accelerator_inline void timesI ( iMatrix< vtype, N > & ret,
const iMatrix< vtype, N > & r )

Definition at line 71 of file Tensor_reality.h.

References iMatrix< vtype, N >::_internal, accelerator_inline, and timesI().

◆ timesMinusI() [1/6]

template<class vtype>
accelerator_inline iScalar< vtype > timesMinusI ( const iScalar< vtype > & r)

◆ timesMinusI() [2/6]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > timesMinusI ( const iVector< vtype, N > & r)

◆ timesMinusI() [3/6]

template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > timesMinusI ( const iMatrix< vtype, N > & r)

◆ timesMinusI() [4/6]

template<class vtype>
accelerator_inline void timesMinusI ( iScalar< vtype > & ret,
const iScalar< vtype > & r )

Definition at line 104 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and timesMinusI().

◆ timesMinusI() [5/6]

template<class vtype, int N>
accelerator_inline void timesMinusI ( iVector< vtype, N > & ret,
const iVector< vtype, N > & r )

◆ timesMinusI() [6/6]

template<class vtype, int N>
accelerator_inline void timesMinusI ( iMatrix< vtype, N > & ret,
const iMatrix< vtype, N > & r )

◆ conjugate() [1/3]

template<class vtype>
accelerator_inline iScalar< vtype > conjugate ( const iScalar< vtype > & r)

Definition at line 126 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and conjugate().

Referenced by conjugate(), conjugate(), and conjugate().

◆ conjugate() [2/3]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > conjugate ( const iVector< vtype, N > & r)

Definition at line 132 of file Tensor_reality.h.

References iVector< vtype, N >::_internal, accelerator_inline, and conjugate().

◆ conjugate() [3/3]

template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > conjugate ( const iMatrix< vtype, N > & r)

Definition at line 140 of file Tensor_reality.h.

References iMatrix< vtype, N >::_internal, accelerator_inline, and conjugate().

◆ adj() [1/3]

template<class vtype>
accelerator_inline iScalar< vtype > adj ( const iScalar< vtype > & r)

Definition at line 153 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and adj().

Referenced by adj(), adj(), and adj().

◆ adj() [2/3]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > adj ( const iVector< vtype, N > & r)

Definition at line 159 of file Tensor_reality.h.

References iVector< vtype, N >::_internal, accelerator_inline, and adj().

◆ adj() [3/3]

template<class vtype, int N>
accelerator_inline iMatrix< vtype, N > adj ( const iMatrix< vtype, N > & arg)

Definition at line 167 of file Tensor_reality.h.

References iMatrix< vtype, N >::_internal, accelerator_inline, and adj().

◆ real() [1/3]

template<class itype>
accelerator_inline auto real ( const iScalar< itype > & z) -> iScalar< decltype(real(z._internal))>

Definition at line 186 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and real().

Referenced by real(), real(), and real().

◆ real() [2/3]

template<class itype, int N>
accelerator_inline auto real ( const iMatrix< itype, N > & z) -> iMatrix< decltype(real(z._internal[0][0])), N >

Definition at line 192 of file Tensor_reality.h.

References accelerator_inline, and real().

◆ real() [3/3]

template<class itype, int N>
accelerator_inline auto real ( const iVector< itype, N > & z) -> iVector< decltype(real(z._internal[0])), N >

Definition at line 201 of file Tensor_reality.h.

References accelerator_inline, and real().

◆ imag() [1/3]

template<class itype>
accelerator_inline auto imag ( const iScalar< itype > & z) -> iScalar< decltype(imag(z._internal))>

Definition at line 210 of file Tensor_reality.h.

References iScalar< vtype >::_internal, accelerator_inline, and imag().

Referenced by imag(), imag(), and imag().

◆ imag() [2/3]

template<class itype, int N>
accelerator_inline auto imag ( const iMatrix< itype, N > & z) -> iMatrix< decltype(imag(z._internal[0][0])), N >

Definition at line 216 of file Tensor_reality.h.

References accelerator_inline, and imag().

◆ imag() [3/3]

template<class itype, int N>
accelerator_inline auto imag ( const iVector< itype, N > & z) -> iVector< decltype(imag(z._internal[0])), N >

Definition at line 225 of file Tensor_reality.h.

References accelerator_inline, and imag().

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )