Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Macros
native_special_math.hpp File Reference
#include "native_beta_math.hpp"
#include "native_math.hpp"
#include "native_zeta_math.hpp"
Include dependency graph for native_special_math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 

Macros

#define UNI20_NATIVE_BESSEL_PROVIDER(TYPE, J, Y)
 
#define UNI20_NATIVE_LGAMMA_PROVIDER(TYPE, FUNCTION)
 

Macro Definition Documentation

◆ UNI20_NATIVE_BESSEL_PROVIDER

#define UNI20_NATIVE_BESSEL_PROVIDER (   TYPE,
  J,
  Y 
)
Value:
template <> struct bessel_provider<TYPE> \
{ \
static TYPE first(int n, TYPE x) { return J(n, x); } \
static TYPE second(int n, TYPE x) { return Y(n, x); } \
};

◆ UNI20_NATIVE_LGAMMA_PROVIDER

#define UNI20_NATIVE_LGAMMA_PROVIDER (   TYPE,
  FUNCTION 
)
Value:
template <> struct lgamma_provider<TYPE> \
{ \
static TYPE call(TYPE x, int* sign) { return FUNCTION(x, sign); } \
};