![]() |
![]() |
Functions | |
int_fast16_t | VCELPF3_matrixMult (VCELPF3_ComplexMatrix *matA, VCELPF3_ComplexMatrix *matB, VCELPF3_ComplexMatrix *result) |
VCE function for multiplying two matrices. The number of rows in the first matrix must be equal to the number of columns in the second matrix. More... | |
int_fast16_t | VCELPF3_matrixSum (VCELPF3_ComplexMatrix *matA, VCELPF3_ComplexMatrix *matB, VCELPF3_ComplexMatrix *result) |
VCE function for adding two matrices. The matrices must be of exact same sizes. More... | |
int_fast16_t | VCELPF3_matrixScalarSum (VCELPF3_ComplexMatrix *mat, float complex *scalar, VCELPF3_ComplexMatrix *result) |
VCE function for adding a scalar to a each of a matrix' elements. More... | |
int_fast16_t | VCELPF3_matrixScalarMult (VCELPF3_ComplexMatrix *mat, float complex *scalar, VCELPF3_ComplexMatrix *result) |
VCE function for multiplying each of a matrix' elements by a scalar. More... | |
int_fast16_t | VCELPF3_matrixNorm (VCELPF3_ComplexMatrix *mat, float complex *result) |
Compute the Frobenius norm of a matrix. More... | |
int_fast16_t VCELPF3_matrixMult | ( | VCELPF3_ComplexMatrix * | matA, |
VCELPF3_ComplexMatrix * | matB, | ||
VCELPF3_ComplexMatrix * | result | ||
) |
VCE function for multiplying two matrices. The number of rows in the first matrix must be equal to the number of columns in the second matrix.
Defined as:
in which A, B, and C are complex matrices with size [MxP], [MxN], and [NxP] respectively.
[in] | matA | a pointer to the first input matrix |
[in] | matB | a pointer to the second input matrix |
[out] | result | a pointer to a matrix where the output will be placed |
VCELPF3_STATUS_SUCCESS | The call was successful. |
VCELPF3_STATUS_ERROR | The input matrices were incompatible, i.e. the number of colums in matA were not equal to the number of rows in matB . |
int_fast16_t VCELPF3_matrixSum | ( | VCELPF3_ComplexMatrix * | matA, |
VCELPF3_ComplexMatrix * | matB, | ||
VCELPF3_ComplexMatrix * | result | ||
) |
VCE function for adding two matrices. The matrices must be of exact same sizes.
Defined as:
in which A, B, and C are complex matrices with size [MxN].
[in] | matA | a pointer to the first input matrix |
[in] | matB | a pointer to the second input matrix |
[out] | result | a pointer to a matrix where the output will be placed |
VCELPF3_STATUS_SUCCESS | The call was successful. |
VCELPF3_STATUS_ERROR | The input matrices were incompatible, i.e. the matrices were not of the exact same size. |
int_fast16_t VCELPF3_matrixScalarSum | ( | VCELPF3_ComplexMatrix * | mat, |
float complex * | scalar, | ||
VCELPF3_ComplexMatrix * | result | ||
) |
VCE function for adding a scalar to a each of a matrix' elements.
Defined as:
in which a is a scalar and B, and C are complex matrices with size [MxN].
[in] | mat | a pointer to the input matrix |
[in] | scalar | a pointer to a scalar |
[out] | result | a pointer to a matrix where the output will be placed |
VCELPF3_STATUS_SUCCESS | The call was successful. |
int_fast16_t VCELPF3_matrixScalarMult | ( | VCELPF3_ComplexMatrix * | mat, |
float complex * | scalar, | ||
VCELPF3_ComplexMatrix * | result | ||
) |
VCE function for multiplying each of a matrix' elements by a scalar.
Defined as:
in which a is a scalar and B, and C are complex matrices with size [MxN].
[in] | mat | a pointer to the input matrix |
[in] | scalar | a pointer to a scalar |
[out] | result | a pointer to a matrix where the output will be placed |
VCELPF3_STATUS_SUCCESS | The call was successful. |
int_fast16_t VCELPF3_matrixNorm | ( | VCELPF3_ComplexMatrix * | mat, |
float complex * | result | ||
) |
Compute the Frobenius norm of a matrix.
Defined as:
in which, X[MxN] is the input matrix and c is the Frobenius norm
[in] | mat | the input matrix |
[out] | result | a pointer where the output will be placed |
VCELPF3_STATUS_SUCCESS | The call was successful. |