|
Accu
|
#include "vdop.h"Functions | |
| void | vddiv (const int n, double x[], const int ix, const double y[], const int iy, const double 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... | |
| double | dscapr (const int n, const double x[], const double y[]) |
| Calculates the Euclidian inner product of two vectors. More... | |
| void | vdaxpy (const int n, double x[], const double y[], const double a, const double 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... | |
| double dscapr | ( | const int | n, |
| const double | x[], | ||
| const double | y[] | ||
| ) |
Calculates the Euclidian inner product of two vectors.
| [in] | n | number of elements in both vectors. |
| [in] | x | source vector |
| [in] | y | source vector |
| void vdaxpy | ( | const int | n, |
| double | x[], | ||
| const double | y[], | ||
| const double | a, | ||
| const double | 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.
| [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, |
| double | x[], | ||
| const int | ix, | ||
| const double | y[], | ||
| const int | iy, | ||
| const double | 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.
| [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 |
1.8.11