Projects vectors to the specified subspace


- data (IntPtr)
- The input data. Each vector is eigher a single row or a single column.
- avg (IntPtr)
- The mean (average) vector. If it is a single-row vector, it means that the input vectors are stored as rows of data; Otherwise, it should be a single-column vector, then the vectors are stored as columns of data.
- eigenvectors (IntPtr)
- The eigenvectors (principle components). One vector per row.
- result (IntPtr)
- The output matrix of decomposition coefficients. The number of rows must be the same as the number of vectors, the number of columns must be less than or equal to the number of rows in eigenvectos. That it is less, the input vectors are projected into subspace of the first cols(result) principle components.