I am trying to achieve multiplication in array for doing PCA in java
I calculated mean and substrtacted it from each x values.Next I need to find covarience
So inorder to find that I need to multiply all the combinations in a given array
[a,b,c] --> (aa)(ab)(ac)(bb)(bc)(cc)
How to construct a matrix of all possible products?
Whether taking subset and multiplying solves the problem?