|
nmpp
|
Умножение вектора на константу с прибавлением константы. Подробнее...
Функции | |
| void | nmppsMulC_AddC_32s (const nm32s *pSrcVec, int nMulVal, int nAddVal, nm32s *pDstVec, int nSize) |
| void | nmppsMulC_AddC_2x32s (int32x2 *dataSparseSrc, int32x2 *mulArg, int32x2 *addArg, int32x2 *dataSparseDst, int size, int stepSparseSrc, int stepSparseDst) |
| Sparse vector by constant multiplication with addition of constant. Подробнее... | |
Умножение вектора на константу с прибавлением константы.
| pSrcVec | Входной вектор. |
| nMulVal | Константа-множитель. |
| nAddVal | Добавляемая константа. |
| nSize | Размер векторов в элементах. |
| pDstVec | Результирующий вектор. |
| void nmppsMulC_AddC_2x32s | ( | int32x2 * | dataSparseSrc, |
| int32x2 * | mulArg, | ||
| int32x2 * | addArg, | ||
| int32x2 * | dataSparseDst, | ||
| int | size, | ||
| int | stepSparseSrc, | ||
| int | stepSparseDst | ||
| ) |
Sparse vector by constant multiplication with addition of constant.
where K is value of intWxK type
| [in] | dataSparseSrc | Input sparse vector of 64-bit packed words |
| [in] | mulArg | Packed 64-bit word with values to multiply |
| [in] | addArg | Packed 64-bit word with values to add |
| [in] | dataSparseDst | Ouput sparse vector of 64-bit packed words |
| [in] | size | actual amount of 64-bit packed words in sparse vector to be processed |
| [in] | stepSparseSrc | 64-bit step between input packed words in memory . By default=1 means that input vector is continuous |
| [in] | stepSparseDst | 64-bit step between output packed words in memory. By default=1 means that output vector is continuous |