Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
scalar.cpp File Reference
#include "scalar.h"
Include dependency graph for scalar.cpp:

Go to the source code of this file.

Functions

scalar_t operator+ (double lhs, const scalar_t &rhs)
 
scalar_t operator+ (const scalar_t &lhs, double rhs)
 
scalar_t operator+ (scalar_t lhs, const scalar_t &rhs)
 
scalar_t operator- (scalar_t lhs, const scalar_t &rhs)
 
scalar_t operator- (double lhs, const scalar_t &rhs)
 
scalar_t operator- (const scalar_t &lhs, double rhs)
 
scalar_t operator* (scalar_t lhs, const scalar_t &rhs)
 
scalar_t operator* (double lhs, const scalar_t &rhs)
 
scalar_t operator* (const scalar_t &lhs, double rhs)
 
scalar_t operator/ (scalar_t lhs, const scalar_t &rhs)
 
scalar_t operator/ (double lhs, const scalar_t &rhs)
 
scalar_t operator/ (const scalar_t &lhs, double rhs)
 
scalar_t pow (const scalar_t &base, const scalar_t &exp)
 
scalar_t pow (const scalar_t &base, double exp)
 
double real (const scalar_t &z)
 
double imag (const scalar_t &z)
 

Function Documentation

◆ imag()

double imag ( const scalar_t z)

Definition at line 87 of file scalar.cpp.

◆ operator*() [1/3]

scalar_t operator* ( const scalar_t lhs,
double  rhs 
)

Definition at line 58 of file scalar.cpp.

◆ operator*() [2/3]

scalar_t operator* ( double  lhs,
const scalar_t rhs 
)

Definition at line 54 of file scalar.cpp.

◆ operator*() [3/3]

scalar_t operator* ( scalar_t  lhs,
const scalar_t rhs 
)

Definition at line 49 of file scalar.cpp.

◆ operator+() [1/3]

scalar_t operator+ ( const scalar_t lhs,
double  rhs 
)

Definition at line 27 of file scalar.cpp.

◆ operator+() [2/3]

scalar_t operator+ ( double  lhs,
const scalar_t rhs 
)

Definition at line 23 of file scalar.cpp.

◆ operator+() [3/3]

scalar_t operator+ ( scalar_t  lhs,
const scalar_t rhs 
)

Definition at line 31 of file scalar.cpp.

◆ operator-() [1/3]

scalar_t operator- ( const scalar_t lhs,
double  rhs 
)

Definition at line 45 of file scalar.cpp.

◆ operator-() [2/3]

scalar_t operator- ( double  lhs,
const scalar_t rhs 
)

Definition at line 41 of file scalar.cpp.

◆ operator-() [3/3]

scalar_t operator- ( scalar_t  lhs,
const scalar_t rhs 
)

Definition at line 36 of file scalar.cpp.

◆ operator/() [1/3]

scalar_t operator/ ( const scalar_t lhs,
double  rhs 
)

Definition at line 71 of file scalar.cpp.

◆ operator/() [2/3]

scalar_t operator/ ( double  lhs,
const scalar_t rhs 
)

Definition at line 67 of file scalar.cpp.

◆ operator/() [3/3]

scalar_t operator/ ( scalar_t  lhs,
const scalar_t rhs 
)

Definition at line 62 of file scalar.cpp.

◆ pow() [1/2]

scalar_t pow ( const scalar_t base,
const scalar_t exp 
)

Definition at line 75 of file scalar.cpp.

◆ pow() [2/2]

scalar_t pow ( const scalar_t base,
double  exp 
)

Definition at line 79 of file scalar.cpp.

◆ real()

double real ( const scalar_t z)

Definition at line 83 of file scalar.cpp.