Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Namespaces | Typedefs | Functions
looptools_extension.h File Reference

File containing a little looptools extension in order to call functions of this librairy more easily from std::vector of data directly, with double, complex numbers of csl expressions. More...

#include <csl.h>
#include <complex>

Go to the source code of this file.

Namespaces

 mty
 Namespace of MARTY.
 

Typedefs

using mty::ComplexType = std::complex< double >
 
using mty::RealType = double
 

Functions

csl::Expr mty::complexToExpr (ComplexType const &complexNumber)
 
ComplexType mty::exprToComplexType (csl::Expr const &init)
 
double mty::exprToRealType (csl::Expr const &init)
 
std::vector< ComplexType > mty::exprToComplexType (std::vector< csl::Expr > const &init)
 
std::vector< double > mty::exprToRealType (std::vector< csl::Expr > const &init)
 
std::optional< std::vector< RealType > > mty::isReal (std::vector< ComplexType > const &init)
 
ComplexType mty::A0i_runtime (int id, std::vector< RealType > const &arguments)
 
ComplexType mty::B0i_runtime (int id, std::vector< RealType > const &arguments)
 
ComplexType mty::C0i_runtime (int id, std::vector< RealType > const &arguments)
 
ComplexType mty::D0i_runtime (int id, std::vector< RealType > const &arguments)
 
ComplexType mty::E0i_runtime (int id, std::vector< RealType > const &arguments)
 
ComplexType mty::A0i_runtime (int id, std::vector< ComplexType > const &arguments)
 
ComplexType mty::B0i_runtime (int id, std::vector< ComplexType > const &arguments)
 
ComplexType mty::C0i_runtime (int id, std::vector< ComplexType > const &arguments)
 
ComplexType mty::D0i_runtime (int id, std::vector< ComplexType > const &arguments)
 
ComplexType mty::E0i_runtime (int id, std::vector< ComplexType > const &arguments)
 
ComplexType mty::A0i_runtime (int id, std::vector< csl::Expr > const &arguments)
 
ComplexType mty::B0i_runtime (int id, std::vector< csl::Expr > const &arguments)
 
ComplexType mty::C0i_runtime (int id, std::vector< csl::Expr > const &arguments)
 
ComplexType mty::D0i_runtime (int id, std::vector< csl::Expr > const &arguments)
 
ComplexType mty::E0i_runtime (int id, std::vector< csl::Expr > const &arguments)
 

Detailed Description

File containing a little looptools extension in order to call functions of this librairy more easily from std::vector of data directly, with double, complex numbers of csl expressions.

Author
Gregoire Uhlrich
Version
1.3