Home | History | Annotate | Download | only in bench

Lines Matching refs:src

49 void eiToGmm(const EigenMatrixType& src, GmmMatrixType& dst)
51 dst.resize(src.rows(),src.cols());
52 for (int j=0; j<src.cols(); ++j)
53 for (int i=0; i<src.rows(); ++i)
54 dst(i,j) = src.coeff(i,j);
64 void eiToGsl(const EigenMatrixType& src, gsl_matrix** dst)
66 for (int j=0; j<src.cols(); ++j)
67 for (int i=0; i<src.rows(); ++i)
68 gsl_matrix_set(*dst, i, j, src.coeff(i,j));
76 void eiToUblas(const EigenMatrixType& src, UblasMatrixType& dst)
78 dst.resize(src.rows(),src.cols());
79 for (int j=0; j<src.cols(); ++j)
80 for (int i=0; i<src.rows(); ++i)
81 dst(i,j) = src.coeff(i,j);
84 void eiToUblasVec(const EigenType& src, UblasType& dst)
86 dst.resize(src.size());
87 for (int j=0; j<src.size(); ++j)
88 dst[j] = src.coeff(j);