Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
vectorize_sqrt.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_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;
10void 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;
13void 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;
16void 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;
19void vhypot(const sys_float x1[], const sys_float x2[], sys_float y[], long nlo, long nhi);
20
21void vsqrt(double *y, double x0, double x1, double x2, double x3);
22void vhypot(double *y, double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3);
23void 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);
34 sys_float x13, sys_float x14, sys_float x15);
35
36#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 vhypot(const double x1[], const double x2[], double y[], long nlo, long nhi)
Definition vectorize_sqrt.cpp:169
void vsqrt(const double x[], double y[], long nlo, long nhi)
Definition vectorize_sqrt.cpp:162