Grid 0.7.0
Tensor_exp.h File Reference

Go to the source code of this file.

Macros

#define DEFAULT_MAT_EXP

Functions

 NAMESPACE_BEGIN (Grid)
template<class vtype>
accelerator_inline iScalar< vtype > Exponentiate (const iScalar< vtype > &r, RealD alpha, Integer Nexp=DEFAULT_MAT_EXP)
template<class vtype, int N>
accelerator_inline iVector< vtype, N > Exponentiate (const iVector< vtype, N > &r, RealD alpha, Integer Nexp=DEFAULT_MAT_EXP)
template<class vtype, int N, typename std::enable_if< GridTypeMapper< vtype >::TensorLevel==0 >::type * = nullptr>
accelerator_inline iMatrix< vtype, N > Exponentiate (const iMatrix< vtype, N > &arg, RealD alpha, Integer Nexp=DEFAULT_MAT_EXP)
 NAMESPACE_END (Grid)

Macro Definition Documentation

◆ DEFAULT_MAT_EXP

#define DEFAULT_MAT_EXP

Definition at line 31 of file Tensor_exp.h.

Referenced by expMat(), Exponentiate(), Exponentiate(), and Exponentiate().

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ Exponentiate() [1/3]

template<class vtype>
accelerator_inline iScalar< vtype > Exponentiate ( const iScalar< vtype > & r,
RealD alpha,
Integer Nexp = DEFAULT_MAT_EXP )

◆ Exponentiate() [2/3]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > Exponentiate ( const iVector< vtype, N > & r,
RealD alpha,
Integer Nexp = DEFAULT_MAT_EXP )

◆ Exponentiate() [3/3]

template<class vtype, int N, typename std::enable_if< GridTypeMapper< vtype >::TensorLevel==0 >::type * = nullptr>
accelerator_inline iMatrix< vtype, N > Exponentiate ( const iMatrix< vtype, N > & arg,
RealD alpha,
Integer Nexp = DEFAULT_MAT_EXP )

Definition at line 122 of file Tensor_exp.h.

References accelerator_inline, and DEFAULT_MAT_EXP.

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )