Calculating Covarince matrix using Eigen library, C++ Linux -


i'm trying operations on matrices using matrix library named, "eigen library". i've 50 x 100000 matrix in size , want find covariance matrix. so, can built_in function to find covariance matrix?

c++ sample code:

#include "eigen/core" #include "eigen/dense" using namespace eigen; using namespace std;  int main() { matrixxf my_matrx = matrixxf::random(50,100000); //now, want find function find covariance matrix of "my_matrx", below: matrixxf my_cov_matrix = any_function(my_matrx); } 


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -