cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
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);
24
void
vsqrt
(
sys_float
*y,
sys_float
x0
,
sys_float
x1
,
sys_float
x2
,
sys_float
x3);
25
void
vhypot
(
sys_float
*y,
sys_float
x0
,
sys_float
y0,
sys_float
x1
,
sys_float
y1,
sys_float
x2
,
sys_float
y2,
26
sys_float
x3,
sys_float
y3);
27
void
vsqrt
(
sys_float
*y,
sys_float
x0
,
sys_float
x1
,
sys_float
x2
,
sys_float
x3,
sys_float
x4,
sys_float
x5,
28
sys_float
x6,
sys_float
x7);
29
void
vhypot
(
sys_float
*y,
sys_float
x0
,
sys_float
y0,
sys_float
x1
,
sys_float
y1,
sys_float
x2
,
sys_float
y2,
30
sys_float
x3,
sys_float
y3,
sys_float
x4,
sys_float
y4,
sys_float
x5,
sys_float
y5,
sys_float
x6,
31
sys_float
y6,
sys_float
x7,
sys_float
y7);
32
void
vsqrt
(
sys_float
*y,
sys_float
x0
,
sys_float
x1
,
sys_float
x2
,
sys_float
x3,
sys_float
x4,
sys_float
x5,
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
x2
static double x2[63]
Definition:
atmdat_3body.cpp:18
x1
static double x1[83]
Definition:
atmdat_3body.cpp:27
vhypot
void vhypot(const double x1[], const double x2[], double y[], long nlo, long nhi)
Definition:
vectorize_sqrt.cpp:169
x0
static double x0[83]
Definition:
atmdat_3body.cpp:22
sys_float
float sys_float
Definition:
cddefines.h:127
vsqrt
void vsqrt(const double x[], double y[], long nlo, long nhi)
Definition:
vectorize_sqrt.cpp:162
Generated by
1.8.5