Go to the source code of this file.
|
| void | vddiv (const int n, float x[], const int ix, const float y[], const int iy, const float z[], const int iz) |
| | Element-wise vector divison x = y/z. A stride iy =0 for the source stride adds a constant value stored in y[0]. The same holds for vector z. More...
|
| |
| void | vdaxpy (const int n, float x[], const float y[], const float a, const float z[]) |
| | Element-wise vector multiplication x = y*z. A stride iy =0 for the source stride adds a constant value stored in y[0]. The same holds for vector z. More...
|
| |
| float | dscapr (const int n, const float x[], const float y[]) |
| | Calculates the Euclidian inner product of two vectors. More...
|
| |
| float dscapr |
( |
const int |
n, |
|
|
const float |
x[], |
|
|
const float |
y[] |
|
) |
| |
Calculates the Euclidian inner product of two vectors.
- Parameters
-
| [in] | n | number of elements in both vectors. |
| [in] | x | source vector |
| [in] | y | source vector |
- Returns
- Euclidian inner product
| void vdaxpy |
( |
const int |
n, |
|
|
float |
x[], |
|
|
const float |
y[], |
|
|
const float |
a, |
|
|
const float |
z[] |
|
) |
| |
Element-wise vector multiplication x = y*z. A stride iy =0 for the source stride adds a constant value stored in y[0]. The same holds for vector z.
- Parameters
-
| [in] | n | number of elements to multiply |
| [out] | x | target vector |
| [in] | ix | stride for target vector x |
| [in] | y | source vector |
| [in] | iy | stride for source vector y |
| [in] | z | source vector |
| [in] | iz | stride for source vector z |
| void vddiv |
( |
const int |
n, |
|
|
float |
x[], |
|
|
const int |
ix, |
|
|
const float |
y[], |
|
|
const int |
iy, |
|
|
const float |
z[], |
|
|
const int |
iz |
|
) |
| |
Element-wise vector divison x = y/z. A stride iy =0 for the source stride adds a constant value stored in y[0]. The same holds for vector z.
- Parameters
-
| [in] | n | number of elements to divide |
| [out] | x | target vector |
| [in] | ix | stride for target vector x |
| [in] | y | source vector |
| [in] | iy | stride for source vector y |
| [in] | z | source vector |
| [in] | iz | stride for source vector z |