1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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">
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>
25 <tr><td colspan="5" class="shortcuts">
26 <a href="#liboil-liboilfuncs-math.synopsis" class="shortcut">Top</a>
28 <a href="#liboil-liboilfuncs-math.description" class="shortcut">Description</a>
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>
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>
38 <td valign="top" align="right"></td>
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,
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,
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"
58 href="../cog/cog-cog-stdint.html#int16-t"
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"
67 href="../cog/cog-cog-stdint.html#int32-t"
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"
76 href="../cog/cog-cog-stdint.html#int8-t"
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"
85 href="../cog/cog-cog-stdint.html#uint8-t"
89 href="../cog/cog-cog-stdint.html#uint8-t"
93 void <a class="link" href="liboil-liboilfuncs-math.html#oil-multsum-f32" title="oil_multsum_f32 ()">oil_multsum_f32</a> (float *dest,
99 void <a class="link" href="liboil-liboilfuncs-math.html#oil-multsum-f64" title="oil_multsum_f64 ()">oil_multsum_f64</a> (double *dest,
105 void <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-f32" title="oil_scalaradd_f32 ()">oil_scalaradd_f32</a> (float *d,
111 void <a class="link" href="liboil-liboilfuncs-math.html#oil-scalaradd-f64" title="oil_scalaradd_f64 ()">oil_scalaradd_f64</a> (double *d,
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"
122 href="../cog/cog-cog-stdint.html#int16-t"
126 href="../cog/cog-cog-stdint.html#int16-t"
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"
134 href="../cog/cog-cog-stdint.html#int32-t"
138 href="../cog/cog-cog-stdint.html#int32-t"
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"
146 href="../cog/cog-cog-stdint.html#int8-t"
150 href="../cog/cog-cog-stdint.html#int8-t"
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"
158 href="../cog/cog-cog-stdint.html#uint16-t"
162 href="../cog/cog-cog-stdint.html#uint16-t"
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"
170 href="../cog/cog-cog-stdint.html#uint32-t"
174 href="../cog/cog-cog-stdint.html#uint32-t"
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"
182 href="../cog/cog-cog-stdint.html#uint8-t"
186 href="../cog/cog-cog-stdint.html#uint8-t"
189 void <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-f32" title="oil_scalarmult_f32 ()">oil_scalarmult_f32</a> (float *d,
195 void <a class="link" href="liboil-liboilfuncs-math.html#oil-scalarmult-f64" title="oil_scalarmult_f64 ()">oil_scalarmult_f64</a> (double *d,
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"
206 href="../cog/cog-cog-stdint.html#int16-t"
210 href="../cog/cog-cog-stdint.html#int16-t"
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"
218 href="../cog/cog-cog-stdint.html#int32-t"
222 href="../cog/cog-cog-stdint.html#int32-t"
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"
230 href="../cog/cog-cog-stdint.html#int8-t"
234 href="../cog/cog-cog-stdint.html#int8-t"
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"
242 href="../cog/cog-cog-stdint.html#uint16-t"
246 href="../cog/cog-cog-stdint.html#uint16-t"
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"
254 href="../cog/cog-cog-stdint.html#uint32-t"
258 href="../cog/cog-cog-stdint.html#uint32-t"
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"
266 href="../cog/cog-cog-stdint.html#uint8-t"
270 href="../cog/cog-cog-stdint.html#uint8-t"
273 void <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-f32" title="oil_vectoradd_f32 ()">oil_vectoradd_f32</a> (float *d,
282 void <a class="link" href="liboil-liboilfuncs-math.html#oil-vectoradd-f64" title="oil_vectoradd_f64 ()">oil_vectoradd_f64</a> (double *d,
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"
296 href="../cog/cog-cog-stdint.html#int16-t"
300 href="../cog/cog-cog-stdint.html#int16-t"
305 href="../cog/cog-cog-stdint.html#int16-t"
308 href="../cog/cog-cog-stdint.html#int16-t"
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"
315 href="../cog/cog-cog-stdint.html#int32-t"
319 href="../cog/cog-cog-stdint.html#int32-t"
324 href="../cog/cog-cog-stdint.html#int32-t"
327 href="../cog/cog-cog-stdint.html#int32-t"
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"
334 href="../cog/cog-cog-stdint.html#int8-t"
338 href="../cog/cog-cog-stdint.html#int8-t"
343 href="../cog/cog-cog-stdint.html#int8-t"
346 href="../cog/cog-cog-stdint.html#int8-t"
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"
353 href="../cog/cog-cog-stdint.html#uint16-t"
357 href="../cog/cog-cog-stdint.html#uint16-t"
362 href="../cog/cog-cog-stdint.html#uint16-t"
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"
372 href="../cog/cog-cog-stdint.html#uint32-t"
376 href="../cog/cog-cog-stdint.html#uint32-t"
381 href="../cog/cog-cog-stdint.html#uint32-t"
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"
391 href="../cog/cog-cog-stdint.html#uint8-t"
395 href="../cog/cog-cog-stdint.html#uint8-t"
400 href="../cog/cog-cog-stdint.html#uint8-t"
403 href="../cog/cog-cog-stdint.html#uint8-t"
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"
410 href="../cog/cog-cog-stdint.html#int8-t"
414 href="../cog/cog-cog-stdint.html#int8-t"
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"
423 href="../cog/cog-cog-stdint.html#uint8-t"
427 href="../cog/cog-cog-stdint.html#uint8-t"
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"
436 href="../cog/cog-cog-stdint.html#int16-t"
440 href="../cog/cog-cog-stdint.html#int16-t"
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"
449 href="../cog/cog-cog-stdint.html#uint16-t"
453 href="../cog/cog-cog-stdint.html#uint16-t"
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,
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,
471 void <a class="link" href="liboil-liboilfuncs-math.html#oil-squaresum-f64" title="oil_squaresum_f64 ()">oil_squaresum_f64</a> (double *d,
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"
478 href="../cog/cog-cog-stdint.html#int16-t"
481 void <a class="link" href="liboil-liboilfuncs-math.html#oil-sum-f64" title="oil_sum_f64 ()">oil_sum_f64</a> (double *d_1,
485 void <a class="link" href="liboil-liboilfuncs-math.html#oil-add-f32" title="oil_add_f32 ()">oil_add_f32</a> (float *d,
489 void <a class="link" href="liboil-liboilfuncs-math.html#oil-divide-f32" title="oil_divide_f32 ()">oil_divide_f32</a> (float *d,
493 void <a class="link" href="liboil-liboilfuncs-math.html#oil-floor-f32" title="oil_floor_f32 ()">oil_floor_f32</a> (float *d,
496 void <a class="link" href="liboil-liboilfuncs-math.html#oil-inverse-f32" title="oil_inverse_f32 ()">oil_inverse_f32</a> (float *d,
499 void <a class="link" href="liboil-liboilfuncs-math.html#oil-maximum-f32" title="oil_maximum_f32 ()">oil_maximum_f32</a> (float *d,
503 void <a class="link" href="liboil-liboilfuncs-math.html#oil-minimum-f32" title="oil_minimum_f32 ()">oil_minimum_f32</a> (float *d,
507 void <a class="link" href="liboil-liboilfuncs-math.html#oil-multiply-f32" title="oil_multiply_f32 ()">oil_multiply_f32</a> (float *d,
511 void <a class="link" href="liboil-liboilfuncs-math.html#oil-negative-f32" title="oil_negative_f32 ()">oil_negative_f32</a> (float *d,
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,
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,
522 void <a class="link" href="liboil-liboilfuncs-math.html#oil-sign-f32" title="oil_sign_f32 ()">oil_sign_f32</a> (float *d,
525 void <a class="link" href="liboil-liboilfuncs-math.html#oil-subtract-f32" title="oil_subtract_f32 ()">oil_subtract_f32</a> (float *d,
531 <div class="refsect1" title="Description">
532 <a name="liboil-liboilfuncs-math.description"></a><h2>Description</h2>
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,
548 Calculates the absolute value of each element in the source array
549 and writes it into the destination array.</p>
552 <div class="variablelist"><table border="0">
553 <col align="left" valign="top">
556 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
557 <td> destination array
561 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
562 <td> stride of destination elements
566 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
571 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
572 <td> stride of source elements
576 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
577 <td> number of elements in arrays
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,
592 Calculates the absolute value of each element in the source array
593 and writes it into the destination array.</p>
596 <div class="variablelist"><table border="0">
597 <col align="left" valign="top">
600 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
601 <td> destination array
605 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
606 <td> stride of destination elements
610 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
615 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
616 <td> stride of source elements
620 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
621 <td> number of elements in arrays
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"
635 href="../cog/cog-cog-stdint.html#int16-t"
640 Calculates the absolute value of each element in the source array
641 and writes it into the destination array.</p>
644 <div class="variablelist"><table border="0">
645 <col align="left" valign="top">
648 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
649 <td> destination array
653 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
654 <td> stride of destination elements
658 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
663 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
664 <td> stride of source elements
668 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
669 <td> number of elements in arrays
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"
683 href="../cog/cog-cog-stdint.html#int32-t"
688 Calculates the absolute value of each element in the source array
689 and writes it into the destination array.</p>
692 <div class="variablelist"><table border="0">
693 <col align="left" valign="top">
696 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
697 <td> destination array
701 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
702 <td> stride of destination elements
706 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
711 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
712 <td> stride of source elements
716 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
717 <td> number of elements in arrays
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"
731 href="../cog/cog-cog-stdint.html#int8-t"
736 Calculates the absolute value of each element in the source array
737 and writes it into the destination array.</p>
740 <div class="variablelist"><table border="0">
741 <col align="left" valign="top">
744 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
745 <td> destination array
749 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
750 <td> stride of destination elements
754 <td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
759 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
760 <td> stride of source elements
764 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
765 <td> number of elements in arrays
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"
779 href="../cog/cog-cog-stdint.html#uint8-t"
783 href="../cog/cog-cog-stdint.html#uint8-t"
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>.
791 FIXME: This class is difficult to optimize and will likely be
795 <div class="variablelist"><table border="0">
796 <col align="left" valign="top">
799 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
804 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
809 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
814 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
819 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
824 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
829 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>
850 <div class="variablelist"><table border="0">
851 <col align="left" valign="top">
854 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
859 <td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
864 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
869 <td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
874 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
879 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>
900 <div class="variablelist"><table border="0">
901 <col align="left" valign="top">
904 <td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
909 <td><p><span class="term"><em class="parameter"><code>src1</code></em> :</span></p></td>
914 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
919 <td><p><span class="term"><em class="parameter"><code>src2</code></em> :</span></p></td>
924 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
929 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
950 FIXME: This function is difficult to optimize and will likely be
954 <div class="variablelist"><table border="0">
955 <col align="left" valign="top">
958 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
963 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
968 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
973 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
978 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
983 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
1004 FIXME: This function is difficult to optimize and will likely be
1008 <div class="variablelist"><table border="0">
1009 <col align="left" valign="top">
1012 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1017 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1022 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1027 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1032 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1037 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1052 href="../cog/cog-cog-stdint.html#int16-t"
1056 href="../cog/cog-cog-stdint.html#int16-t"
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>.
1064 FIXME: This function is difficult to optimize and will likely be
1068 <div class="variablelist"><table border="0">
1069 <col align="left" valign="top">
1072 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1077 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1082 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1087 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1092 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1097 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1112 href="../cog/cog-cog-stdint.html#int32-t"
1116 href="../cog/cog-cog-stdint.html#int32-t"
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>.
1124 FIXME: This function is difficult to optimize and will likely be
1128 <div class="variablelist"><table border="0">
1129 <col align="left" valign="top">
1132 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1137 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1142 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1147 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1152 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1157 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1172 href="../cog/cog-cog-stdint.html#int8-t"
1176 href="../cog/cog-cog-stdint.html#int8-t"
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>.
1184 FIXME: This function is difficult to optimize and will likely be
1188 <div class="variablelist"><table border="0">
1189 <col align="left" valign="top">
1192 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1197 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1202 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1207 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1212 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1217 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1232 href="../cog/cog-cog-stdint.html#uint16-t"
1236 href="../cog/cog-cog-stdint.html#uint16-t"
1237 >uint16_t</a> *s2_1,
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>.
1244 FIXME: This function is difficult to optimize and will likely be
1248 <div class="variablelist"><table border="0">
1249 <col align="left" valign="top">
1252 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1257 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1262 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1267 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1272 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1277 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1292 href="../cog/cog-cog-stdint.html#uint32-t"
1296 href="../cog/cog-cog-stdint.html#uint32-t"
1297 >uint32_t</a> *s2_1,
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>.
1304 FIXME: This function is difficult to optimize and will likely be
1308 <div class="variablelist"><table border="0">
1309 <col align="left" valign="top">
1312 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1317 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1322 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1327 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1332 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1337 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1352 href="../cog/cog-cog-stdint.html#uint8-t"
1356 href="../cog/cog-cog-stdint.html#uint8-t"
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>.
1364 FIXME: This function is difficult to optimize and will likely be
1368 <div class="variablelist"><table border="0">
1369 <col align="left" valign="top">
1372 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1377 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1382 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1387 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1392 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1397 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
1418 FIXME: This function is difficult to optimize and will likely be
1422 <div class="variablelist"><table border="0">
1423 <col align="left" valign="top">
1426 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1431 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1436 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1441 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1446 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1451 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
1472 FIXME: This function is difficult to optimize and will likely be
1476 <div class="variablelist"><table border="0">
1477 <col align="left" valign="top">
1480 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1485 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1490 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1495 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1500 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1505 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1520 href="../cog/cog-cog-stdint.html#int16-t"
1524 href="../cog/cog-cog-stdint.html#int16-t"
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>.
1532 FIXME: This function is difficult to optimize and will likely be
1536 <div class="variablelist"><table border="0">
1537 <col align="left" valign="top">
1540 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1545 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1550 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1555 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1560 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1565 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1580 href="../cog/cog-cog-stdint.html#int32-t"
1584 href="../cog/cog-cog-stdint.html#int32-t"
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>.
1592 FIXME: This function is difficult to optimize and will likely be
1596 <div class="variablelist"><table border="0">
1597 <col align="left" valign="top">
1600 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1605 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1610 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1615 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1620 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1625 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1640 href="../cog/cog-cog-stdint.html#int8-t"
1644 href="../cog/cog-cog-stdint.html#int8-t"
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>.
1652 FIXME: This function is difficult to optimize and will likely be
1656 <div class="variablelist"><table border="0">
1657 <col align="left" valign="top">
1660 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1665 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1670 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1675 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1680 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1685 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1700 href="../cog/cog-cog-stdint.html#uint16-t"
1704 href="../cog/cog-cog-stdint.html#uint16-t"
1705 >uint16_t</a> *s2_1,
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>.
1712 FIXME: This function is difficult to optimize and will likely be
1716 <div class="variablelist"><table border="0">
1717 <col align="left" valign="top">
1720 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1725 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1730 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1735 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1740 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1745 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1760 href="../cog/cog-cog-stdint.html#uint32-t"
1764 href="../cog/cog-cog-stdint.html#uint32-t"
1765 >uint32_t</a> *s2_1,
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>.
1772 FIXME: This function is difficult to optimize and will likely be
1776 <div class="variablelist"><table border="0">
1777 <col align="left" valign="top">
1780 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1785 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1790 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1795 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1800 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1805 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
1820 href="../cog/cog-cog-stdint.html#uint8-t"
1824 href="../cog/cog-cog-stdint.html#uint8-t"
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>.
1832 FIXME: This function is difficult to optimize and will likely be
1836 <div class="variablelist"><table border="0">
1837 <col align="left" valign="top">
1840 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1845 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1850 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1855 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
1860 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
1865 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
1883 const float *s4_1);</pre>
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>.
1891 FIXME: This function is difficult to optimize and will likely be
1895 <div class="variablelist"><table border="0">
1896 <col align="left" valign="top">
1899 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1904 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1909 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1914 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
1919 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
1924 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
1929 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
1934 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
1939 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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,
1957 const double *s4_1);</pre>
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>.
1965 FIXME: This function is difficult to optimize and will likely be
1969 <div class="variablelist"><table border="0">
1970 <col align="left" valign="top">
1973 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
1978 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
1983 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
1988 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
1993 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
1998 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2003 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2008 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2013 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2028 href="../cog/cog-cog-stdint.html#int16-t"
2032 href="../cog/cog-cog-stdint.html#int16-t"
2037 href="../cog/cog-cog-stdint.html#int16-t"
2040 href="../cog/cog-cog-stdint.html#int16-t"
2041 >int16_t</a> *s4_1);</pre>
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>.
2049 FIXME: This function is difficult to optimize and will likely be
2053 <div class="variablelist"><table border="0">
2054 <col align="left" valign="top">
2057 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2062 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2067 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2072 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2077 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2082 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2087 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2092 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2097 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2112 href="../cog/cog-cog-stdint.html#int32-t"
2116 href="../cog/cog-cog-stdint.html#int32-t"
2121 href="../cog/cog-cog-stdint.html#int32-t"
2124 href="../cog/cog-cog-stdint.html#int32-t"
2125 >int32_t</a> *s4_1);</pre>
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>.
2133 FIXME: This function is difficult to optimize and will likely be
2137 <div class="variablelist"><table border="0">
2138 <col align="left" valign="top">
2141 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2146 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2151 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2156 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2161 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2166 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2171 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2176 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2181 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2196 href="../cog/cog-cog-stdint.html#int8-t"
2200 href="../cog/cog-cog-stdint.html#int8-t"
2205 href="../cog/cog-cog-stdint.html#int8-t"
2208 href="../cog/cog-cog-stdint.html#int8-t"
2209 >int8_t</a> *s4_1);</pre>
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>.
2217 FIXME: This function is difficult to optimize and will likely be
2221 <div class="variablelist"><table border="0">
2222 <col align="left" valign="top">
2225 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2230 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2235 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2240 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2245 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2250 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2255 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2260 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2265 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2280 href="../cog/cog-cog-stdint.html#uint16-t"
2284 href="../cog/cog-cog-stdint.html#uint16-t"
2289 href="../cog/cog-cog-stdint.html#uint16-t"
2290 >uint16_t</a> *s3_1,
2292 href="../cog/cog-cog-stdint.html#uint16-t"
2293 >uint16_t</a> *s4_1);</pre>
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>.
2301 FIXME: This function is difficult to optimize and will likely be
2305 <div class="variablelist"><table border="0">
2306 <col align="left" valign="top">
2309 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2314 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2319 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2324 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2329 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2334 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2339 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2344 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2349 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2364 href="../cog/cog-cog-stdint.html#uint32-t"
2368 href="../cog/cog-cog-stdint.html#uint32-t"
2373 href="../cog/cog-cog-stdint.html#uint32-t"
2374 >uint32_t</a> *s3_1,
2376 href="../cog/cog-cog-stdint.html#uint32-t"
2377 >uint32_t</a> *s4_1);</pre>
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>.
2385 FIXME: This function is difficult to optimize and will likely be
2389 <div class="variablelist"><table border="0">
2390 <col align="left" valign="top">
2393 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2398 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2403 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2408 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2413 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2418 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2423 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2428 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2433 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2448 href="../cog/cog-cog-stdint.html#uint8-t"
2452 href="../cog/cog-cog-stdint.html#uint8-t"
2457 href="../cog/cog-cog-stdint.html#uint8-t"
2460 href="../cog/cog-cog-stdint.html#uint8-t"
2461 >uint8_t</a> *s4_1);</pre>
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>.
2469 FIXME: This function is difficult to optimize and will likely be
2473 <div class="variablelist"><table border="0">
2474 <col align="left" valign="top">
2477 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2482 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2487 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2492 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2497 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2502 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2507 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
2512 <td><p><span class="term"><em class="parameter"><code>s3_1</code></em> :</span></p></td>
2517 <td><p><span class="term"><em class="parameter"><code>s4_1</code></em> :</span></p></td>
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"
2532 href="../cog/cog-cog-stdint.html#int8-t"
2536 href="../cog/cog-cog-stdint.html#int8-t"
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>.
2545 FIXME: This function is difficult to optimize and will likely be
2549 <div class="variablelist"><table border="0">
2550 <col align="left" valign="top">
2553 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2558 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2563 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2568 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2573 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2578 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2583 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
2598 href="../cog/cog-cog-stdint.html#uint8-t"
2602 href="../cog/cog-cog-stdint.html#uint8-t"
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>.
2611 FIXME: This function is difficult to optimize and will likely be
2615 <div class="variablelist"><table border="0">
2616 <col align="left" valign="top">
2619 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2624 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2629 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2634 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2639 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2644 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2649 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
2664 href="../cog/cog-cog-stdint.html#int16-t"
2668 href="../cog/cog-cog-stdint.html#int16-t"
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>.
2677 FIXME: This function is difficult to optimize and will likely be
2681 <div class="variablelist"><table border="0">
2682 <col align="left" valign="top">
2685 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2690 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2695 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2700 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2705 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2710 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2715 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
2730 href="../cog/cog-cog-stdint.html#uint16-t"
2734 href="../cog/cog-cog-stdint.html#uint16-t"
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>.
2743 FIXME: This function is difficult to optimize and will likely be
2747 <div class="variablelist"><table border="0">
2748 <col align="left" valign="top">
2751 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2756 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2761 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2766 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2771 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2776 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2781 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
2803 FIXME: This function is difficult to optimize and will likely be
2807 <div class="variablelist"><table border="0">
2808 <col align="left" valign="top">
2811 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2816 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2821 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2826 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2831 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2836 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2841 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>.
2863 FIXME: This function is difficult to optimize and will likely be
2867 <div class="variablelist"><table border="0">
2868 <col align="left" valign="top">
2871 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2876 <td><p><span class="term"><em class="parameter"><code>dstr</code></em> :</span></p></td>
2881 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
2886 <td><p><span class="term"><em class="parameter"><code>sstr1</code></em> :</span></p></td>
2891 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
2896 <td><p><span class="term"><em class="parameter"><code>sstr2</code></em> :</span></p></td>
2901 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
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>
2919 <div class="variablelist"><table border="0">
2920 <col align="left" valign="top">
2923 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2928 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
2933 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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"
2947 href="../cog/cog-cog-stdint.html#int16-t"
2951 Square each element in <em class="parameter"><code>s</code></em> and divide by (1<<15), and sum the
2952 results, placing the final result in <em class="parameter"><code>d</code></em>.</p>
2955 <div class="variablelist"><table border="0">
2956 <col align="left" valign="top">
2959 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
2964 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
2969 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
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,
2984 Sums the elements in the source array and places the result in
2985 <em class="parameter"><code>d</code></em>.</p>
2988 <div class="variablelist"><table border="0">
2989 <col align="left" valign="top">
2992 <td><p><span class="term"><em class="parameter"><code>d_1</code></em> :</span></p></td>
2997 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3002 <td><p><span class="term"><em class="parameter"><code>sstr</code></em> :</span></p></td>
3003 <td> stride of source elements
3007 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3008 <td> number of elements
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,
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>
3025 <div class="variablelist"><table border="0">
3026 <col align="left" valign="top">
3029 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3034 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3039 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3044 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3045 <td> number of elements
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,
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>
3062 <div class="variablelist"><table border="0">
3063 <col align="left" valign="top">
3066 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3071 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3076 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3081 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3082 <td> number of elements
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,
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>
3099 <div class="variablelist"><table border="0">
3100 <col align="left" valign="top">
3103 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3108 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3113 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3114 <td> number of elements
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,
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>
3131 <div class="variablelist"><table border="0">
3132 <col align="left" valign="top">
3135 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3140 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3145 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3146 <td> number of elements
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,
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>
3163 <div class="variablelist"><table border="0">
3164 <col align="left" valign="top">
3167 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3172 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3177 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3182 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3183 <td> number of elements
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,
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>
3200 <div class="variablelist"><table border="0">
3201 <col align="left" valign="top">
3204 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3209 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3214 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3219 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3220 <td> number of elements
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,
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>
3237 <div class="variablelist"><table border="0">
3238 <col align="left" valign="top">
3241 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3246 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3251 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3256 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3257 <td> number of elements
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,
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>
3273 <div class="variablelist"><table border="0">
3274 <col align="left" valign="top">
3277 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3282 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3287 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3288 <td> number of elements
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,
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>
3306 <div class="variablelist"><table border="0">
3307 <col align="left" valign="top">
3310 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3315 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3320 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
3325 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3326 <td> number of elements
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,
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>
3344 <div class="variablelist"><table border="0">
3345 <col align="left" valign="top">
3348 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3353 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3358 <td><p><span class="term"><em class="parameter"><code>s2_1</code></em> :</span></p></td>
3363 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3364 <td> number of elements
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,
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>
3381 <div class="variablelist"><table border="0">
3382 <col align="left" valign="top">
3385 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3390 <td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
3395 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3396 <td> number of elements
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,
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>
3413 <div class="variablelist"><table border="0">
3414 <col align="left" valign="top">
3417 <td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
3422 <td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
3427 <td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
3432 <td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
3433 <td> number of elements
3441 <div class="footer">
3443 Generated by GTK-Doc V1.11</div>