PCA is a dimension reduction technique for linearly separeted data. In order to deal with data that cannot be linearly separated, one can adopt the kernel trick. This generates the so called Kernel-PCA.
Here you have the code in C++ and Eigen.
Interview: The Summer of Larry (Ellison) Is About to Sail Into Port Via America's Cup - The world's premier sailing event -- marred by recent accidents -- is headed to the San Francisco Bay in July
31 minutes ago