Update tizen 2.0 beta source
[profile/ivi/liboil.git] / doc / html / liboil-liboilfuncs-math.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Simple Arithmetic</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7 <link rel="home" href="index.html" title="Liboil Reference Manual">
8 <link rel="up" href="ch01.html" title="Liboil Stable API">
9 <link rel="prev" href="liboil-liboilfuncs-copy.html" title="liboilfuncs-copy">
10 <link rel="next" href="liboil-liboilfuncs-math8x8.html" title="Simple Arithmetic on Blocks">
11 <meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 <link rel="chapter" href="ch01.html" title="Liboil Stable API">
14 <link rel="chapter" href="ch02.html" title="Liboil Unstable API">
15 </head>
16 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
18 <tr valign="middle">
19 <td><a accesskey="p" href="liboil-liboilfuncs-copy.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
20 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
21 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
22 <th width="100%" align="center">Liboil Reference Manual</th>
23 <td><a accesskey="n" href="liboil-liboilfuncs-math8x8.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24 </tr>
25 <tr><td colspan="5" class="shortcuts">
26 <a href="#liboil-liboilfuncs-math.synopsis" class="shortcut">Top</a>
27                  | 
28                 <a href="#liboil-liboilfuncs-math.description" class="shortcut">Description</a>
29 </td></tr>
30 </table>
31 <div class="refentry" title="Simple Arithmetic">
32 <a name="liboil-liboilfuncs-math"></a><div class="titlepage"></div>
33 <div class="refnamediv"><table width="100%"><tr>
34 <td valign="top">
35 <h2><span class="refentrytitle"><a name="liboil-liboilfuncs-math.top_of_page"></a>Simple Arithmetic</span></h2>
36 <p>Simple Arithmetic — Aritmetic operations</p>
37 </td>
38 <td valign="top" align="right"></td>
39 </tr></table></div>
40 <div class="refsynopsisdiv" title="Synopsis">
41 <a name="liboil-liboilfuncs-math.synopsis"></a><h2>Synopsis</h2>
42 <pre class="synopsis">
43 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-abs-f32-f32" title="oil_abs_f32_f32 ()">oil_abs_f32_f32</a>                     (float *dest,
44                                                          int dstr,
45                                                          const float *src,
46                                                          int sstr,
47                                                          int n);
48 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-abs-f64-f64" title="oil_abs_f64_f64 ()">oil_abs_f64_f64</a>                     (double *dest,
49                                                          int dstr,
50                                                          const double *src,
51                                                          int sstr,
52                                                          int n);
53 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-abs-u16-s16" title="oil_abs_u16_s16 ()">oil_abs_u16_s16</a>                     (<a
54 href="../cog/cog-cog-stdint.html#uint16-t"
55 >uint16_t</a> *dest,
56                                                          int dstr,
57                                                          const <a
58 href="../cog/cog-cog-stdint.html#int16-t"
59 >int16_t</a> *src,
60                                                          int sstr,
61                                                          int n);
62 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-abs-u32-s32" title="oil_abs_u32_s32 ()">oil_abs_u32_s32</a>                     (<a
63 href="../cog/cog-cog-stdint.html#uint32-t"
64 >uint32_t</a> *dest,
65                                                          int dstr,
66                                                          const <a
67 href="../cog/cog-cog-stdint.html#int32-t"
68 >int32_t</a> *src,
69                                                          int sstr,
70                                                          int n);
71 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-abs-u8-s8" title="oil_abs_u8_s8 ()">oil_abs_u8_s8</a>                       (<a
72 href="../cog/cog-cog-stdint.html#uint8-t"
73 >uint8_t</a> *dest,
74                                                          int dstr,
75                                                          const <a
76 href="../cog/cog-cog-stdint.html#int8-t"
77 >int8_t</a> *src,
78                                                          int sstr,
79                                                          int n);
80 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-average2-u8" title="oil_average2_u8 ()">oil_average2_u8</a>                     (<a
81 href="../cog/cog-cog-stdint.html#uint8-t"
82 >uint8_t</a> *d,
83                                                          int dstr,
84                                                          const <a
85 href="../cog/cog-cog-stdint.html#uint8-t"
86 >uint8_t</a> *s1,
87                                                          int sstr1,
88                                                          const <a
89 href="../cog/cog-cog-stdint.html#uint8-t"
90 >uint8_t</a> *s2,
91                                                          int sstr2,
92                                                          int n);
93 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-multsum-f32" title="oil_multsum_f32 ()">oil_multsum_f32</a>                     (float *dest,
94                                                          const float *src1,
95                                                          int sstr1,
96                                                          const float *src2,
97                                                          int sstr2,
98                                                          int n);
99 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-multsum-f64" title="oil_multsum_f64 ()">oil_multsum_f64</a>                     (double *dest,
100                                                          const double *src1,
101                                                          int sstr1,
102                                                          const double *src2,
103                                                          int sstr2,
104                                                          int n);
105 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-f32" title="oil_scalaradd_f32 ()">oil_scalaradd_f32</a>                   (float *d,
106                                                          int dstr,
107                                                          const float *s1,
108                                                          int sstr,
109                                                          const float *s2_1,
110                                                          int n);
111 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-f64" title="oil_scalaradd_f64 ()">oil_scalaradd_f64</a>                   (double *d,
112                                                          int dstr,
113                                                          const double *s1,
114                                                          int sstr,
115                                                          const double *s2_1,
116                                                          int n);
117 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-s16" title="oil_scalaradd_s16 ()">oil_scalaradd_s16</a>                   (<a
118 href="../cog/cog-cog-stdint.html#int16-t"
119 >int16_t</a> *d,
120                                                          int dstr,
121                                                          const <a
122 href="../cog/cog-cog-stdint.html#int16-t"
123 >int16_t</a> *s1,
124                                                          int sstr,
125                                                          const <a
126 href="../cog/cog-cog-stdint.html#int16-t"
127 >int16_t</a> *s2_1,
128                                                          int n);
129 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-s32" title="oil_scalaradd_s32 ()">oil_scalaradd_s32</a>                   (<a
130 href="../cog/cog-cog-stdint.html#int32-t"
131 >int32_t</a> *d,
132                                                          int dstr,
133                                                          const <a
134 href="../cog/cog-cog-stdint.html#int32-t"
135 >int32_t</a> *s1,
136                                                          int sstr,
137                                                          const <a
138 href="../cog/cog-cog-stdint.html#int32-t"
139 >int32_t</a> *s2_1,
140                                                          int n);
141 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-s8" title="oil_scalaradd_s8 ()">oil_scalaradd_s8</a>                    (<a
142 href="../cog/cog-cog-stdint.html#int8-t"
143 >int8_t</a> *d,
144                                                          int dstr,
145                                                          const <a
146 href="../cog/cog-cog-stdint.html#int8-t"
147 >int8_t</a> *s1,
148                                                          int sstr,
149                                                          const <a
150 href="../cog/cog-cog-stdint.html#int8-t"
151 >int8_t</a> *s2_1,
152                                                          int n);
153 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-u16" title="oil_scalaradd_u16 ()">oil_scalaradd_u16</a>                   (<a
154 href="../cog/cog-cog-stdint.html#uint16-t"
155 >uint16_t</a> *d,
156                                                          int dstr,
157                                                          const <a
158 href="../cog/cog-cog-stdint.html#uint16-t"
159 >uint16_t</a> *s1,
160                                                          int sstr,
161                                                          const <a
162 href="../cog/cog-cog-stdint.html#uint16-t"
163 >uint16_t</a> *s2_1,
164                                                          int n);
165 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-u32" title="oil_scalaradd_u32 ()">oil_scalaradd_u32</a>                   (<a
166 href="../cog/cog-cog-stdint.html#uint32-t"
167 >uint32_t</a> *d,
168                                                          int dstr,
169                                                          const <a
170 href="../cog/cog-cog-stdint.html#uint32-t"
171 >uint32_t</a> *s1,
172                                                          int sstr,
173                                                          const <a
174 href="../cog/cog-cog-stdint.html#uint32-t"
175 >uint32_t</a> *s2_1,
176                                                          int n);
177 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-u8" title="oil_scalaradd_u8 ()">oil_scalaradd_u8</a>                    (<a
178 href="../cog/cog-cog-stdint.html#uint8-t"
179 >uint8_t</a> *d,
180                                                          int dstr,
181                                                          const <a
182 href="../cog/cog-cog-stdint.html#uint8-t"
183 >uint8_t</a> *s1,
184                                                          int sstr,
185                                                          const <a
186 href="../cog/cog-cog-stdint.html#uint8-t"
187 >uint8_t</a> *s2_1,
188                                                          int n);
189 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-f32" title="oil_scalarmult_f32 ()">oil_scalarmult_f32</a>                  (float *d,
190                                                          int dstr,
191                                                          const float *s1,
192                                                          int sstr,
193                                                          const float *s2_1,
194                                                          int n);
195 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-f64" title="oil_scalarmult_f64 ()">oil_scalarmult_f64</a>                  (double *d,
196                                                          int dstr,
197                                                          const double *s1,
198                                                          int sstr,
199                                                          const double *s2_1,
200                                                          int n);
201 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-s16" title="oil_scalarmult_s16 ()">oil_scalarmult_s16</a>                  (<a
202 href="../cog/cog-cog-stdint.html#int16-t"
203 >int16_t</a> *d,
204                                                          int dstr,
205                                                          const <a
206 href="../cog/cog-cog-stdint.html#int16-t"
207 >int16_t</a> *s1,
208                                                          int sstr,
209                                                          const <a
210 href="../cog/cog-cog-stdint.html#int16-t"
211 >int16_t</a> *s2_1,
212                                                          int n);
213 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-s32" title="oil_scalarmult_s32 ()">oil_scalarmult_s32</a>                  (<a
214 href="../cog/cog-cog-stdint.html#int32-t"
215 >int32_t</a> *d,
216                                                          int dstr,
217                                                          const <a
218 href="../cog/cog-cog-stdint.html#int32-t"
219 >int32_t</a> *s1,
220                                                          int sstr,
221                                                          const <a
222 href="../cog/cog-cog-stdint.html#int32-t"
223 >int32_t</a> *s2_1,
224                                                          int n);
225 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-s8" title="oil_scalarmult_s8 ()">oil_scalarmult_s8</a>                   (<a
226 href="../cog/cog-cog-stdint.html#int8-t"
227 >int8_t</a> *d,
228                                                          int dstr,
229                                                          const <a
230 href="../cog/cog-cog-stdint.html#int8-t"
231 >int8_t</a> *s1,
232                                                          int sstr,
233                                                          const <a
234 href="../cog/cog-cog-stdint.html#int8-t"
235 >int8_t</a> *s2_1,
236                                                          int n);
237 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-u16" title="oil_scalarmult_u16 ()">oil_scalarmult_u16</a>                  (<a
238 href="../cog/cog-cog-stdint.html#uint16-t"
239 >uint16_t</a> *d,
240                                                          int dstr,
241                                                          const <a
242 href="../cog/cog-cog-stdint.html#uint16-t"
243 >uint16_t</a> *s1,
244                                                          int sstr,
245                                                          const <a
246 href="../cog/cog-cog-stdint.html#uint16-t"
247 >uint16_t</a> *s2_1,
248                                                          int n);
249 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-u32" title="oil_scalarmult_u32 ()">oil_scalarmult_u32</a>                  (<a
250 href="../cog/cog-cog-stdint.html#uint32-t"
251 >uint32_t</a> *d,
252                                                          int dstr,
253                                                          const <a
254 href="../cog/cog-cog-stdint.html#uint32-t"
255 >uint32_t</a> *s1,
256                                                          int sstr,
257                                                          const <a
258 href="../cog/cog-cog-stdint.html#uint32-t"
259 >uint32_t</a> *s2_1,
260                                                          int n);
261 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-u8" title="oil_scalarmult_u8 ()">oil_scalarmult_u8</a>                   (<a
262 href="../cog/cog-cog-stdint.html#uint8-t"
263 >uint8_t</a> *d,
264                                                          int dstr,
265                                                          const <a
266 href="../cog/cog-cog-stdint.html#uint8-t"
267 >uint8_t</a> *s1,
268                                                          int sstr,
269                                                          const <a
270 href="../cog/cog-cog-stdint.html#uint8-t"
271 >uint8_t</a> *s2_1,
272                                                          int n);
273 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-f32" title="oil_vectoradd_f32 ()">oil_vectoradd_f32</a>                   (float *d,
274                                                          int dstr,
275                                                          const float *s1,
276                                                          int sstr1,
277                                                          const float *s2,
278                                                          int sstr2,
279                                                          int n,
280                                                          const float *s3_1,
281                                                          const float *s4_1);
282 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-f64" title="oil_vectoradd_f64 ()">oil_vectoradd_f64</a>                   (double *d,
283                                                          int dstr,
284                                                          const double *s1,
285                                                          int sstr1,
286                                                          const double *s2,
287                                                          int sstr2,
288                                                          int n,
289                                                          const double *s3_1,
290                                                          const double *s4_1);
291 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s16" title="oil_vectoradd_s16 ()">oil_vectoradd_s16</a>                   (<a
292 href="../cog/cog-cog-stdint.html#int16-t"
293 >int16_t</a> *d,
294                                                          int dstr,
295                                                          const <a
296 href="../cog/cog-cog-stdint.html#int16-t"
297 >int16_t</a> *s1,
298                                                          int sstr1,
299                                                          const <a
300 href="../cog/cog-cog-stdint.html#int16-t"
301 >int16_t</a> *s2,
302                                                          int sstr2,
303                                                          int n,
304                                                          const <a
305 href="../cog/cog-cog-stdint.html#int16-t"
306 >int16_t</a> *s3_1,
307                                                          const <a
308 href="../cog/cog-cog-stdint.html#int16-t"
309 >int16_t</a> *s4_1);
310 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s32" title="oil_vectoradd_s32 ()">oil_vectoradd_s32</a>                   (<a
311 href="../cog/cog-cog-stdint.html#int32-t"
312 >int32_t</a> *d,
313                                                          int dstr,
314                                                          const <a
315 href="../cog/cog-cog-stdint.html#int32-t"
316 >int32_t</a> *s1,
317                                                          int sstr1,
318                                                          const <a
319 href="../cog/cog-cog-stdint.html#int32-t"
320 >int32_t</a> *s2,
321                                                          int sstr2,
322                                                          int n,
323                                                          const <a
324 href="../cog/cog-cog-stdint.html#int32-t"
325 >int32_t</a> *s3_1,
326                                                          const <a
327 href="../cog/cog-cog-stdint.html#int32-t"
328 >int32_t</a> *s4_1);
329 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s8" title="oil_vectoradd_s8 ()">oil_vectoradd_s8</a>                    (<a
330 href="../cog/cog-cog-stdint.html#int8-t"
331 >int8_t</a> *d,
332                                                          int dstr,
333                                                          const <a
334 href="../cog/cog-cog-stdint.html#int8-t"
335 >int8_t</a> *s1,
336                                                          int sstr1,
337                                                          const <a
338 href="../cog/cog-cog-stdint.html#int8-t"
339 >int8_t</a> *s2,
340                                                          int sstr2,
341                                                          int n,
342                                                          const <a
343 href="../cog/cog-cog-stdint.html#int8-t"
344 >int8_t</a> *s3_1,
345                                                          const <a
346 href="../cog/cog-cog-stdint.html#int8-t"
347 >int8_t</a> *s4_1);
348 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-u16" title="oil_vectoradd_u16 ()">oil_vectoradd_u16</a>                   (<a
349 href="../cog/cog-cog-stdint.html#uint16-t"
350 >uint16_t</a> *d,
351                                                          int dstr,
352                                                          const <a
353 href="../cog/cog-cog-stdint.html#uint16-t"
354 >uint16_t</a> *s1,
355                                                          int sstr1,
356                                                          const <a
357 href="../cog/cog-cog-stdint.html#uint16-t"
358 >uint16_t</a> *s2,
359                                                          int sstr2,
360                                                          int n,
361                                                          const <a
362 href="../cog/cog-cog-stdint.html#uint16-t"
363 >uint16_t</a> *s3_1,
364                                                          const <a
365 href="../cog/cog-cog-stdint.html#uint16-t"
366 >uint16_t</a> *s4_1);
367 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-u32" title="oil_vectoradd_u32 ()">oil_vectoradd_u32</a>                   (<a
368 href="../cog/cog-cog-stdint.html#uint32-t"
369 >uint32_t</a> *d,
370                                                          int dstr,
371                                                          const <a
372 href="../cog/cog-cog-stdint.html#uint32-t"
373 >uint32_t</a> *s1,
374                                                          int sstr1,
375                                                          const <a
376 href="../cog/cog-cog-stdint.html#uint32-t"
377 >uint32_t</a> *s2,
378                                                          int sstr2,
379                                                          int n,
380                                                          const <a
381 href="../cog/cog-cog-stdint.html#uint32-t"
382 >uint32_t</a> *s3_1,
383                                                          const <a
384 href="../cog/cog-cog-stdint.html#uint32-t"
385 >uint32_t</a> *s4_1);
386 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-u8" title="oil_vectoradd_u8 ()">oil_vectoradd_u8</a>                    (<a
387 href="../cog/cog-cog-stdint.html#uint8-t"
388 >uint8_t</a> *d,
389                                                          int dstr,
390                                                          const <a
391 href="../cog/cog-cog-stdint.html#uint8-t"
392 >uint8_t</a> *s1,
393                                                          int sstr1,
394                                                          const <a
395 href="../cog/cog-cog-stdint.html#uint8-t"
396 >uint8_t</a> *s2,
397                                                          int sstr2,
398                                                          int n,
399                                                          const <a
400 href="../cog/cog-cog-stdint.html#uint8-t"
401 >uint8_t</a> *s3_1,
402                                                          const <a
403 href="../cog/cog-cog-stdint.html#uint8-t"
404 >uint8_t</a> *s4_1);
405 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-s8" title="oil_vectoradd_s_s8 ()">oil_vectoradd_s_s8</a>                  (<a
406 href="../cog/cog-cog-stdint.html#int8-t"
407 >int8_t</a> *d,
408                                                          int dstr,
409                                                          const <a
410 href="../cog/cog-cog-stdint.html#int8-t"
411 >int8_t</a> *s1,
412                                                          int sstr1,
413                                                          const <a
414 href="../cog/cog-cog-stdint.html#int8-t"
415 >int8_t</a> *s2,
416                                                          int sstr2,
417                                                          int n);
418 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-u8" title="oil_vectoradd_s_u8 ()">oil_vectoradd_s_u8</a>                  (<a
419 href="../cog/cog-cog-stdint.html#uint8-t"
420 >uint8_t</a> *d,
421                                                          int dstr,
422                                                          const <a
423 href="../cog/cog-cog-stdint.html#uint8-t"
424 >uint8_t</a> *s1,
425                                                          int sstr1,
426                                                          const <a
427 href="../cog/cog-cog-stdint.html#uint8-t"
428 >uint8_t</a> *s2,
429                                                          int sstr2,
430                                                          int n);
431 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-s16" title="oil_vectoradd_s_s16 ()">oil_vectoradd_s_s16</a>                 (<a
432 href="../cog/cog-cog-stdint.html#int16-t"
433 >int16_t</a> *d,
434                                                          int dstr,
435                                                          const <a
436 href="../cog/cog-cog-stdint.html#int16-t"
437 >int16_t</a> *s1,
438                                                          int sstr1,
439                                                          const <a
440 href="../cog/cog-cog-stdint.html#int16-t"
441 >int16_t</a> *s2,
442                                                          int sstr2,
443                                                          int n);
444 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-u16" title="oil_vectoradd_s_u16 ()">oil_vectoradd_s_u16</a>                 (<a
445 href="../cog/cog-cog-stdint.html#uint16-t"
446 >uint16_t</a> *d,
447                                                          int dstr,
448                                                          const <a
449 href="../cog/cog-cog-stdint.html#uint16-t"
450 >uint16_t</a> *s1,
451                                                          int sstr1,
452                                                          const <a
453 href="../cog/cog-cog-stdint.html#uint16-t"
454 >uint16_t</a> *s2,
455                                                          int sstr2,
456                                                          int n);
457 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-f32" title="oil_vectoradd_s_f32 ()">oil_vectoradd_s_f32</a>                 (float *d,
458                                                          int dstr,
459                                                          const float *s1,
460                                                          int sstr1,
461                                                          const float *s2,
462                                                          int sstr2,
463                                                          int n);
464 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-s-f64" title="oil_vectoradd_s_f64 ()">oil_vectoradd_s_f64</a>                 (double *d,
465                                                          int dstr,
466                                                          const double *s1,
467                                                          int sstr1,
468                                                          const double *s2,
469                                                          int sstr2,
470                                                          int n);
471 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-squaresum-f64" title="oil_squaresum_f64 ()">oil_squaresum_f64</a>                   (double *d,
472                                                          const double *s,
473                                                          int n);
474 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-squaresum-shifted-s16" title="oil_squaresum_shifted_s16 ()">oil_squaresum_shifted_s16</a>           (<a
475 href="../cog/cog-cog-stdint.html#uint32-t"
476 >uint32_t</a> *d,
477                                                          const <a
478 href="../cog/cog-cog-stdint.html#int16-t"
479 >int16_t</a> *s,
480                                                          int n);
481 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-sum-f64" title="oil_sum_f64 ()">oil_sum_f64</a>                         (double *d_1,
482                                                          const double *s,
483                                                          int sstr,
484                                                          int n);
485 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-add-f32" title="oil_add_f32 ()">oil_add_f32</a>                         (float *d,
486                                                          const float *s1,
487                                                          const float *s2,
488                                                          int n);
489 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-divide-f32" title="oil_divide_f32 ()">oil_divide_f32</a>                      (float *d,
490                                                          const float *s1,
491                                                          const float *s2,
492                                                          int n);
493 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-floor-f32" title="oil_floor_f32 ()">oil_floor_f32</a>                       (float *d,
494                                                          const float *s,
495                                                          int n);
496 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-inverse-f32" title="oil_inverse_f32 ()">oil_inverse_f32</a>                     (float *d,
497                                                          const float *s,
498                                                          int n);
499 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-maximum-f32" title="oil_maximum_f32 ()">oil_maximum_f32</a>                     (float *d,
500                                                          const float *s1,
501                                                          const float *s2,
502                                                          int n);
503 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-minimum-f32" title="oil_minimum_f32 ()">oil_minimum_f32</a>                     (float *d,
504                                                          const float *s1,
505                                                          const float *s2,
506                                                          int n);
507 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-multiply-f32" title="oil_multiply_f32 ()">oil_multiply_f32</a>                    (float *d,
508                                                          const float *s1,
509                                                          const float *s2,
510                                                          int n);
511 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-negative-f32" title="oil_negative_f32 ()">oil_negative_f32</a>                    (float *d,
512                                                          const float *s,
513                                                          int n);
514 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-f32-ns" title="oil_scalaradd_f32_ns ()">oil_scalaradd_f32_ns</a>                (float *d,
515                                                          const float *s1,
516                                                          const float *s2_1,
517                                                          int n);
518 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmultiply-f32-ns" title="oil_scalarmultiply_f32_ns ()">oil_scalarmultiply_f32_ns</a>           (float *d,
519                                                          const float *s1,
520                                                          const float *s2_1,
521                                                          int n);
522 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-sign-f32" title="oil_sign_f32 ()">oil_sign_f32</a>                        (float *d,
523                                                          const float *s,
524                                                          int n);
525 void                <a class="link" href="liboil-liboilfuncs-math.html#oil-subtract-f32" title="oil_subtract_f32 ()">oil_subtract_f32</a>                    (float *d,
526                                                          const float *s1,
527                                                          const float *s2,
528                                                          int n);
529 </pre>
530 </div>
531 <div class="refsect1" title="Description">
532 <a name="liboil-liboilfuncs-math.description"></a><h2>Description</h2>
533 <p>
534 </p>
535 <p>
536 </p>
537 </div>
538 <div class="refsect1" title="Details">
539 <a name="liboil-liboilfuncs-math.details"></a><h2>Details</h2>
540 <div class="refsect2" title="oil_abs_f32_f32 ()">
541 <a name="oil-abs-f32-f32"></a><h3>oil_abs_f32_f32 ()</h3>
542 <pre class="programlisting">void                oil_abs_f32_f32                     (float *dest,
543                                                          int dstr,
544                                                          const float *src,
545                                                          int sstr,
546                                                          int n);</pre>
547 <p>
548 Calculates the absolute value of each element in the source array
549 and writes it into the destination array.</p>
550 <p>
551 </p>
552 <div class="variablelist"><table border="0">
553 <col align="left" valign="top">
554 <tbody>
555 <tr>
556 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
557 <td> destination array
558 </td>
559 </tr>
560 <tr>
561 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
562 <td> stride of destination elements
563 </td>
564 </tr>
565 <tr>
566 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
567 <td> source array
568 </td>
569 </tr>
570 <tr>
571 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
572 <td> stride of source elements
573 </td>
574 </tr>
575 <tr>
576 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
577 <td> number of elements in arrays
578 </td>
579 </tr>
580 </tbody>
581 </table></div>
582 </div>
583 <hr>
584 <div class="refsect2" title="oil_abs_f64_f64 ()">
585 <a name="oil-abs-f64-f64"></a><h3>oil_abs_f64_f64 ()</h3>
586 <pre class="programlisting">void                oil_abs_f64_f64                     (double *dest,
587                                                          int dstr,
588                                                          const double *src,
589                                                          int sstr,
590                                                          int n);</pre>
591 <p>
592 Calculates the absolute value of each element in the source array
593 and writes it into the destination array.</p>
594 <p>
595 </p>
596 <div class="variablelist"><table border="0">
597 <col align="left" valign="top">
598 <tbody>
599 <tr>
600 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
601 <td> destination array
602 </td>
603 </tr>
604 <tr>
605 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
606 <td> stride of destination elements
607 </td>
608 </tr>
609 <tr>
610 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
611 <td> source array
612 </td>
613 </tr>
614 <tr>
615 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
616 <td> stride of source elements
617 </td>
618 </tr>
619 <tr>
620 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
621 <td> number of elements in arrays
622 </td>
623 </tr>
624 </tbody>
625 </table></div>
626 </div>
627 <hr>
628 <div class="refsect2" title="oil_abs_u16_s16 ()">
629 <a name="oil-abs-u16-s16"></a><h3>oil_abs_u16_s16 ()</h3>
630 <pre class="programlisting">void                oil_abs_u16_s16                     (<a
631 href="../cog/cog-cog-stdint.html#uint16-t"
632 >uint16_t</a> *dest,
633                                                          int dstr,
634                                                          const <a
635 href="../cog/cog-cog-stdint.html#int16-t"
636 >int16_t</a> *src,
637                                                          int sstr,
638                                                          int n);</pre>
639 <p>
640 Calculates the absolute value of each element in the source array
641 and writes it into the destination array.</p>
642 <p>
643 </p>
644 <div class="variablelist"><table border="0">
645 <col align="left" valign="top">
646 <tbody>
647 <tr>
648 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
649 <td> destination array
650 </td>
651 </tr>
652 <tr>
653 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
654 <td> stride of destination elements
655 </td>
656 </tr>
657 <tr>
658 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
659 <td> source array
660 </td>
661 </tr>
662 <tr>
663 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
664 <td> stride of source elements
665 </td>
666 </tr>
667 <tr>
668 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
669 <td> number of elements in arrays
670 </td>
671 </tr>
672 </tbody>
673 </table></div>
674 </div>
675 <hr>
676 <div class="refsect2" title="oil_abs_u32_s32 ()">
677 <a name="oil-abs-u32-s32"></a><h3>oil_abs_u32_s32 ()</h3>
678 <pre class="programlisting">void                oil_abs_u32_s32                     (<a
679 href="../cog/cog-cog-stdint.html#uint32-t"
680 >uint32_t</a> *dest,
681                                                          int dstr,
682                                                          const <a
683 href="../cog/cog-cog-stdint.html#int32-t"
684 >int32_t</a> *src,
685                                                          int sstr,
686                                                          int n);</pre>
687 <p>
688 Calculates the absolute value of each element in the source array
689 and writes it into the destination array.</p>
690 <p>
691 </p>
692 <div class="variablelist"><table border="0">
693 <col align="left" valign="top">
694 <tbody>
695 <tr>
696 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
697 <td> destination array
698 </td>
699 </tr>
700 <tr>
701 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
702 <td> stride of destination elements
703 </td>
704 </tr>
705 <tr>
706 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
707 <td> source array
708 </td>
709 </tr>
710 <tr>
711 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
712 <td> stride of source elements
713 </td>
714 </tr>
715 <tr>
716 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
717 <td> number of elements in arrays
718 </td>
719 </tr>
720 </tbody>
721 </table></div>
722 </div>
723 <hr>
724 <div class="refsect2" title="oil_abs_u8_s8 ()">
725 <a name="oil-abs-u8-s8"></a><h3>oil_abs_u8_s8 ()</h3>
726 <pre class="programlisting">void                oil_abs_u8_s8                       (<a
727 href="../cog/cog-cog-stdint.html#uint8-t"
728 >uint8_t</a> *dest,
729                                                          int dstr,
730                                                          const <a
731 href="../cog/cog-cog-stdint.html#int8-t"
732 >int8_t</a> *src,
733                                                          int sstr,
734                                                          int n);</pre>
735 <p>
736 Calculates the absolute value of each element in the source array
737 and writes it into the destination array.</p>
738 <p>
739 </p>
740 <div class="variablelist"><table border="0">
741 <col align="left" valign="top">
742 <tbody>
743 <tr>
744 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
745 <td> destination array
746 </td>
747 </tr>
748 <tr>
749 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
750 <td> stride of destination elements
751 </td>
752 </tr>
753 <tr>
754 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
755 <td> source array
756 </td>
757 </tr>
758 <tr>
759 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
760 <td> stride of source elements
761 </td>
762 </tr>
763 <tr>
764 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
765 <td> number of elements in arrays
766 </td>
767 </tr>
768 </tbody>
769 </table></div>
770 </div>
771 <hr>
772 <div class="refsect2" title="oil_average2_u8 ()">
773 <a name="oil-average2-u8"></a><h3>oil_average2_u8 ()</h3>
774 <pre class="programlisting">void                oil_average2_u8                     (<a
775 href="../cog/cog-cog-stdint.html#uint8-t"
776 >uint8_t</a> *d,
777                                                          int dstr,
778                                                          const <a
779 href="../cog/cog-cog-stdint.html#uint8-t"
780 >uint8_t</a> *s1,
781                                                          int sstr1,
782                                                          const <a
783 href="../cog/cog-cog-stdint.html#uint8-t"
784 >uint8_t</a> *s2,
785                                                          int sstr2,
786                                                          int n);</pre>
787 <p>
788 Averages each element in <em class="parameter"><code>s1</code></em> and <em class="parameter"><code>s2</code></em> and places the result in <em class="parameter"><code>d</code></em>.
789 </p>
790 <p>
791 FIXME: This class is difficult to optimize and will likely be
792 replaced.</p>
793 <p>
794 </p>
795 <div class="variablelist"><table border="0">
796 <col align="left" valign="top">
797 <tbody>
798 <tr>
799 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
800 <td>
801 </td>
802 </tr>
803 <tr>
804 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
805 <td>
806 </td>
807 </tr>
808 <tr>
809 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
810 <td>
811 </td>
812 </tr>
813 <tr>
814 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
815 <td>
816 </td>
817 </tr>
818 <tr>
819 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
820 <td>
821 </td>
822 </tr>
823 <tr>
824 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
825 <td>
826 </td>
827 </tr>
828 <tr>
829 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
830 <td>
831 </td>
832 </tr>
833 </tbody>
834 </table></div>
835 </div>
836 <hr>
837 <div class="refsect2" title="oil_multsum_f32 ()">
838 <a name="oil-multsum-f32"></a><h3>oil_multsum_f32 ()</h3>
839 <pre class="programlisting">void                oil_multsum_f32                     (float *dest,
840                                                          const float *src1,
841                                                          int sstr1,
842                                                          const float *src2,
843                                                          int sstr2,
844                                                          int n);</pre>
845 <p>
846 Multiplies each element in <em class="parameter"><code>src1</code></em> and <em class="parameter"><code>src2</code></em> and sums the results
847 over the entire array, and places the sum into <em class="parameter"><code>dest</code></em>.</p>
848 <p>
849 </p>
850 <div class="variablelist"><table border="0">
851 <col align="left" valign="top">
852 <tbody>
853 <tr>
854 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
855 <td>
856 </td>
857 </tr>
858 <tr>
859 <td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
860 <td>
861 </td>
862 </tr>
863 <tr>
864 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
865 <td>
866 </td>
867 </tr>
868 <tr>
869 <td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
870 <td>
871 </td>
872 </tr>
873 <tr>
874 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
875 <td>
876 </td>
877 </tr>
878 <tr>
879 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
880 <td>
881 </td>
882 </tr>
883 </tbody>
884 </table></div>
885 </div>
886 <hr>
887 <div class="refsect2" title="oil_multsum_f64 ()">
888 <a name="oil-multsum-f64"></a><h3>oil_multsum_f64 ()</h3>
889 <pre class="programlisting">void                oil_multsum_f64                     (double *dest,
890                                                          const double *src1,
891                                                          int sstr1,
892                                                          const double *src2,
893                                                          int sstr2,
894                                                          int n);</pre>
895 <p>
896 Multiplies each element in <em class="parameter"><code>src1</code></em> and <em class="parameter"><code>src2</code></em> and sums the results
897 over the entire array, and places the sum into <em class="parameter"><code>dest</code></em>.</p>
898 <p>
899 </p>
900 <div class="variablelist"><table border="0">
901 <col align="left" valign="top">
902 <tbody>
903 <tr>
904 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
905 <td>
906 </td>
907 </tr>
908 <tr>
909 <td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
910 <td>
911 </td>
912 </tr>
913 <tr>
914 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
915 <td>
916 </td>
917 </tr>
918 <tr>
919 <td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
920 <td>
921 </td>
922 </tr>
923 <tr>
924 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
925 <td>
926 </td>
927 </tr>
928 <tr>
929 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
930 <td>
931 </td>
932 </tr>
933 </tbody>
934 </table></div>
935 </div>
936 <hr>
937 <div class="refsect2" title="oil_scalaradd_f32 ()">
938 <a name="oil-scalaradd-f32"></a><h3>oil_scalaradd_f32 ()</h3>
939 <pre class="programlisting">void                oil_scalaradd_f32                   (float *d,
940                                                          int dstr,
941                                                          const float *s1,
942                                                          int sstr,
943                                                          const float *s2_1,
944                                                          int n);</pre>
945 <p>
946 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
947 result in <em class="parameter"><code>d</code></em>.
948 </p>
949 <p>
950 FIXME: This function is difficult to optimize and will likely be
951 replaced.</p>
952 <p>
953 </p>
954 <div class="variablelist"><table border="0">
955 <col align="left" valign="top">
956 <tbody>
957 <tr>
958 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
959 <td>
960 </td>
961 </tr>
962 <tr>
963 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
964 <td>
965 </td>
966 </tr>
967 <tr>
968 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
969 <td>
970 </td>
971 </tr>
972 <tr>
973 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
974 <td>
975 </td>
976 </tr>
977 <tr>
978 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
979 <td>
980 </td>
981 </tr>
982 <tr>
983 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
984 <td>
985 </td>
986 </tr>
987 </tbody>
988 </table></div>
989 </div>
990 <hr>
991 <div class="refsect2" title="oil_scalaradd_f64 ()">
992 <a name="oil-scalaradd-f64"></a><h3>oil_scalaradd_f64 ()</h3>
993 <pre class="programlisting">void                oil_scalaradd_f64                   (double *d,
994                                                          int dstr,
995                                                          const double *s1,
996                                                          int sstr,
997                                                          const double *s2_1,
998                                                          int n);</pre>
999 <p>
1000 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1001 result in <em class="parameter"><code>d</code></em>.
1002 </p>
1003 <p>
1004 FIXME: This function is difficult to optimize and will likely be
1005 replaced.</p>
1006 <p>
1007 </p>
1008 <div class="variablelist"><table border="0">
1009 <col align="left" valign="top">
1010 <tbody>
1011 <tr>
1012 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1013 <td>
1014 </td>
1015 </tr>
1016 <tr>
1017 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1018 <td>
1019 </td>
1020 </tr>
1021 <tr>
1022 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1023 <td>
1024 </td>
1025 </tr>
1026 <tr>
1027 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1028 <td>
1029 </td>
1030 </tr>
1031 <tr>
1032 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1033 <td>
1034 </td>
1035 </tr>
1036 <tr>
1037 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1038 <td>
1039 </td>
1040 </tr>
1041 </tbody>
1042 </table></div>
1043 </div>
1044 <hr>
1045 <div class="refsect2" title="oil_scalaradd_s16 ()">
1046 <a name="oil-scalaradd-s16"></a><h3>oil_scalaradd_s16 ()</h3>
1047 <pre class="programlisting">void                oil_scalaradd_s16                   (<a
1048 href="../cog/cog-cog-stdint.html#int16-t"
1049 >int16_t</a> *d,
1050                                                          int dstr,
1051                                                          const <a
1052 href="../cog/cog-cog-stdint.html#int16-t"
1053 >int16_t</a> *s1,
1054                                                          int sstr,
1055                                                          const <a
1056 href="../cog/cog-cog-stdint.html#int16-t"
1057 >int16_t</a> *s2_1,
1058                                                          int n);</pre>
1059 <p>
1060 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1061 result in <em class="parameter"><code>d</code></em>.
1062 </p>
1063 <p>
1064 FIXME: This function is difficult to optimize and will likely be
1065 replaced.</p>
1066 <p>
1067 </p>
1068 <div class="variablelist"><table border="0">
1069 <col align="left" valign="top">
1070 <tbody>
1071 <tr>
1072 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1073 <td>
1074 </td>
1075 </tr>
1076 <tr>
1077 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1078 <td>
1079 </td>
1080 </tr>
1081 <tr>
1082 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1083 <td>
1084 </td>
1085 </tr>
1086 <tr>
1087 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1088 <td>
1089 </td>
1090 </tr>
1091 <tr>
1092 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1093 <td>
1094 </td>
1095 </tr>
1096 <tr>
1097 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1098 <td>
1099 </td>
1100 </tr>
1101 </tbody>
1102 </table></div>
1103 </div>
1104 <hr>
1105 <div class="refsect2" title="oil_scalaradd_s32 ()">
1106 <a name="oil-scalaradd-s32"></a><h3>oil_scalaradd_s32 ()</h3>
1107 <pre class="programlisting">void                oil_scalaradd_s32                   (<a
1108 href="../cog/cog-cog-stdint.html#int32-t"
1109 >int32_t</a> *d,
1110                                                          int dstr,
1111                                                          const <a
1112 href="../cog/cog-cog-stdint.html#int32-t"
1113 >int32_t</a> *s1,
1114                                                          int sstr,
1115                                                          const <a
1116 href="../cog/cog-cog-stdint.html#int32-t"
1117 >int32_t</a> *s2_1,
1118                                                          int n);</pre>
1119 <p>
1120 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1121 result in <em class="parameter"><code>d</code></em>.
1122 </p>
1123 <p>
1124 FIXME: This function is difficult to optimize and will likely be
1125 replaced.</p>
1126 <p>
1127 </p>
1128 <div class="variablelist"><table border="0">
1129 <col align="left" valign="top">
1130 <tbody>
1131 <tr>
1132 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1133 <td>
1134 </td>
1135 </tr>
1136 <tr>
1137 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1138 <td>
1139 </td>
1140 </tr>
1141 <tr>
1142 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1143 <td>
1144 </td>
1145 </tr>
1146 <tr>
1147 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1148 <td>
1149 </td>
1150 </tr>
1151 <tr>
1152 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1153 <td>
1154 </td>
1155 </tr>
1156 <tr>
1157 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1158 <td>
1159 </td>
1160 </tr>
1161 </tbody>
1162 </table></div>
1163 </div>
1164 <hr>
1165 <div class="refsect2" title="oil_scalaradd_s8 ()">
1166 <a name="oil-scalaradd-s8"></a><h3>oil_scalaradd_s8 ()</h3>
1167 <pre class="programlisting">void                oil_scalaradd_s8                    (<a
1168 href="../cog/cog-cog-stdint.html#int8-t"
1169 >int8_t</a> *d,
1170                                                          int dstr,
1171                                                          const <a
1172 href="../cog/cog-cog-stdint.html#int8-t"
1173 >int8_t</a> *s1,
1174                                                          int sstr,
1175                                                          const <a
1176 href="../cog/cog-cog-stdint.html#int8-t"
1177 >int8_t</a> *s2_1,
1178                                                          int n);</pre>
1179 <p>
1180 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1181 result in <em class="parameter"><code>d</code></em>.
1182 </p>
1183 <p>
1184 FIXME: This function is difficult to optimize and will likely be
1185 replaced.</p>
1186 <p>
1187 </p>
1188 <div class="variablelist"><table border="0">
1189 <col align="left" valign="top">
1190 <tbody>
1191 <tr>
1192 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1193 <td>
1194 </td>
1195 </tr>
1196 <tr>
1197 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1198 <td>
1199 </td>
1200 </tr>
1201 <tr>
1202 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1203 <td>
1204 </td>
1205 </tr>
1206 <tr>
1207 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1208 <td>
1209 </td>
1210 </tr>
1211 <tr>
1212 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1213 <td>
1214 </td>
1215 </tr>
1216 <tr>
1217 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1218 <td>
1219 </td>
1220 </tr>
1221 </tbody>
1222 </table></div>
1223 </div>
1224 <hr>
1225 <div class="refsect2" title="oil_scalaradd_u16 ()">
1226 <a name="oil-scalaradd-u16"></a><h3>oil_scalaradd_u16 ()</h3>
1227 <pre class="programlisting">void                oil_scalaradd_u16                   (<a
1228 href="../cog/cog-cog-stdint.html#uint16-t"
1229 >uint16_t</a> *d,
1230                                                          int dstr,
1231                                                          const <a
1232 href="../cog/cog-cog-stdint.html#uint16-t"
1233 >uint16_t</a> *s1,
1234                                                          int sstr,
1235                                                          const <a
1236 href="../cog/cog-cog-stdint.html#uint16-t"
1237 >uint16_t</a> *s2_1,
1238                                                          int n);</pre>
1239 <p>
1240 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1241 result in <em class="parameter"><code>d</code></em>.
1242 </p>
1243 <p>
1244 FIXME: This function is difficult to optimize and will likely be
1245 replaced.</p>
1246 <p>
1247 </p>
1248 <div class="variablelist"><table border="0">
1249 <col align="left" valign="top">
1250 <tbody>
1251 <tr>
1252 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1253 <td>
1254 </td>
1255 </tr>
1256 <tr>
1257 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1258 <td>
1259 </td>
1260 </tr>
1261 <tr>
1262 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1263 <td>
1264 </td>
1265 </tr>
1266 <tr>
1267 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1268 <td>
1269 </td>
1270 </tr>
1271 <tr>
1272 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1273 <td>
1274 </td>
1275 </tr>
1276 <tr>
1277 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1278 <td>
1279 </td>
1280 </tr>
1281 </tbody>
1282 </table></div>
1283 </div>
1284 <hr>
1285 <div class="refsect2" title="oil_scalaradd_u32 ()">
1286 <a name="oil-scalaradd-u32"></a><h3>oil_scalaradd_u32 ()</h3>
1287 <pre class="programlisting">void                oil_scalaradd_u32                   (<a
1288 href="../cog/cog-cog-stdint.html#uint32-t"
1289 >uint32_t</a> *d,
1290                                                          int dstr,
1291                                                          const <a
1292 href="../cog/cog-cog-stdint.html#uint32-t"
1293 >uint32_t</a> *s1,
1294                                                          int sstr,
1295                                                          const <a
1296 href="../cog/cog-cog-stdint.html#uint32-t"
1297 >uint32_t</a> *s2_1,
1298                                                          int n);</pre>
1299 <p>
1300 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1301 result in <em class="parameter"><code>d</code></em>.
1302 </p>
1303 <p>
1304 FIXME: This function is difficult to optimize and will likely be
1305 replaced.</p>
1306 <p>
1307 </p>
1308 <div class="variablelist"><table border="0">
1309 <col align="left" valign="top">
1310 <tbody>
1311 <tr>
1312 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1313 <td>
1314 </td>
1315 </tr>
1316 <tr>
1317 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1318 <td>
1319 </td>
1320 </tr>
1321 <tr>
1322 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1323 <td>
1324 </td>
1325 </tr>
1326 <tr>
1327 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1328 <td>
1329 </td>
1330 </tr>
1331 <tr>
1332 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1333 <td>
1334 </td>
1335 </tr>
1336 <tr>
1337 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1338 <td>
1339 </td>
1340 </tr>
1341 </tbody>
1342 </table></div>
1343 </div>
1344 <hr>
1345 <div class="refsect2" title="oil_scalaradd_u8 ()">
1346 <a name="oil-scalaradd-u8"></a><h3>oil_scalaradd_u8 ()</h3>
1347 <pre class="programlisting">void                oil_scalaradd_u8                    (<a
1348 href="../cog/cog-cog-stdint.html#uint8-t"
1349 >uint8_t</a> *d,
1350                                                          int dstr,
1351                                                          const <a
1352 href="../cog/cog-cog-stdint.html#uint8-t"
1353 >uint8_t</a> *s1,
1354                                                          int sstr,
1355                                                          const <a
1356 href="../cog/cog-cog-stdint.html#uint8-t"
1357 >uint8_t</a> *s2_1,
1358                                                          int n);</pre>
1359 <p>
1360 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1361 result in <em class="parameter"><code>d</code></em>.
1362 </p>
1363 <p>
1364 FIXME: This function is difficult to optimize and will likely be
1365 replaced.</p>
1366 <p>
1367 </p>
1368 <div class="variablelist"><table border="0">
1369 <col align="left" valign="top">
1370 <tbody>
1371 <tr>
1372 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1373 <td>
1374 </td>
1375 </tr>
1376 <tr>
1377 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1378 <td>
1379 </td>
1380 </tr>
1381 <tr>
1382 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1383 <td>
1384 </td>
1385 </tr>
1386 <tr>
1387 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1388 <td>
1389 </td>
1390 </tr>
1391 <tr>
1392 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1393 <td>
1394 </td>
1395 </tr>
1396 <tr>
1397 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1398 <td>
1399 </td>
1400 </tr>
1401 </tbody>
1402 </table></div>
1403 </div>
1404 <hr>
1405 <div class="refsect2" title="oil_scalarmult_f32 ()">
1406 <a name="oil-scalarmult-f32"></a><h3>oil_scalarmult_f32 ()</h3>
1407 <pre class="programlisting">void                oil_scalarmult_f32                  (float *d,
1408                                                          int dstr,
1409                                                          const float *s1,
1410                                                          int sstr,
1411                                                          const float *s2_1,
1412                                                          int n);</pre>
1413 <p>
1414 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1415 result in <em class="parameter"><code>d</code></em>.
1416 </p>
1417 <p>
1418 FIXME: This function is difficult to optimize and will likely be
1419 replaced.</p>
1420 <p>
1421 </p>
1422 <div class="variablelist"><table border="0">
1423 <col align="left" valign="top">
1424 <tbody>
1425 <tr>
1426 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1427 <td>
1428 </td>
1429 </tr>
1430 <tr>
1431 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1432 <td>
1433 </td>
1434 </tr>
1435 <tr>
1436 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1437 <td>
1438 </td>
1439 </tr>
1440 <tr>
1441 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1442 <td>
1443 </td>
1444 </tr>
1445 <tr>
1446 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1447 <td>
1448 </td>
1449 </tr>
1450 <tr>
1451 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1452 <td>
1453 </td>
1454 </tr>
1455 </tbody>
1456 </table></div>
1457 </div>
1458 <hr>
1459 <div class="refsect2" title="oil_scalarmult_f64 ()">
1460 <a name="oil-scalarmult-f64"></a><h3>oil_scalarmult_f64 ()</h3>
1461 <pre class="programlisting">void                oil_scalarmult_f64                  (double *d,
1462                                                          int dstr,
1463                                                          const double *s1,
1464                                                          int sstr,
1465                                                          const double *s2_1,
1466                                                          int n);</pre>
1467 <p>
1468 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1469 result in <em class="parameter"><code>d</code></em>.
1470 </p>
1471 <p>
1472 FIXME: This function is difficult to optimize and will likely be
1473 replaced.</p>
1474 <p>
1475 </p>
1476 <div class="variablelist"><table border="0">
1477 <col align="left" valign="top">
1478 <tbody>
1479 <tr>
1480 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1481 <td>
1482 </td>
1483 </tr>
1484 <tr>
1485 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1486 <td>
1487 </td>
1488 </tr>
1489 <tr>
1490 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1491 <td>
1492 </td>
1493 </tr>
1494 <tr>
1495 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1496 <td>
1497 </td>
1498 </tr>
1499 <tr>
1500 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1501 <td>
1502 </td>
1503 </tr>
1504 <tr>
1505 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1506 <td>
1507 </td>
1508 </tr>
1509 </tbody>
1510 </table></div>
1511 </div>
1512 <hr>
1513 <div class="refsect2" title="oil_scalarmult_s16 ()">
1514 <a name="oil-scalarmult-s16"></a><h3>oil_scalarmult_s16 ()</h3>
1515 <pre class="programlisting">void                oil_scalarmult_s16                  (<a
1516 href="../cog/cog-cog-stdint.html#int16-t"
1517 >int16_t</a> *d,
1518                                                          int dstr,
1519                                                          const <a
1520 href="../cog/cog-cog-stdint.html#int16-t"
1521 >int16_t</a> *s1,
1522                                                          int sstr,
1523                                                          const <a
1524 href="../cog/cog-cog-stdint.html#int16-t"
1525 >int16_t</a> *s2_1,
1526                                                          int n);</pre>
1527 <p>
1528 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1529 result in <em class="parameter"><code>d</code></em>.
1530 </p>
1531 <p>
1532 FIXME: This function is difficult to optimize and will likely be
1533 replaced.</p>
1534 <p>
1535 </p>
1536 <div class="variablelist"><table border="0">
1537 <col align="left" valign="top">
1538 <tbody>
1539 <tr>
1540 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1541 <td>
1542 </td>
1543 </tr>
1544 <tr>
1545 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1546 <td>
1547 </td>
1548 </tr>
1549 <tr>
1550 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1551 <td>
1552 </td>
1553 </tr>
1554 <tr>
1555 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1556 <td>
1557 </td>
1558 </tr>
1559 <tr>
1560 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1561 <td>
1562 </td>
1563 </tr>
1564 <tr>
1565 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1566 <td>
1567 </td>
1568 </tr>
1569 </tbody>
1570 </table></div>
1571 </div>
1572 <hr>
1573 <div class="refsect2" title="oil_scalarmult_s32 ()">
1574 <a name="oil-scalarmult-s32"></a><h3>oil_scalarmult_s32 ()</h3>
1575 <pre class="programlisting">void                oil_scalarmult_s32                  (<a
1576 href="../cog/cog-cog-stdint.html#int32-t"
1577 >int32_t</a> *d,
1578                                                          int dstr,
1579                                                          const <a
1580 href="../cog/cog-cog-stdint.html#int32-t"
1581 >int32_t</a> *s1,
1582                                                          int sstr,
1583                                                          const <a
1584 href="../cog/cog-cog-stdint.html#int32-t"
1585 >int32_t</a> *s2_1,
1586                                                          int n);</pre>
1587 <p>
1588 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1589 result in <em class="parameter"><code>d</code></em>.
1590 </p>
1591 <p>
1592 FIXME: This function is difficult to optimize and will likely be
1593 replaced.</p>
1594 <p>
1595 </p>
1596 <div class="variablelist"><table border="0">
1597 <col align="left" valign="top">
1598 <tbody>
1599 <tr>
1600 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1601 <td>
1602 </td>
1603 </tr>
1604 <tr>
1605 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1606 <td>
1607 </td>
1608 </tr>
1609 <tr>
1610 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1611 <td>
1612 </td>
1613 </tr>
1614 <tr>
1615 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1616 <td>
1617 </td>
1618 </tr>
1619 <tr>
1620 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1621 <td>
1622 </td>
1623 </tr>
1624 <tr>
1625 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1626 <td>
1627 </td>
1628 </tr>
1629 </tbody>
1630 </table></div>
1631 </div>
1632 <hr>
1633 <div class="refsect2" title="oil_scalarmult_s8 ()">
1634 <a name="oil-scalarmult-s8"></a><h3>oil_scalarmult_s8 ()</h3>
1635 <pre class="programlisting">void                oil_scalarmult_s8                   (<a
1636 href="../cog/cog-cog-stdint.html#int8-t"
1637 >int8_t</a> *d,
1638                                                          int dstr,
1639                                                          const <a
1640 href="../cog/cog-cog-stdint.html#int8-t"
1641 >int8_t</a> *s1,
1642                                                          int sstr,
1643                                                          const <a
1644 href="../cog/cog-cog-stdint.html#int8-t"
1645 >int8_t</a> *s2_1,
1646                                                          int n);</pre>
1647 <p>
1648 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1649 result in <em class="parameter"><code>d</code></em>.
1650 </p>
1651 <p>
1652 FIXME: This function is difficult to optimize and will likely be
1653 replaced.</p>
1654 <p>
1655 </p>
1656 <div class="variablelist"><table border="0">
1657 <col align="left" valign="top">
1658 <tbody>
1659 <tr>
1660 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1661 <td>
1662 </td>
1663 </tr>
1664 <tr>
1665 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1666 <td>
1667 </td>
1668 </tr>
1669 <tr>
1670 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1671 <td>
1672 </td>
1673 </tr>
1674 <tr>
1675 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1676 <td>
1677 </td>
1678 </tr>
1679 <tr>
1680 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1681 <td>
1682 </td>
1683 </tr>
1684 <tr>
1685 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1686 <td>
1687 </td>
1688 </tr>
1689 </tbody>
1690 </table></div>
1691 </div>
1692 <hr>
1693 <div class="refsect2" title="oil_scalarmult_u16 ()">
1694 <a name="oil-scalarmult-u16"></a><h3>oil_scalarmult_u16 ()</h3>
1695 <pre class="programlisting">void                oil_scalarmult_u16                  (<a
1696 href="../cog/cog-cog-stdint.html#uint16-t"
1697 >uint16_t</a> *d,
1698                                                          int dstr,
1699                                                          const <a
1700 href="../cog/cog-cog-stdint.html#uint16-t"
1701 >uint16_t</a> *s1,
1702                                                          int sstr,
1703                                                          const <a
1704 href="../cog/cog-cog-stdint.html#uint16-t"
1705 >uint16_t</a> *s2_1,
1706                                                          int n);</pre>
1707 <p>
1708 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1709 result in <em class="parameter"><code>d</code></em>.
1710 </p>
1711 <p>
1712 FIXME: This function is difficult to optimize and will likely be
1713 replaced.</p>
1714 <p>
1715 </p>
1716 <div class="variablelist"><table border="0">
1717 <col align="left" valign="top">
1718 <tbody>
1719 <tr>
1720 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1721 <td>
1722 </td>
1723 </tr>
1724 <tr>
1725 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1726 <td>
1727 </td>
1728 </tr>
1729 <tr>
1730 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1731 <td>
1732 </td>
1733 </tr>
1734 <tr>
1735 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1736 <td>
1737 </td>
1738 </tr>
1739 <tr>
1740 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1741 <td>
1742 </td>
1743 </tr>
1744 <tr>
1745 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1746 <td>
1747 </td>
1748 </tr>
1749 </tbody>
1750 </table></div>
1751 </div>
1752 <hr>
1753 <div class="refsect2" title="oil_scalarmult_u32 ()">
1754 <a name="oil-scalarmult-u32"></a><h3>oil_scalarmult_u32 ()</h3>
1755 <pre class="programlisting">void                oil_scalarmult_u32                  (<a
1756 href="../cog/cog-cog-stdint.html#uint32-t"
1757 >uint32_t</a> *d,
1758                                                          int dstr,
1759                                                          const <a
1760 href="../cog/cog-cog-stdint.html#uint32-t"
1761 >uint32_t</a> *s1,
1762                                                          int sstr,
1763                                                          const <a
1764 href="../cog/cog-cog-stdint.html#uint32-t"
1765 >uint32_t</a> *s2_1,
1766                                                          int n);</pre>
1767 <p>
1768 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1769 result in <em class="parameter"><code>d</code></em>.
1770 </p>
1771 <p>
1772 FIXME: This function is difficult to optimize and will likely be
1773 replaced.</p>
1774 <p>
1775 </p>
1776 <div class="variablelist"><table border="0">
1777 <col align="left" valign="top">
1778 <tbody>
1779 <tr>
1780 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1781 <td>
1782 </td>
1783 </tr>
1784 <tr>
1785 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1786 <td>
1787 </td>
1788 </tr>
1789 <tr>
1790 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1791 <td>
1792 </td>
1793 </tr>
1794 <tr>
1795 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1796 <td>
1797 </td>
1798 </tr>
1799 <tr>
1800 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1801 <td>
1802 </td>
1803 </tr>
1804 <tr>
1805 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1806 <td>
1807 </td>
1808 </tr>
1809 </tbody>
1810 </table></div>
1811 </div>
1812 <hr>
1813 <div class="refsect2" title="oil_scalarmult_u8 ()">
1814 <a name="oil-scalarmult-u8"></a><h3>oil_scalarmult_u8 ()</h3>
1815 <pre class="programlisting">void                oil_scalarmult_u8                   (<a
1816 href="../cog/cog-cog-stdint.html#uint8-t"
1817 >uint8_t</a> *d,
1818                                                          int dstr,
1819                                                          const <a
1820 href="../cog/cog-cog-stdint.html#uint8-t"
1821 >uint8_t</a> *s1,
1822                                                          int sstr,
1823                                                          const <a
1824 href="../cog/cog-cog-stdint.html#uint8-t"
1825 >uint8_t</a> *s2_1,
1826                                                          int n);</pre>
1827 <p>
1828 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> to each value in <em class="parameter"><code>s1</code></em> and places the
1829 result in <em class="parameter"><code>d</code></em>.
1830 </p>
1831 <p>
1832 FIXME: This function is difficult to optimize and will likely be
1833 replaced.</p>
1834 <p>
1835 </p>
1836 <div class="variablelist"><table border="0">
1837 <col align="left" valign="top">
1838 <tbody>
1839 <tr>
1840 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1841 <td>
1842 </td>
1843 </tr>
1844 <tr>
1845 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1846 <td>
1847 </td>
1848 </tr>
1849 <tr>
1850 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1851 <td>
1852 </td>
1853 </tr>
1854 <tr>
1855 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1856 <td>
1857 </td>
1858 </tr>
1859 <tr>
1860 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1861 <td>
1862 </td>
1863 </tr>
1864 <tr>
1865 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1866 <td>
1867 </td>
1868 </tr>
1869 </tbody>
1870 </table></div>
1871 </div>
1872 <hr>
1873 <div class="refsect2" title="oil_vectoradd_f32 ()">
1874 <a name="oil-vectoradd-f32"></a><h3>oil_vectoradd_f32 ()</h3>
1875 <pre class="programlisting">void                oil_vectoradd_f32                   (float *d,
1876                                                          int dstr,
1877                                                          const float *s1,
1878                                                          int sstr1,
1879                                                          const float *s2,
1880                                                          int sstr2,
1881                                                          int n,
1882                                                          const float *s3_1,
1883                                                          const float *s4_1);</pre>
1884 <p>
1885 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
1886 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
1887 adds the two results together and places the final result in
1888 <em class="parameter"><code>d</code></em>.
1889 </p>
1890 <p>
1891 FIXME: This function is difficult to optimize and will likely be
1892 replaced.</p>
1893 <p>
1894 </p>
1895 <div class="variablelist"><table border="0">
1896 <col align="left" valign="top">
1897 <tbody>
1898 <tr>
1899 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1900 <td>
1901 </td>
1902 </tr>
1903 <tr>
1904 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1905 <td>
1906 </td>
1907 </tr>
1908 <tr>
1909 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1910 <td>
1911 </td>
1912 </tr>
1913 <tr>
1914 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
1915 <td>
1916 </td>
1917 </tr>
1918 <tr>
1919 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
1920 <td>
1921 </td>
1922 </tr>
1923 <tr>
1924 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
1925 <td>
1926 </td>
1927 </tr>
1928 <tr>
1929 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1930 <td>
1931 </td>
1932 </tr>
1933 <tr>
1934 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
1935 <td>
1936 </td>
1937 </tr>
1938 <tr>
1939 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
1940 <td>
1941 </td>
1942 </tr>
1943 </tbody>
1944 </table></div>
1945 </div>
1946 <hr>
1947 <div class="refsect2" title="oil_vectoradd_f64 ()">
1948 <a name="oil-vectoradd-f64"></a><h3>oil_vectoradd_f64 ()</h3>
1949 <pre class="programlisting">void                oil_vectoradd_f64                   (double *d,
1950                                                          int dstr,
1951                                                          const double *s1,
1952                                                          int sstr1,
1953                                                          const double *s2,
1954                                                          int sstr2,
1955                                                          int n,
1956                                                          const double *s3_1,
1957                                                          const double *s4_1);</pre>
1958 <p>
1959 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
1960 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
1961 adds the two results together and places the final result in
1962 <em class="parameter"><code>d</code></em>.
1963 </p>
1964 <p>
1965 FIXME: This function is difficult to optimize and will likely be
1966 replaced.</p>
1967 <p>
1968 </p>
1969 <div class="variablelist"><table border="0">
1970 <col align="left" valign="top">
1971 <tbody>
1972 <tr>
1973 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1974 <td>
1975 </td>
1976 </tr>
1977 <tr>
1978 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1979 <td>
1980 </td>
1981 </tr>
1982 <tr>
1983 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1984 <td>
1985 </td>
1986 </tr>
1987 <tr>
1988 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
1989 <td>
1990 </td>
1991 </tr>
1992 <tr>
1993 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
1994 <td>
1995 </td>
1996 </tr>
1997 <tr>
1998 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
1999 <td>
2000 </td>
2001 </tr>
2002 <tr>
2003 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2004 <td>
2005 </td>
2006 </tr>
2007 <tr>
2008 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2009 <td>
2010 </td>
2011 </tr>
2012 <tr>
2013 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2014 <td>
2015 </td>
2016 </tr>
2017 </tbody>
2018 </table></div>
2019 </div>
2020 <hr>
2021 <div class="refsect2" title="oil_vectoradd_s16 ()">
2022 <a name="oil-vectoradd-s16"></a><h3>oil_vectoradd_s16 ()</h3>
2023 <pre class="programlisting">void                oil_vectoradd_s16                   (<a
2024 href="../cog/cog-cog-stdint.html#int16-t"
2025 >int16_t</a> *d,
2026                                                          int dstr,
2027                                                          const <a
2028 href="../cog/cog-cog-stdint.html#int16-t"
2029 >int16_t</a> *s1,
2030                                                          int sstr1,
2031                                                          const <a
2032 href="../cog/cog-cog-stdint.html#int16-t"
2033 >int16_t</a> *s2,
2034                                                          int sstr2,
2035                                                          int n,
2036                                                          const <a
2037 href="../cog/cog-cog-stdint.html#int16-t"
2038 >int16_t</a> *s3_1,
2039                                                          const <a
2040 href="../cog/cog-cog-stdint.html#int16-t"
2041 >int16_t</a> *s4_1);</pre>
2042 <p>
2043 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2044 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2045 adds the two results together and places the final result in
2046 <em class="parameter"><code>d</code></em>.
2047 </p>
2048 <p>
2049 FIXME: This function is difficult to optimize and will likely be
2050 replaced.</p>
2051 <p>
2052 </p>
2053 <div class="variablelist"><table border="0">
2054 <col align="left" valign="top">
2055 <tbody>
2056 <tr>
2057 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2058 <td>
2059 </td>
2060 </tr>
2061 <tr>
2062 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2063 <td>
2064 </td>
2065 </tr>
2066 <tr>
2067 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2068 <td>
2069 </td>
2070 </tr>
2071 <tr>
2072 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2073 <td>
2074 </td>
2075 </tr>
2076 <tr>
2077 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2078 <td>
2079 </td>
2080 </tr>
2081 <tr>
2082 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2083 <td>
2084 </td>
2085 </tr>
2086 <tr>
2087 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2088 <td>
2089 </td>
2090 </tr>
2091 <tr>
2092 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2093 <td>
2094 </td>
2095 </tr>
2096 <tr>
2097 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2098 <td>
2099 </td>
2100 </tr>
2101 </tbody>
2102 </table></div>
2103 </div>
2104 <hr>
2105 <div class="refsect2" title="oil_vectoradd_s32 ()">
2106 <a name="oil-vectoradd-s32"></a><h3>oil_vectoradd_s32 ()</h3>
2107 <pre class="programlisting">void                oil_vectoradd_s32                   (<a
2108 href="../cog/cog-cog-stdint.html#int32-t"
2109 >int32_t</a> *d,
2110                                                          int dstr,
2111                                                          const <a
2112 href="../cog/cog-cog-stdint.html#int32-t"
2113 >int32_t</a> *s1,
2114                                                          int sstr1,
2115                                                          const <a
2116 href="../cog/cog-cog-stdint.html#int32-t"
2117 >int32_t</a> *s2,
2118                                                          int sstr2,
2119                                                          int n,
2120                                                          const <a
2121 href="../cog/cog-cog-stdint.html#int32-t"
2122 >int32_t</a> *s3_1,
2123                                                          const <a
2124 href="../cog/cog-cog-stdint.html#int32-t"
2125 >int32_t</a> *s4_1);</pre>
2126 <p>
2127 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2128 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2129 adds the two results together and places the final result in
2130 <em class="parameter"><code>d</code></em>.
2131 </p>
2132 <p>
2133 FIXME: This function is difficult to optimize and will likely be
2134 replaced.</p>
2135 <p>
2136 </p>
2137 <div class="variablelist"><table border="0">
2138 <col align="left" valign="top">
2139 <tbody>
2140 <tr>
2141 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2142 <td>
2143 </td>
2144 </tr>
2145 <tr>
2146 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2147 <td>
2148 </td>
2149 </tr>
2150 <tr>
2151 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2152 <td>
2153 </td>
2154 </tr>
2155 <tr>
2156 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2157 <td>
2158 </td>
2159 </tr>
2160 <tr>
2161 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2162 <td>
2163 </td>
2164 </tr>
2165 <tr>
2166 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2167 <td>
2168 </td>
2169 </tr>
2170 <tr>
2171 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2172 <td>
2173 </td>
2174 </tr>
2175 <tr>
2176 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2177 <td>
2178 </td>
2179 </tr>
2180 <tr>
2181 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2182 <td>
2183 </td>
2184 </tr>
2185 </tbody>
2186 </table></div>
2187 </div>
2188 <hr>
2189 <div class="refsect2" title="oil_vectoradd_s8 ()">
2190 <a name="oil-vectoradd-s8"></a><h3>oil_vectoradd_s8 ()</h3>
2191 <pre class="programlisting">void                oil_vectoradd_s8                    (<a
2192 href="../cog/cog-cog-stdint.html#int8-t"
2193 >int8_t</a> *d,
2194                                                          int dstr,
2195                                                          const <a
2196 href="../cog/cog-cog-stdint.html#int8-t"
2197 >int8_t</a> *s1,
2198                                                          int sstr1,
2199                                                          const <a
2200 href="../cog/cog-cog-stdint.html#int8-t"
2201 >int8_t</a> *s2,
2202                                                          int sstr2,
2203                                                          int n,
2204                                                          const <a
2205 href="../cog/cog-cog-stdint.html#int8-t"
2206 >int8_t</a> *s3_1,
2207                                                          const <a
2208 href="../cog/cog-cog-stdint.html#int8-t"
2209 >int8_t</a> *s4_1);</pre>
2210 <p>
2211 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2212 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2213 adds the two results together and places the final result in
2214 <em class="parameter"><code>d</code></em>.
2215 </p>
2216 <p>
2217 FIXME: This function is difficult to optimize and will likely be
2218 replaced.</p>
2219 <p>
2220 </p>
2221 <div class="variablelist"><table border="0">
2222 <col align="left" valign="top">
2223 <tbody>
2224 <tr>
2225 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2226 <td>
2227 </td>
2228 </tr>
2229 <tr>
2230 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2231 <td>
2232 </td>
2233 </tr>
2234 <tr>
2235 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2236 <td>
2237 </td>
2238 </tr>
2239 <tr>
2240 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2241 <td>
2242 </td>
2243 </tr>
2244 <tr>
2245 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2246 <td>
2247 </td>
2248 </tr>
2249 <tr>
2250 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2251 <td>
2252 </td>
2253 </tr>
2254 <tr>
2255 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2256 <td>
2257 </td>
2258 </tr>
2259 <tr>
2260 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2261 <td>
2262 </td>
2263 </tr>
2264 <tr>
2265 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2266 <td>
2267 </td>
2268 </tr>
2269 </tbody>
2270 </table></div>
2271 </div>
2272 <hr>
2273 <div class="refsect2" title="oil_vectoradd_u16 ()">
2274 <a name="oil-vectoradd-u16"></a><h3>oil_vectoradd_u16 ()</h3>
2275 <pre class="programlisting">void                oil_vectoradd_u16                   (<a
2276 href="../cog/cog-cog-stdint.html#uint16-t"
2277 >uint16_t</a> *d,
2278                                                          int dstr,
2279                                                          const <a
2280 href="../cog/cog-cog-stdint.html#uint16-t"
2281 >uint16_t</a> *s1,
2282                                                          int sstr1,
2283                                                          const <a
2284 href="../cog/cog-cog-stdint.html#uint16-t"
2285 >uint16_t</a> *s2,
2286                                                          int sstr2,
2287                                                          int n,
2288                                                          const <a
2289 href="../cog/cog-cog-stdint.html#uint16-t"
2290 >uint16_t</a> *s3_1,
2291                                                          const <a
2292 href="../cog/cog-cog-stdint.html#uint16-t"
2293 >uint16_t</a> *s4_1);</pre>
2294 <p>
2295 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2296 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2297 adds the two results together and places the final result in
2298 <em class="parameter"><code>d</code></em>.
2299 </p>
2300 <p>
2301 FIXME: This function is difficult to optimize and will likely be
2302 replaced.</p>
2303 <p>
2304 </p>
2305 <div class="variablelist"><table border="0">
2306 <col align="left" valign="top">
2307 <tbody>
2308 <tr>
2309 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2310 <td>
2311 </td>
2312 </tr>
2313 <tr>
2314 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2315 <td>
2316 </td>
2317 </tr>
2318 <tr>
2319 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2320 <td>
2321 </td>
2322 </tr>
2323 <tr>
2324 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2325 <td>
2326 </td>
2327 </tr>
2328 <tr>
2329 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2330 <td>
2331 </td>
2332 </tr>
2333 <tr>
2334 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2335 <td>
2336 </td>
2337 </tr>
2338 <tr>
2339 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2340 <td>
2341 </td>
2342 </tr>
2343 <tr>
2344 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2345 <td>
2346 </td>
2347 </tr>
2348 <tr>
2349 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2350 <td>
2351 </td>
2352 </tr>
2353 </tbody>
2354 </table></div>
2355 </div>
2356 <hr>
2357 <div class="refsect2" title="oil_vectoradd_u32 ()">
2358 <a name="oil-vectoradd-u32"></a><h3>oil_vectoradd_u32 ()</h3>
2359 <pre class="programlisting">void                oil_vectoradd_u32                   (<a
2360 href="../cog/cog-cog-stdint.html#uint32-t"
2361 >uint32_t</a> *d,
2362                                                          int dstr,
2363                                                          const <a
2364 href="../cog/cog-cog-stdint.html#uint32-t"
2365 >uint32_t</a> *s1,
2366                                                          int sstr1,
2367                                                          const <a
2368 href="../cog/cog-cog-stdint.html#uint32-t"
2369 >uint32_t</a> *s2,
2370                                                          int sstr2,
2371                                                          int n,
2372                                                          const <a
2373 href="../cog/cog-cog-stdint.html#uint32-t"
2374 >uint32_t</a> *s3_1,
2375                                                          const <a
2376 href="../cog/cog-cog-stdint.html#uint32-t"
2377 >uint32_t</a> *s4_1);</pre>
2378 <p>
2379 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2380 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2381 adds the two results together and places the final result in
2382 <em class="parameter"><code>d</code></em>.
2383 </p>
2384 <p>
2385 FIXME: This function is difficult to optimize and will likely be
2386 replaced.</p>
2387 <p>
2388 </p>
2389 <div class="variablelist"><table border="0">
2390 <col align="left" valign="top">
2391 <tbody>
2392 <tr>
2393 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2394 <td>
2395 </td>
2396 </tr>
2397 <tr>
2398 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2399 <td>
2400 </td>
2401 </tr>
2402 <tr>
2403 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2404 <td>
2405 </td>
2406 </tr>
2407 <tr>
2408 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2409 <td>
2410 </td>
2411 </tr>
2412 <tr>
2413 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2414 <td>
2415 </td>
2416 </tr>
2417 <tr>
2418 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2419 <td>
2420 </td>
2421 </tr>
2422 <tr>
2423 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2424 <td>
2425 </td>
2426 </tr>
2427 <tr>
2428 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2429 <td>
2430 </td>
2431 </tr>
2432 <tr>
2433 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2434 <td>
2435 </td>
2436 </tr>
2437 </tbody>
2438 </table></div>
2439 </div>
2440 <hr>
2441 <div class="refsect2" title="oil_vectoradd_u8 ()">
2442 <a name="oil-vectoradd-u8"></a><h3>oil_vectoradd_u8 ()</h3>
2443 <pre class="programlisting">void                oil_vectoradd_u8                    (<a
2444 href="../cog/cog-cog-stdint.html#uint8-t"
2445 >uint8_t</a> *d,
2446                                                          int dstr,
2447                                                          const <a
2448 href="../cog/cog-cog-stdint.html#uint8-t"
2449 >uint8_t</a> *s1,
2450                                                          int sstr1,
2451                                                          const <a
2452 href="../cog/cog-cog-stdint.html#uint8-t"
2453 >uint8_t</a> *s2,
2454                                                          int sstr2,
2455                                                          int n,
2456                                                          const <a
2457 href="../cog/cog-cog-stdint.html#uint8-t"
2458 >uint8_t</a> *s3_1,
2459                                                          const <a
2460 href="../cog/cog-cog-stdint.html#uint8-t"
2461 >uint8_t</a> *s4_1);</pre>
2462 <p>
2463 Multiplies the constant <em class="parameter"><code>s3_1</code></em> with each element of <em class="parameter"><code>s1</code></em> and
2464 multiplies the constant <em class="parameter"><code>s4_1</code></em> with each element of <em class="parameter"><code>s2</code></em> and
2465 adds the two results together and places the final result in
2466 <em class="parameter"><code>d</code></em>.
2467 </p>
2468 <p>
2469 FIXME: This function is difficult to optimize and will likely be
2470 replaced.</p>
2471 <p>
2472 </p>
2473 <div class="variablelist"><table border="0">
2474 <col align="left" valign="top">
2475 <tbody>
2476 <tr>
2477 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2478 <td>
2479 </td>
2480 </tr>
2481 <tr>
2482 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2483 <td>
2484 </td>
2485 </tr>
2486 <tr>
2487 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2488 <td>
2489 </td>
2490 </tr>
2491 <tr>
2492 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2493 <td>
2494 </td>
2495 </tr>
2496 <tr>
2497 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2498 <td>
2499 </td>
2500 </tr>
2501 <tr>
2502 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2503 <td>
2504 </td>
2505 </tr>
2506 <tr>
2507 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2508 <td>
2509 </td>
2510 </tr>
2511 <tr>
2512 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2513 <td>
2514 </td>
2515 </tr>
2516 <tr>
2517 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
2518 <td>
2519 </td>
2520 </tr>
2521 </tbody>
2522 </table></div>
2523 </div>
2524 <hr>
2525 <div class="refsect2" title="oil_vectoradd_s_s8 ()">
2526 <a name="oil-vectoradd-s-s8"></a><h3>oil_vectoradd_s_s8 ()</h3>
2527 <pre class="programlisting">void                oil_vectoradd_s_s8                  (<a
2528 href="../cog/cog-cog-stdint.html#int8-t"
2529 >int8_t</a> *d,
2530                                                          int dstr,
2531                                                          const <a
2532 href="../cog/cog-cog-stdint.html#int8-t"
2533 >int8_t</a> *s1,
2534                                                          int sstr1,
2535                                                          const <a
2536 href="../cog/cog-cog-stdint.html#int8-t"
2537 >int8_t</a> *s2,
2538                                                          int sstr2,
2539                                                          int n);</pre>
2540 <p>
2541 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2542 of the type and places the result in <em class="parameter"><code>d</code></em>.
2543 </p>
2544 <p>
2545 FIXME: This function is difficult to optimize and will likely be
2546 replaced.</p>
2547 <p>
2548 </p>
2549 <div class="variablelist"><table border="0">
2550 <col align="left" valign="top">
2551 <tbody>
2552 <tr>
2553 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2554 <td>
2555 </td>
2556 </tr>
2557 <tr>
2558 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2559 <td>
2560 </td>
2561 </tr>
2562 <tr>
2563 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2564 <td>
2565 </td>
2566 </tr>
2567 <tr>
2568 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2569 <td>
2570 </td>
2571 </tr>
2572 <tr>
2573 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2574 <td>
2575 </td>
2576 </tr>
2577 <tr>
2578 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2579 <td>
2580 </td>
2581 </tr>
2582 <tr>
2583 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2584 <td>
2585 </td>
2586 </tr>
2587 </tbody>
2588 </table></div>
2589 </div>
2590 <hr>
2591 <div class="refsect2" title="oil_vectoradd_s_u8 ()">
2592 <a name="oil-vectoradd-s-u8"></a><h3>oil_vectoradd_s_u8 ()</h3>
2593 <pre class="programlisting">void                oil_vectoradd_s_u8                  (<a
2594 href="../cog/cog-cog-stdint.html#uint8-t"
2595 >uint8_t</a> *d,
2596                                                          int dstr,
2597                                                          const <a
2598 href="../cog/cog-cog-stdint.html#uint8-t"
2599 >uint8_t</a> *s1,
2600                                                          int sstr1,
2601                                                          const <a
2602 href="../cog/cog-cog-stdint.html#uint8-t"
2603 >uint8_t</a> *s2,
2604                                                          int sstr2,
2605                                                          int n);</pre>
2606 <p>
2607 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2608 of the type and places the result in <em class="parameter"><code>d</code></em>.
2609 </p>
2610 <p>
2611 FIXME: This function is difficult to optimize and will likely be
2612 replaced.</p>
2613 <p>
2614 </p>
2615 <div class="variablelist"><table border="0">
2616 <col align="left" valign="top">
2617 <tbody>
2618 <tr>
2619 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2620 <td>
2621 </td>
2622 </tr>
2623 <tr>
2624 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2625 <td>
2626 </td>
2627 </tr>
2628 <tr>
2629 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2630 <td>
2631 </td>
2632 </tr>
2633 <tr>
2634 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2635 <td>
2636 </td>
2637 </tr>
2638 <tr>
2639 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2640 <td>
2641 </td>
2642 </tr>
2643 <tr>
2644 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2645 <td>
2646 </td>
2647 </tr>
2648 <tr>
2649 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2650 <td>
2651 </td>
2652 </tr>
2653 </tbody>
2654 </table></div>
2655 </div>
2656 <hr>
2657 <div class="refsect2" title="oil_vectoradd_s_s16 ()">
2658 <a name="oil-vectoradd-s-s16"></a><h3>oil_vectoradd_s_s16 ()</h3>
2659 <pre class="programlisting">void                oil_vectoradd_s_s16                 (<a
2660 href="../cog/cog-cog-stdint.html#int16-t"
2661 >int16_t</a> *d,
2662                                                          int dstr,
2663                                                          const <a
2664 href="../cog/cog-cog-stdint.html#int16-t"
2665 >int16_t</a> *s1,
2666                                                          int sstr1,
2667                                                          const <a
2668 href="../cog/cog-cog-stdint.html#int16-t"
2669 >int16_t</a> *s2,
2670                                                          int sstr2,
2671                                                          int n);</pre>
2672 <p>
2673 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2674 of the type and places the result in <em class="parameter"><code>d</code></em>.
2675 </p>
2676 <p>
2677 FIXME: This function is difficult to optimize and will likely be
2678 replaced.</p>
2679 <p>
2680 </p>
2681 <div class="variablelist"><table border="0">
2682 <col align="left" valign="top">
2683 <tbody>
2684 <tr>
2685 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2686 <td>
2687 </td>
2688 </tr>
2689 <tr>
2690 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2691 <td>
2692 </td>
2693 </tr>
2694 <tr>
2695 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2696 <td>
2697 </td>
2698 </tr>
2699 <tr>
2700 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2701 <td>
2702 </td>
2703 </tr>
2704 <tr>
2705 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2706 <td>
2707 </td>
2708 </tr>
2709 <tr>
2710 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2711 <td>
2712 </td>
2713 </tr>
2714 <tr>
2715 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2716 <td>
2717 </td>
2718 </tr>
2719 </tbody>
2720 </table></div>
2721 </div>
2722 <hr>
2723 <div class="refsect2" title="oil_vectoradd_s_u16 ()">
2724 <a name="oil-vectoradd-s-u16"></a><h3>oil_vectoradd_s_u16 ()</h3>
2725 <pre class="programlisting">void                oil_vectoradd_s_u16                 (<a
2726 href="../cog/cog-cog-stdint.html#uint16-t"
2727 >uint16_t</a> *d,
2728                                                          int dstr,
2729                                                          const <a
2730 href="../cog/cog-cog-stdint.html#uint16-t"
2731 >uint16_t</a> *s1,
2732                                                          int sstr1,
2733                                                          const <a
2734 href="../cog/cog-cog-stdint.html#uint16-t"
2735 >uint16_t</a> *s2,
2736                                                          int sstr2,
2737                                                          int n);</pre>
2738 <p>
2739 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2740 of the type and places the result in <em class="parameter"><code>d</code></em>.
2741 </p>
2742 <p>
2743 FIXME: This function is difficult to optimize and will likely be
2744 replaced.</p>
2745 <p>
2746 </p>
2747 <div class="variablelist"><table border="0">
2748 <col align="left" valign="top">
2749 <tbody>
2750 <tr>
2751 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2752 <td>
2753 </td>
2754 </tr>
2755 <tr>
2756 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2757 <td>
2758 </td>
2759 </tr>
2760 <tr>
2761 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2762 <td>
2763 </td>
2764 </tr>
2765 <tr>
2766 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2767 <td>
2768 </td>
2769 </tr>
2770 <tr>
2771 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2772 <td>
2773 </td>
2774 </tr>
2775 <tr>
2776 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2777 <td>
2778 </td>
2779 </tr>
2780 <tr>
2781 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2782 <td>
2783 </td>
2784 </tr>
2785 </tbody>
2786 </table></div>
2787 </div>
2788 <hr>
2789 <div class="refsect2" title="oil_vectoradd_s_f32 ()">
2790 <a name="oil-vectoradd-s-f32"></a><h3>oil_vectoradd_s_f32 ()</h3>
2791 <pre class="programlisting">void                oil_vectoradd_s_f32                 (float *d,
2792                                                          int dstr,
2793                                                          const float *s1,
2794                                                          int sstr1,
2795                                                          const float *s2,
2796                                                          int sstr2,
2797                                                          int n);</pre>
2798 <p>
2799 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2800 [-1,1] and places the result in <em class="parameter"><code>d</code></em>.
2801 </p>
2802 <p>
2803 FIXME: This function is difficult to optimize and will likely be
2804 replaced.</p>
2805 <p>
2806 </p>
2807 <div class="variablelist"><table border="0">
2808 <col align="left" valign="top">
2809 <tbody>
2810 <tr>
2811 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2812 <td>
2813 </td>
2814 </tr>
2815 <tr>
2816 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2817 <td>
2818 </td>
2819 </tr>
2820 <tr>
2821 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2822 <td>
2823 </td>
2824 </tr>
2825 <tr>
2826 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2827 <td>
2828 </td>
2829 </tr>
2830 <tr>
2831 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2832 <td>
2833 </td>
2834 </tr>
2835 <tr>
2836 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2837 <td>
2838 </td>
2839 </tr>
2840 <tr>
2841 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2842 <td>
2843 </td>
2844 </tr>
2845 </tbody>
2846 </table></div>
2847 </div>
2848 <hr>
2849 <div class="refsect2" title="oil_vectoradd_s_f64 ()">
2850 <a name="oil-vectoradd-s-f64"></a><h3>oil_vectoradd_s_f64 ()</h3>
2851 <pre class="programlisting">void                oil_vectoradd_s_f64                 (double *d,
2852                                                          int dstr,
2853                                                          const double *s1,
2854                                                          int sstr1,
2855                                                          const double *s2,
2856                                                          int sstr2,
2857                                                          int n);</pre>
2858 <p>
2859 Adds each element of <em class="parameter"><code>s1</code></em> to <em class="parameter"><code>s2</code></em> and clamps the result to the range
2860 [-1,1] and places the result in <em class="parameter"><code>d</code></em>.
2861 </p>
2862 <p>
2863 FIXME: This function is difficult to optimize and will likely be
2864 replaced.</p>
2865 <p>
2866 </p>
2867 <div class="variablelist"><table border="0">
2868 <col align="left" valign="top">
2869 <tbody>
2870 <tr>
2871 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2872 <td>
2873 </td>
2874 </tr>
2875 <tr>
2876 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2877 <td>
2878 </td>
2879 </tr>
2880 <tr>
2881 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2882 <td>
2883 </td>
2884 </tr>
2885 <tr>
2886 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2887 <td>
2888 </td>
2889 </tr>
2890 <tr>
2891 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2892 <td>
2893 </td>
2894 </tr>
2895 <tr>
2896 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2897 <td>
2898 </td>
2899 </tr>
2900 <tr>
2901 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2902 <td>
2903 </td>
2904 </tr>
2905 </tbody>
2906 </table></div>
2907 </div>
2908 <hr>
2909 <div class="refsect2" title="oil_squaresum_f64 ()">
2910 <a name="oil-squaresum-f64"></a><h3>oil_squaresum_f64 ()</h3>
2911 <pre class="programlisting">void                oil_squaresum_f64                   (double *d,
2912                                                          const double *s,
2913                                                          int n);</pre>
2914 <p>
2915 Sums the square of each element in <em class="parameter"><code>s</code></em> and places the result in
2916 <em class="parameter"><code>dest</code></em>.</p>
2917 <p>
2918 </p>
2919 <div class="variablelist"><table border="0">
2920 <col align="left" valign="top">
2921 <tbody>
2922 <tr>
2923 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2924 <td>
2925 </td>
2926 </tr>
2927 <tr>
2928 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
2929 <td>
2930 </td>
2931 </tr>
2932 <tr>
2933 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2934 <td>
2935 </td>
2936 </tr>
2937 </tbody>
2938 </table></div>
2939 </div>
2940 <hr>
2941 <div class="refsect2" title="oil_squaresum_shifted_s16 ()">
2942 <a name="oil-squaresum-shifted-s16"></a><h3>oil_squaresum_shifted_s16 ()</h3>
2943 <pre class="programlisting">void                oil_squaresum_shifted_s16           (<a
2944 href="../cog/cog-cog-stdint.html#uint32-t"
2945 >uint32_t</a> *d,
2946                                                          const <a
2947 href="../cog/cog-cog-stdint.html#int16-t"
2948 >int16_t</a> *s,
2949                                                          int n);</pre>
2950 <p>
2951 Square each element in <em class="parameter"><code>s</code></em> and divide by (1&lt;&lt;15), and sum the
2952 results, placing the final result in <em class="parameter"><code>d</code></em>.</p>
2953 <p>
2954 </p>
2955 <div class="variablelist"><table border="0">
2956 <col align="left" valign="top">
2957 <tbody>
2958 <tr>
2959 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2960 <td>
2961 </td>
2962 </tr>
2963 <tr>
2964 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
2965 <td>
2966 </td>
2967 </tr>
2968 <tr>
2969 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2970 <td>
2971 </td>
2972 </tr>
2973 </tbody>
2974 </table></div>
2975 </div>
2976 <hr>
2977 <div class="refsect2" title="oil_sum_f64 ()">
2978 <a name="oil-sum-f64"></a><h3>oil_sum_f64 ()</h3>
2979 <pre class="programlisting">void                oil_sum_f64                         (double *d_1,
2980                                                          const double *s,
2981                                                          int sstr,
2982                                                          int n);</pre>
2983 <p>
2984 Sums the elements in the source array and places the result in
2985 <em class="parameter"><code>d</code></em>.</p>
2986 <p>
2987 </p>
2988 <div class="variablelist"><table border="0">
2989 <col align="left" valign="top">
2990 <tbody>
2991 <tr>
2992 <td><p><span class="term"><em class="parameter"><code>d_1</code></em> :</span></p></td>
2993 <td> destination
2994 </td>
2995 </tr>
2996 <tr>
2997 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
2998 <td> source array
2999 </td>
3000 </tr>
3001 <tr>
3002 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
3003 <td> stride of source elements
3004 </td>
3005 </tr>
3006 <tr>
3007 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3008 <td> number of elements
3009 </td>
3010 </tr>
3011 </tbody>
3012 </table></div>
3013 </div>
3014 <hr>
3015 <div class="refsect2" title="oil_add_f32 ()">
3016 <a name="oil-add-f32"></a><h3>oil_add_f32 ()</h3>
3017 <pre class="programlisting">void                oil_add_f32                         (float *d,
3018                                                          const float *s1,
3019                                                          const float *s2,
3020                                                          int n);</pre>
3021 <p>
3022 Adds elements in <em class="parameter"><code>s2</code></em> and <em class="parameter"><code>s1</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3023 <p>
3024 </p>
3025 <div class="variablelist"><table border="0">
3026 <col align="left" valign="top">
3027 <tbody>
3028 <tr>
3029 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3030 <td> destination
3031 </td>
3032 </tr>
3033 <tr>
3034 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3035 <td> source 1
3036 </td>
3037 </tr>
3038 <tr>
3039 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3040 <td> source 2
3041 </td>
3042 </tr>
3043 <tr>
3044 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3045 <td> number of elements
3046 </td>
3047 </tr>
3048 </tbody>
3049 </table></div>
3050 </div>
3051 <hr>
3052 <div class="refsect2" title="oil_divide_f32 ()">
3053 <a name="oil-divide-f32"></a><h3>oil_divide_f32 ()</h3>
3054 <pre class="programlisting">void                oil_divide_f32                      (float *d,
3055                                                          const float *s1,
3056                                                          const float *s2,
3057                                                          int n);</pre>
3058 <p>
3059 Divides elements in <em class="parameter"><code>s1</code></em> by <em class="parameter"><code>s2</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3060 <p>
3061 </p>
3062 <div class="variablelist"><table border="0">
3063 <col align="left" valign="top">
3064 <tbody>
3065 <tr>
3066 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3067 <td> destination
3068 </td>
3069 </tr>
3070 <tr>
3071 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3072 <td> source 1
3073 </td>
3074 </tr>
3075 <tr>
3076 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3077 <td> source 2
3078 </td>
3079 </tr>
3080 <tr>
3081 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3082 <td> number of elements
3083 </td>
3084 </tr>
3085 </tbody>
3086 </table></div>
3087 </div>
3088 <hr>
3089 <div class="refsect2" title="oil_floor_f32 ()">
3090 <a name="oil-floor-f32"></a><h3>oil_floor_f32 ()</h3>
3091 <pre class="programlisting">void                oil_floor_f32                       (float *d,
3092                                                          const float *s,
3093                                                          int n);</pre>
3094 <p>
3095 Calculates the greatest integer less than or equal to each element
3096 in <em class="parameter"><code>s</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3097 <p>
3098 </p>
3099 <div class="variablelist"><table border="0">
3100 <col align="left" valign="top">
3101 <tbody>
3102 <tr>
3103 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3104 <td> destination
3105 </td>
3106 </tr>
3107 <tr>
3108 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3109 <td> source
3110 </td>
3111 </tr>
3112 <tr>
3113 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3114 <td> number of elements
3115 </td>
3116 </tr>
3117 </tbody>
3118 </table></div>
3119 </div>
3120 <hr>
3121 <div class="refsect2" title="oil_inverse_f32 ()">
3122 <a name="oil-inverse-f32"></a><h3>oil_inverse_f32 ()</h3>
3123 <pre class="programlisting">void                oil_inverse_f32                     (float *d,
3124                                                          const float *s,
3125                                                          int n);</pre>
3126 <p>
3127 Calculates the multiplicative inverse of each element in <em class="parameter"><code>s</code></em> and
3128 places the result in <em class="parameter"><code>d</code></em>.</p>
3129 <p>
3130 </p>
3131 <div class="variablelist"><table border="0">
3132 <col align="left" valign="top">
3133 <tbody>
3134 <tr>
3135 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3136 <td> destination
3137 </td>
3138 </tr>
3139 <tr>
3140 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3141 <td> source
3142 </td>
3143 </tr>
3144 <tr>
3145 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3146 <td> number of elements
3147 </td>
3148 </tr>
3149 </tbody>
3150 </table></div>
3151 </div>
3152 <hr>
3153 <div class="refsect2" title="oil_maximum_f32 ()">
3154 <a name="oil-maximum-f32"></a><h3>oil_maximum_f32 ()</h3>
3155 <pre class="programlisting">void                oil_maximum_f32                     (float *d,
3156                                                          const float *s1,
3157                                                          const float *s2,
3158                                                          int n);</pre>
3159 <p>
3160 Places the greater of <em class="parameter"><code>s1</code></em> and <em class="parameter"><code>s2</code></em> in <em class="parameter"><code>d</code></em>.</p>
3161 <p>
3162 </p>
3163 <div class="variablelist"><table border="0">
3164 <col align="left" valign="top">
3165 <tbody>
3166 <tr>
3167 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3168 <td> destination
3169 </td>
3170 </tr>
3171 <tr>
3172 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3173 <td> source 1
3174 </td>
3175 </tr>
3176 <tr>
3177 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3178 <td> source 2
3179 </td>
3180 </tr>
3181 <tr>
3182 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3183 <td> number of elements
3184 </td>
3185 </tr>
3186 </tbody>
3187 </table></div>
3188 </div>
3189 <hr>
3190 <div class="refsect2" title="oil_minimum_f32 ()">
3191 <a name="oil-minimum-f32"></a><h3>oil_minimum_f32 ()</h3>
3192 <pre class="programlisting">void                oil_minimum_f32                     (float *d,
3193                                                          const float *s1,
3194                                                          const float *s2,
3195                                                          int n);</pre>
3196 <p>
3197 Places the lesser of <em class="parameter"><code>s1</code></em> and <em class="parameter"><code>s2</code></em> in <em class="parameter"><code>d</code></em>.</p>
3198 <p>
3199 </p>
3200 <div class="variablelist"><table border="0">
3201 <col align="left" valign="top">
3202 <tbody>
3203 <tr>
3204 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3205 <td> destination
3206 </td>
3207 </tr>
3208 <tr>
3209 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3210 <td> source 1
3211 </td>
3212 </tr>
3213 <tr>
3214 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3215 <td> source 2
3216 </td>
3217 </tr>
3218 <tr>
3219 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3220 <td> number of elements
3221 </td>
3222 </tr>
3223 </tbody>
3224 </table></div>
3225 </div>
3226 <hr>
3227 <div class="refsect2" title="oil_multiply_f32 ()">
3228 <a name="oil-multiply-f32"></a><h3>oil_multiply_f32 ()</h3>
3229 <pre class="programlisting">void                oil_multiply_f32                    (float *d,
3230                                                          const float *s1,
3231                                                          const float *s2,
3232                                                          int n);</pre>
3233 <p>
3234 Multiplies elements in <em class="parameter"><code>s1</code></em> and <em class="parameter"><code>s2</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3235 <p>
3236 </p>
3237 <div class="variablelist"><table border="0">
3238 <col align="left" valign="top">
3239 <tbody>
3240 <tr>
3241 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3242 <td> destination
3243 </td>
3244 </tr>
3245 <tr>
3246 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3247 <td> source 1
3248 </td>
3249 </tr>
3250 <tr>
3251 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3252 <td> source 2
3253 </td>
3254 </tr>
3255 <tr>
3256 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3257 <td> number of elements
3258 </td>
3259 </tr>
3260 </tbody>
3261 </table></div>
3262 </div>
3263 <hr>
3264 <div class="refsect2" title="oil_negative_f32 ()">
3265 <a name="oil-negative-f32"></a><h3>oil_negative_f32 ()</h3>
3266 <pre class="programlisting">void                oil_negative_f32                    (float *d,
3267                                                          const float *s,
3268                                                          int n);</pre>
3269 <p>
3270 Negates each element in <em class="parameter"><code>s</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3271 <p>
3272 </p>
3273 <div class="variablelist"><table border="0">
3274 <col align="left" valign="top">
3275 <tbody>
3276 <tr>
3277 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3278 <td> destination
3279 </td>
3280 </tr>
3281 <tr>
3282 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3283 <td> source
3284 </td>
3285 </tr>
3286 <tr>
3287 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3288 <td> number of elements
3289 </td>
3290 </tr>
3291 </tbody>
3292 </table></div>
3293 </div>
3294 <hr>
3295 <div class="refsect2" title="oil_scalaradd_f32_ns ()">
3296 <a name="oil-scalaradd-f32-ns"></a><h3>oil_scalaradd_f32_ns ()</h3>
3297 <pre class="programlisting">void                oil_scalaradd_f32_ns                (float *d,
3298                                                          const float *s1,
3299                                                          const float *s2_1,
3300                                                          int n);</pre>
3301 <p>
3302 Adds the constant value <em class="parameter"><code>s2_1</code></em> to each source element and places
3303 the result in <em class="parameter"><code>d</code></em>.</p>
3304 <p>
3305 </p>
3306 <div class="variablelist"><table border="0">
3307 <col align="left" valign="top">
3308 <tbody>
3309 <tr>
3310 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3311 <td> destination
3312 </td>
3313 </tr>
3314 <tr>
3315 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3316 <td> source
3317 </td>
3318 </tr>
3319 <tr>
3320 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
3321 <td> source
3322 </td>
3323 </tr>
3324 <tr>
3325 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3326 <td> number of elements
3327 </td>
3328 </tr>
3329 </tbody>
3330 </table></div>
3331 </div>
3332 <hr>
3333 <div class="refsect2" title="oil_scalarmultiply_f32_ns ()">
3334 <a name="oil-scalarmultiply-f32-ns"></a><h3>oil_scalarmultiply_f32_ns ()</h3>
3335 <pre class="programlisting">void                oil_scalarmultiply_f32_ns           (float *d,
3336                                                          const float *s1,
3337                                                          const float *s2_1,
3338                                                          int n);</pre>
3339 <p>
3340 Multiplies the constant value <em class="parameter"><code>s2_1</code></em> and each source element and places
3341 the result in <em class="parameter"><code>d</code></em>.</p>
3342 <p>
3343 </p>
3344 <div class="variablelist"><table border="0">
3345 <col align="left" valign="top">
3346 <tbody>
3347 <tr>
3348 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3349 <td> destination
3350 </td>
3351 </tr>
3352 <tr>
3353 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3354 <td> source
3355 </td>
3356 </tr>
3357 <tr>
3358 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
3359 <td> source
3360 </td>
3361 </tr>
3362 <tr>
3363 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3364 <td> number of elements
3365 </td>
3366 </tr>
3367 </tbody>
3368 </table></div>
3369 </div>
3370 <hr>
3371 <div class="refsect2" title="oil_sign_f32 ()">
3372 <a name="oil-sign-f32"></a><h3>oil_sign_f32 ()</h3>
3373 <pre class="programlisting">void                oil_sign_f32                        (float *d,
3374                                                          const float *s,
3375                                                          int n);</pre>
3376 <p>
3377 Calculates the sign of each element in <em class="parameter"><code>s</code></em> and
3378 places the result in <em class="parameter"><code>d</code></em>.</p>
3379 <p>
3380 </p>
3381 <div class="variablelist"><table border="0">
3382 <col align="left" valign="top">
3383 <tbody>
3384 <tr>
3385 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3386 <td> destination
3387 </td>
3388 </tr>
3389 <tr>
3390 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3391 <td> source
3392 </td>
3393 </tr>
3394 <tr>
3395 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3396 <td> number of elements
3397 </td>
3398 </tr>
3399 </tbody>
3400 </table></div>
3401 </div>
3402 <hr>
3403 <div class="refsect2" title="oil_subtract_f32 ()">
3404 <a name="oil-subtract-f32"></a><h3>oil_subtract_f32 ()</h3>
3405 <pre class="programlisting">void                oil_subtract_f32                    (float *d,
3406                                                          const float *s1,
3407                                                          const float *s2,
3408                                                          int n);</pre>
3409 <p>
3410 Subtracts elements in <em class="parameter"><code>s2</code></em> from <em class="parameter"><code>s1</code></em> and places the result in <em class="parameter"><code>d</code></em>.</p>
3411 <p>
3412 </p>
3413 <div class="variablelist"><table border="0">
3414 <col align="left" valign="top">
3415 <tbody>
3416 <tr>
3417 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3418 <td> destination
3419 </td>
3420 </tr>
3421 <tr>
3422 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3423 <td> source 1
3424 </td>
3425 </tr>
3426 <tr>
3427 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3428 <td> source 2
3429 </td>
3430 </tr>
3431 <tr>
3432 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3433 <td> number of elements
3434 </td>
3435 </tr>
3436 </tbody>
3437 </table></div>
3438 </div>
3439 </div>
3440 </div>
3441 <div class="footer">
3442 <hr>
3443           Generated by GTK-Doc V1.11</div>
3444 </body>
3445 </html>