Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
vectorize_exp.h
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2025 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;
10void vexp(const double x[], double y[], long nlo, long nhi);
11
12// calculate y[i] = exp10(x[i]), for i=nlo; i < nhi;
13void vexp10(const double x[], double y[], long nlo, long nhi);
14
15// calculate y[i] = expm1(x[i]), for i=nlo; i < nhi;
16void vexpm1(const double x[], double y[], long nlo, long nhi);
17
18// calculate y[i] = expf(x[i]), for i=nlo; i < nhi;
19void 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;
22void 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;
25void vexpm1(const sys_float x[], sys_float y[], long nlo, long nhi);
26
27void vexp(double *y, double x0, double x1, double x2, double x3);
28void vexp10(double *y, double x0, double x1, double x2, double x3);
29void vexpm1(double *y, double x0, double x1, double x2, double x3);
30void vexp(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
31void vexp10(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
32void 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);
44 sys_float x13, sys_float x14, sys_float x15);
47 sys_float x13, sys_float x14, sys_float x15);
50 sys_float x13, sys_float x14, sys_float x15);
51
52#endif
static double x2[63]
Definition atmdat_3body.cpp:20
static double x0[83]
Definition atmdat_3body.cpp:23
static double x1[83]
Definition atmdat_3body.cpp:28
float sys_float
Definition cddefines.h:130
void vexp(const double x[], double y[], long nlo, long nhi)
Definition vectorize_exp.cpp:283
void vexp10(const double x[], double y[], long nlo, long nhi)
Definition vectorize_exp.cpp:290
void vexpm1(const double x[], double y[], long nlo, long nhi)
Definition vectorize_exp.cpp:297