Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vectorize_log.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_LOG_H
5 #define VECTORIZE_LOG_H
6 
7 // NB NB -- do not include this file directly, include vectorize.h
8 
9 // calculate y[i] = log(x[i]), for i=nlo; i < nhi;
10 void vlog(const double x[], double y[], long nlo, long nhi);
11 
12 // calculate y[i] = log10(x[i]), for i=nlo; i < nhi;
13 void vlog10(const double x[], double y[], long nlo, long nhi);
14 
15 // calculate y[i] = log1p(x[i]), for i=nlo; i < nhi;
16 void vlog1p(const double x[], double y[], long nlo, long nhi);
17 
18 // calculate y[i] = logf(x[i]), for i=nlo; i < nhi;
19 void vlog(const sys_float x[], sys_float y[], long nlo, long nhi);
20 
21 // calculate y[i] = log10f(x[i]), for i=nlo; i < nhi;
22 void vlog10(const sys_float x[], sys_float y[], long nlo, long nhi);
23 
24 // calculate y[i] = log1pf(x[i]), for i=nlo; i < nhi;
25 void vlog1p(const sys_float x[], sys_float y[], long nlo, long nhi);
26 
27 void vlog(double *y, double x0, double x1, double x2, double x3);
28 void vlog10(double *y, double x0, double x1, double x2, double x3);
29 void vlog1p(double *y, double x0, double x1, double x2, double x3);
30 void vlog(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
31 void vlog10(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
32 void vlog1p(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
void vlog10(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_log.cpp:226
static double x1[83]
Definition: atmdat_3body.cpp:27
void vlog1p(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_log.cpp:233
static double x0[83]
Definition: atmdat_3body.cpp:22
float sys_float
Definition: cddefines.h:130
void vlog(const double x[], double y[], long nlo, long nhi)
Definition: vectorize_log.cpp:219