Arrays of Vectors and Matrices

Distinctive feature of IPP MX is matrix and vector arrays processing. For example, if there is an IPP MX function that can process two matrices, then there certainly exist analogous functions that process arrays of matrices, with one or both source operands being matrix arrays.

Matrix and vector arrays are processed element by element. Thus, the Add function for vector arrays adds the first vector of the first array to the first vector of the second array, then adds the second vectors of the two arrays, and so forth. The result is stored in the destination vector array. If the first operand is a single vector and the second is a vector array, then the function adds the single vector to each element of the array.

It is recommended to use these functions when processing large amounts of data, as it significantly accelerates your program.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.