cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vectorize_sqrt.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef VECTORIZE_SQRT_H
5 #define VECTORIZE_SQRT_H
6 
7 // NB NB -- do not include this file directly, include vectorize.h
8 
9 // calculate y[i] = sqrt(x[i]), for i=nlo; i < nhi;
10 void vsqrt(const double x[], double y[], long nlo, long nhi);
11 
12 // calculate y[i] = hypot(x1[i], x2[i]), for i=nlo; i < nhi;
13 void vhypot(const double x1[], const double x2[], double y[], long nlo, long nhi);
14 
15 // calculate y[i] = sqrtf(x[i]), for i=nlo; i < nhi;
16 void vsqrt(const sys_float x[], sys_float y[], long nlo, long nhi);
17 
18 // calculate y[i] = hypotf(x1[i], x2[i]), for i=nlo; i < nhi;
19 void vhypot(const sys_float x1[], const sys_float x2[], sys_float y[], long nlo, long nhi);
20 
21 void vsqrt(double *y, double x0, double x1, double x2, double x3);
22 void vhypot(double *y, double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3);
23 void vsqrt(double *y, double x0, double x1, double x2, double x3, double x4, double x5, double x6, double x7);
26  sys_float x3, sys_float y3);
28  sys_float x6, sys_float x7);
31  sys_float y6, sys_float x7, sys_float y7);
33  sys_float x6, sys_float x7, sys_float x8, sys_float x9, sys_float x10, sys_float x11, sys_float x12,
34  sys_float x13, sys_float x14, sys_float x15);
35 
36 #endif
static double x2[63]
static double x1[83]
void vhypot(const double x1[], const double x2[], double y[], long nlo, long nhi)
static double x0[83]
float sys_float
Definition: cddefines.h:127
void vsqrt(const double x[], double y[], long nlo, long nhi)