Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vectorize_exp.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef VECTORIZE_EXP_H
5 #define VECTORIZE_EXP_H
6 
7 // NB NB -- do not include this file directly, include vectorize.h
8 
9 // calculate y[i] = exp(x[i]), for i=nlo; i < nhi;
10 void vexp(const double x[], double y[], long nlo, long nhi);
11 
12 // calculate y[i] = exp10(x[i]), for i=nlo; i < nhi;
13 void vexp10(const double x[], double y[], long nlo, long nhi);
14 
15 // calculate y[i] = expm1(x[i]), for i=nlo; i < nhi;
16 void vexpm1(const double x[], double y[], long nlo, long nhi);
17 
18 // calculate y[i] = expf(x[i]), for i=nlo; i < nhi;
19 void vexp(const sys_float x[], sys_float y[], long nlo, long nhi);
20 
21 // calculate y[i] = exp10f(x[i]), for i=nlo; i < nhi;
22 void vexp10(const sys_float x[], sys_float y[], long nlo, long nhi);
23 
24 // calculate y[i] = expm1f(x[i]), for i=nlo; i < nhi;
25 void vexpm1(const sys_float x[], sys_float y[], long nlo, long nhi);
26 
27 void vexp(double *y, double x0, double x1, double x2, double x3);
28 void vexp10(double *y, double x0, double x1, double x2, double x3);
29 void vexpm1(double *y, double x0, double x1, double x2, double x3);
30 void vexp(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
31 void vexp10(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
32 void vexpm1(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
37  sys_float x6, sys_float x7);
39  sys_float x6, sys_float x7);
41  sys_float x6, sys_float x7);
43  sys_float x6, sys_float x7, sys_float x8, sys_float x9, sys_float x10, sys_float x11, sys_float x12,
44  sys_float x13, sys_float x14, sys_float x15);
46  sys_float x6, sys_float x7, sys_float x8, sys_float x9, sys_float x10, sys_float x11, sys_float x12,
47  sys_float x13, sys_float x14, sys_float x15);
49  sys_float x6, sys_float x7, sys_float x8, sys_float x9, sys_float x10, sys_float x11, sys_float x12,
50  sys_float x13, sys_float x14, sys_float x15);
51 
52 #endif
static double x2[63]
Definition: atmdat_3body.cpp:18
static double x1[83]
Definition: atmdat_3body.cpp:27
static double x0[83]
Definition: atmdat_3body.cpp:22
float sys_float
Definition: cddefines.h:130
void vexpm1(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_exp.cpp:297
void vexp10(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_exp.cpp:290
void vexp(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_exp.cpp:283