source code for finding eigenvector Programming Software Development by nie86 i'm doing the eigenvector and eigenvalue calculator system. i don't know how to find eigenvector from a corresponding eigenvalue!! help!! how to compute eigenvector Programming Web Development by cussel … am confused in make nested loop and temporary for compute eigenvector please help me!!! $data = array( array(1,-0.52836,0… Re: how to compute eigenvector Programming Web Development by DavidB … see where an eigenvalue is input so that the corresponding eigenvector can be computed. Does the data in the array already… Re: how to compute eigenvector Programming Web Development by cussel this my thesis use PCA method in one of step there is compute eigenvector can you help me? Re: source code for finding eigenvector Programming Software Development by ddanbe The following has some source code to calculate eigenvalues [url]http://www.codeproject.com/KB/recipes/psdotnetmatrix.aspx[/url] The only problem : it's in C# not VB. But math code often consists of for loops and arrays so it should not be that difficult to translate it to VB. Re: how to compute eigenvector Programming Web Development by diafol is this homework? Re: reading in from vector to a two dimensional array Programming Software Development by phylon …;gsl/gsl_eigen.h> // trying to take the values of eigenvector and eigenvalues and put it in a array int main…, i); printf ("eigenvalue = %g\n", eval_i); printf ("eigenvector = \n"); gsl_vector_fprintf (data3, &evec_i.vector, "%g"… Re: Help me translate this easy Phyton code to C, please Programming Software Development by Gribouillis …, 1.0e-12) print "eigenvalue", t print "eigenvector", v expected=array([2.5, 2, 3, 1.5…(expected) """ my output --> eigenvalue 2.0 eigenvector [ 0.53916387 0.43133109 0.64699664 0.32349832] expected [ 0… Re: Help me translate this easy Phyton code to C, please Programming Software Development by Gribouillis …, v); printf("eigenvalue %.7f\n", t); printf("eigenvector %.7f %.7f %.7f %.7f\n", v[0], v[1…], v[2], v[3]); } /********** * my output --> * eigenvalue 2.0000000 * eigenvector 0.5391639 0.4313311 0.6469966 0.3234983 * * the compilation… reading in from vector to a two dimensional array Programming Software Development by phylon …, i); printf("eigenvalue = %g\n", eval_i); printf("eigenvector = \n"); gsl_vector_fprintf(stdout, &evec_i.vector, "%g"… Re: reading in from vector to a two dimensional array Programming Software Development by phylon … eigenvalue pretty easily but I am having trouble with the eigenvector I get different eigenvalues? Why? Programming Software Development by jazzvibes … matrix and I would like to find the eigenvalues and eigenvector. In both MatLAB and Python (pylab) I can use the… 3D Matrices and Eigenvalues of zero Programming Software Development by frogy … matrix ends up being 0 and so does the corresponding eigenvector. Thus my equation ends up being empty. I sort of… Error in my code Programming Software Development by yinyue …; IplImage ** faceImgArr =0; CvMat * personNumTruthMat =0; IplImage * pAvgTrainImg = 0; IplImage ** eigenVector =0; CvMat * eigenValMat =0; CvMat * projectedTrainFaceMat =0; void learn (); void… Re: Error in my code Programming Software Development by adityatandon …; IplImage ** faceImgArr =0; CvMat * personNumTruthMat =0; IplImage * pAvgTrainImg = 0; IplImage ** eigenVector =0; CvMat * eigenValMat =0; CvMat * projectedTrainFaceMat =0; //---------------------------------------------- //------------------- Function Prototypes ----------------- void… Re: Error in my code Programming Software Development by yinyue …; IplImage ** faceImgArr =0; CvMat * personNumTruthMat =0; IplImage * pAvgTrainImg = 0; IplImage ** eigenVector =0; CvMat * eigenValMat =0; CvMat * projectedTrainFaceMat =0; //---------------------------------------------- //------------------- Function Prototypes ----------------- void… Help me translate this easy Phyton code to C, please Programming Software Development by John_Cro …). I am a ph.d. student and need to investigate eigenvector centrality measure for my homework. I found Phyton code on… Re: What is google current algorithm? Digital Media Digital Marketing Search Engine Strategies by JoeBloggs … by Wei back in 1952 based on calculating the primary eigenvector of the connectivity matrix (which pages are connected to which… Re: Precision in unit tests? Programming Software Development by StuXYZ … normally there is an acceptable tolerance, but for say an eigenvector determination, is not really an option to determine the expected… Re: Reading and extracting data from UNV file i c# Programming Software Development by suryawanshi … Pattern % 20 - Partial Power % 21 - Partial Coherence % 22 - Eigenvalue % 23 - Eigenvector % 24 - Shock Response Spectrum % 25 - Finite Impulse Response Filter % 26… Re: reading in from vector to a two dimensional array Programming Software Development by Ancient Dragon I don't really know, but did you try the obvious ? [code] for(i = 0; i < 4; ++i) { for(j = 0; j < 4; ++j) { data[i][j] = gsl_matrix_column(i, j); } } [/code] Re: reading in from vector to a two dimensional array Programming Software Development by dwks You're looking in the wrong section of the manual. You don't want to create a vector view. Check out this section: [url]http://www.gnu.org/software/gsl/manual/html_node/Accessing-matrix-elements.html[/url] I think that this is what you seek: [quote][code]double gsl_matrix_get (const gsl_matrix * m, size_t i, size_t j)[/code] This function … Re: I get different eigenvalues? Why? Programming Software Development by Gribouillis Your matrix has 2 eigenvalues: 30 and -30. The eigenspace for the eigenvalue -30 is the space of vectors proportional to (1, 1, 1). Both Matlab and python seem to return vectors with euclidian norm 1. There are 2 possible eigenvectors with norm 1 (1/sqrt(3), 1/sqrt(3), 1/sqrt(3)) and the opposite. Matlab finds the first one and python the other (it… Re: 3D Matrices and Eigenvalues of zero Programming Software Development by ultimatebuster try 0.0? convert all int to float Re: Error in my code Programming Software Development by Srinivas0 you should use code tags when posting a program. Re: Error in my code Programming Software Development by yinyue [QUOTE=Srinivas0;1726080]you should use code tags when posting a program.[/QUOTE] ok2...sorry for that.. Re: Error in my code Programming Software Development by thines01 Always start with the first error and ignore the rest for now. Where is [B]eigenVectArr[/B] actgually declared? Re: Error in my code Programming Software Development by yinyue [QUOTE=thines01;1726093]Always start with the first error and ignore the rest for now. Where is [B]eigenVectArr[/B] actgually declared?[/QUOTE] tq2..i make a mistake on type the code..but when i had declare that eigenVectArr it still have the prob.. Re: Error in my code Programming Software Development by thines01 It still says it is undeclared? Re: Error in my code Programming Software Development by yinyue [QUOTE=thines01;1726228]It still says it is undeclared?[/QUOTE] nope...another error which f1: is not a member of '__unnamed..i did't understand what the meaning of this error..hope u can help me...thank you..