libpca C++ library Icon

libpca C++ library

A C++ library for principal component analysis

Add a Review
9 Downloads (This Week)
Last Update:
Download libpca-1.3.3.tar.gz
Browse All Files
Mac Linux


libpca is a C++ library for principal component analysis and related transformations. It comes with example and unit tests. libpca is successfully tested on Linux and MacOSX using g++ (>=4.6), clang++ (>=3.2), and icc (>=14.0).

libpca requires Armadillo (>=3.2.4) which can be obtained as a pre-compiled package on most distributions or directly from

libpca is being developed by Christian Blume. Contact Christian at for any questions or comments.

libpca C++ library Web Site


Algorithms, Statistics


MIT License


  • computes a principal component analysis
  • computes energy, eigenvalues, eigenvectors, principal components
  • option to normalize the data matrix
  • option to bootstrap the eigenproblem to obtain uncertainty estimates of energy and eigenvalues
  • methods to project data records to the space of principal components and back
  • method to reduce the number of eigenvectors affecting the data record projections
  • methods to check the accuracy of the solution to the eigenproblem
  • methods to save and load pca properties to and from files
  • pca offers a standard C++ interface using not more than primitive types, std::string, and std::vector
  • libpca comes with example and unit tests
  • a great deal of libpca runs in parallel thanks to Armadillo


Other Useful Business Software

Communicate & Connect with Ring Central's VoIP Solution Icon

Cloud Powered Business Phone System

Communicate & Connect with Ring Central's VoIP Solution Icon
1 of 5 2 of 5 3 of 5 4 of 5 5 of 5
129 Reviews
  • Unrivaled value & reliability in one solution
  • Unlimited Calls/SMS/Conferencing/Fax
  • Trusted by 350,000+ Businesses
Write a Review

User Reviews

Be the first to post a review of libpca C++ library!

Additional Project Details



Intended Audience


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, thanks