![]() |
![]() |
|
CC27xxDriverLibrary
|
|
Functions | |
| void | APUVectorDot (uint16_t N, void *pInputA, void *pInputB, void *pResult) |
| APU accelerator for vector dot product c = A dot B. More... | |
| void | APUVectorDotConj (uint16_t N, void *pInputA, void *pInputB, void *pResult) |
| APU accelerator for vector dot product c = A dot conj(B) More... | |
| void | APUVectorMult (uint16_t N, void *pInputA, void *pInputB, void *pResult) |
| APU accelerator for element-wise product of two vectors. More... | |
| void | APUVectorScalarMult (uint16_t N, void *pInputA, void *pInputB, void *pResult) |
| APU accelerator for product of a vector and a scalar. More... | |
| void | APUVectorMultConj (uint16_t N, void *pInputA, void *pInputB, void *pResult) |
| APU accelerator for element-wise product of vector A with the conjugate of vector B. More... | |
| void | APUVectorSum (uint16_t N, void *pInputA, void *pInputB, uint16_t op, void *pResult) |
| APU accelerator for addition/subtraction of two vectors. More... | |
| void | APUVectorScalarSum (uint16_t N, void *pInputA, void *pInputB, uint16_t op, void *pResult) |
| APU accelerator for addition/subtraction of a vector and a scalar. More... | |
| void | APUVectorCart2Pol (uint16_t N, void *pInput, void *pResult) |
| APU accelerator for element-wise Cartesian-to-Polar transformation of a vector. More... | |
| void | APUVectorPol2Cart (uint16_t N, void *pInput, void *pResult, void *pTemp) |
| APU accelerator for element-wise Polar-to-Cartesian transformation of a vector. More... | |
| void | APUVectorSort (uint16_t N, void *pInput) |
| APU accelerator for in-place sorting of a vector. More... | |
| void APUVectorDot | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| void * | pResult | ||
| ) |
APU accelerator for vector dot product c = A dot B.
Calculate the scalar product (dot product/inner product) of two vectors.
Defined as:
in which, A, B are complex vectors, c is a complex scalar.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_DOTPROD, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorDotConj | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| void * | pResult | ||
| ) |
APU accelerator for vector dot product c = A dot conj(B)
Calculate the scalar product (dot product/inner product) of vector A and conjugate of vector B.
Defined as:
in which, A, B are complex vectors, c is a complex scalar.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_DOTPROD, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorMult | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| void * | pResult | ||
| ) |
APU accelerator for element-wise product of two vectors.
Calculate the element-wise product (also called Hadamard product) of two vectors.
Defined as:
in which, A, B and C are complex vectors.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_VECTMULT, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorScalarMult | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| void * | pResult | ||
| ) |
APU accelerator for product of a vector and a scalar.
Calculate the product of a vector and a scalar.
Defined as:
in which, A, C are complex vectors and b is a complex scalar.
| N | is the size of the input and output vectors |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the scalar, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_VECTMULT, and APU_GET_DATA_MEM_OFFSET.
Referenced by APUMatrixScalarMult().
| void APUVectorMultConj | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| void * | pResult | ||
| ) |
APU accelerator for element-wise product of vector A with the conjugate of vector B.
Defined as:
in which, A, B and C are complex vectors.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_VECTMULT, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorSum | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| uint16_t | op, | ||
| void * | pResult | ||
| ) |
APU accelerator for addition/subtraction of two vectors.
Calculate vector addition of two vectors.
Defined as:
in which, A, B and C are complex vectors.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| op | select the operator, addition or substraction |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_VECTSUM, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorScalarSum | ( | uint16_t | N, |
| void * | pInputA, | ||
| void * | pInputB, | ||
| uint16_t | op, | ||
| void * | pResult | ||
| ) |
APU accelerator for addition/subtraction of a vector and a scalar.
Calculate vector addition/subtraction of a vector and a scalar.
Defined as:
in which, A, and C are complex vectors, and b is a scalar.
| N | is the size of the input vectors. Both vectors must be the same size |
| pInputA | a pointer to the base of the first input vector, in APU memory |
| pInputB | a pointer to the base of the second input vector, in APU memory |
| op | select the operator, addition or substraction |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_VECTSUM, and APU_GET_DATA_MEM_OFFSET.
Referenced by APUMatrixScalarSum().
| void APUVectorCart2Pol | ( | uint16_t | N, |
| void * | pInput, | ||
| void * | pResult | ||
| ) |
APU accelerator for element-wise Cartesian-to-Polar transformation of a vector.
Calculate element-wise Cartesian-to-Polar transformation.
Defined as:
in which A, C are two complex vectors.
| N | length of the vector |
| pInput | a pointer to the base of the first input vector A, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
References APU_API_POLAR, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorPol2Cart | ( | uint16_t | N, |
| void * | pInput, | ||
| void * | pResult, | ||
| void * | pTemp | ||
| ) |
APU accelerator for element-wise Polar-to-Cartesian transformation of a vector.
Calculate element-wise Polar-to-Cartesian transformation.
Defined as:
in which A, C are two complex vectors.
| N | length of the vector |
| pInput | a pointer to the base of the first input vector A, in APU memory |
| pResult | a pointer to where the result will be placed, in APU memory |
| pTemp | a pointer to a temporary vector of length N in APU memory |
References APU_API_CARTESIAN, and APU_GET_DATA_MEM_OFFSET.
| void APUVectorSort | ( | uint16_t | N, |
| void * | pInput | ||
| ) |
APU accelerator for in-place sorting of a vector.
Sort (in-place) an input vector in descending order based on the real component of each element.
Defined as:
in which A, C are two complex vectors.
| N | length of the vector A/C |
| pInput | a pointer to the base of the input vector A, in APU memory |
References APU_API_SORT, and APU_GET_DATA_MEM_OFFSET.