November 30th, 2012, 2:59 pm
QuoteOriginally posted by: CuchulainnQuoteOriginally posted by: ExSanQuoteOriginally posted by: MaxCohenHi,I have set-up a basic C++ matrix class and need a to run Principal Component Analysis to give me all the eigen vetcors and values of a given matrix.Any body have some source code, I can use to do this?I don't want to use an existing library like boost to do this, but create my own!Cheers, Sam.Check Numerical Recipes in C, but the latest version? I tried previous version, but something is wrong with the code, so I am stuck too.If you find it, please send me a pdf / scan .Don't write your own matrix classes. Personally, I am not impressed by NR, at all.I think even Messrs Press, Flannery would suggest that you should use pre-canned routines rather than their code for linear algebra
knowledge comes, wisdom lingers