/external/eigen/bench/btl/libs/tensors/ |
D | tensor_interface.hh | 41 static BTL_DONT_INLINE void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 42 A.resize(Eigen::array<Index,2>(A_stl[0].size(), A_stl.size())); in matrix_from_stl() 44 for (unsigned int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 45 for (unsigned int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 46 A.coeffRef(Eigen::array<Index,2>(i,j)) = A_stl[j][i]; in matrix_from_stl() 65 static BTL_DONT_INLINE void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 66 int N=A_stl.size(); in matrix_to_stl() 69 A_stl[j].resize(N); in matrix_to_stl() 71 A_stl[j][i] = A.coeff(Eigen::array<Index,2>(i,j)); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/blaze/ |
D | blaze_interface.hh | 50 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 51 A.resize(A_stl[0].size(), A_stl.size()); in matrix_from_stl() 53 for (int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 54 for (int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 55 A(i,j) = A_stl[j][i]; in matrix_from_stl() 73 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 74 int N=A_stl.size(); in matrix_to_stl() 76 A_stl[j].resize(N); in matrix_to_stl() 78 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/mtl4/ |
D | mtl4_interface.hh | 51 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 52 A.change_dim(A_stl[0].size(), A_stl.size()); in matrix_from_stl() 54 for (int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 55 for (int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 56 A(i,j) = A_stl[j][i]; in matrix_from_stl() 74 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 75 int N=A_stl.size(); in matrix_to_stl() 77 A_stl[j].resize(N); in matrix_to_stl() 79 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/blitz/ |
D | blitz_interface.hh | 54 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 55 A.resize(A_stl[0].size(),A_stl.size()); in matrix_from_stl() 56 for (int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 57 for (int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 58 A(i,j)=A_stl[j][i]; in matrix_from_stl() 76 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 77 int N=A_stl.size(); in matrix_to_stl() 79 A_stl[j].resize(N); in matrix_to_stl() 81 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
D | tiny_blitz_interface.hh | 53 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 54 for (int j=0; j<A_stl.size() ; j++) in matrix_from_stl() 55 for (int i=0; i<A_stl[j].size() ; i++) in matrix_from_stl() 56 A(i,j)=A_stl[j][i]; in matrix_from_stl() 69 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 70 int N = A_stl.size(); in matrix_to_stl() 73 A_stl[j].resize(N); in matrix_to_stl() 75 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/tvmet/ |
D | tvmet_interface.hh | 50 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 51 for (int j=0; j<A_stl.size() ; j++) in matrix_from_stl() 52 for (int i=0; i<A_stl[j].size() ; i++) in matrix_from_stl() 53 A(i,j) = A_stl[j][i]; in matrix_from_stl() 67 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 68 int N = A_stl.size(); in matrix_to_stl() 70 A_stl[j].resize(N); in matrix_to_stl() 72 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/gmm/ |
D | gmm_interface.hh | 52 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 53 A.resize(A_stl[0].size(),A_stl.size()); in matrix_from_stl() 55 for (int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 56 for (int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 57 A(i,j) = A_stl[j][i]; in matrix_from_stl() 70 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 71 int N=A_stl.size(); in matrix_to_stl() 74 A_stl[j].resize(N); in matrix_to_stl() 76 A_stl[j][i] = A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/ublas/ |
D | ublas_interface.hh | 49 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 50 A.resize(A_stl.size(),A_stl[0].size()); in matrix_from_stl() 51 for (int j=0; j<A_stl.size() ; j++) in matrix_from_stl() 52 for (int i=0; i<A_stl[j].size() ; i++) in matrix_from_stl() 53 A(i,j)=A_stl[j][i]; in matrix_from_stl() 67 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 68 int N=A_stl.size(); in matrix_to_stl() 71 A_stl[j].resize(N); in matrix_to_stl() 73 A_stl[j][i]=A(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/eigen2/ |
D | eigen2_interface.hh | 61 static BTL_DONT_INLINE void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 62 A.resize(A_stl[0].size(), A_stl.size()); in matrix_from_stl() 64 for (int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 65 for (int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 66 A.coeffRef(i,j) = A_stl[j][i]; in matrix_from_stl() 85 static BTL_DONT_INLINE void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 86 int N=A_stl.size(); in matrix_to_stl() 89 A_stl[j].resize(N); in matrix_to_stl() 91 A_stl[j][i] = A.coeff(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/libs/BLAS/ |
D | c_interface_base.h | 28 static inline void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 29 int N = A_stl.size(); in matrix_from_stl() 33 A[i+N*j] = A_stl[j][i]; in matrix_from_stl() 49 static inline void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 50 int N = A_stl.size(); in matrix_to_stl() 52 A_stl[j].resize(N); in matrix_to_stl() 54 A_stl[j][i] = A[i+N*j]; in matrix_to_stl()
|
/external/eigen/bench/btl/actions/ |
D | action_trisolve_matrix.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_trisolve_matrix() 52 A_stl[j][i] = 0; in Action_trisolve_matrix() 53 A_stl[j][j] += 3; in Action_trisolve_matrix() 58 Interface::matrix_from_stl(A_ref,A_stl); in Action_trisolve_matrix() 62 Interface::matrix_from_stl(A,A_stl); in Action_trisolve_matrix() 143 typename Interface::stl_matrix A_stl; member in Action_trisolve_matrix
|
D | action_trmm.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_trmm() 52 A_stl[j][i] = 0; in Action_trmm() 53 A_stl[j][j] += 3; in Action_trmm() 58 Interface::matrix_from_stl(A_ref,A_stl); in Action_trmm() 62 Interface::matrix_from_stl(A,A_stl); in Action_trmm() 143 typename Interface::stl_matrix A_stl; member in Action_trmm
|
D | action_aat_product.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_aat_product() 50 Interface::matrix_from_stl(A_ref,A_stl); in Action_aat_product() 53 Interface::matrix_from_stl(A,A_stl); in Action_aat_product() 112 STL_interface<typename Interface::real_type>::aat_product(A_stl,X_stl,_size); in check_result() 126 typename Interface::stl_matrix A_stl; member in Action_aat_product
|
D | action_ata_product.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_ata_product() 50 Interface::matrix_from_stl(A_ref,A_stl); in Action_ata_product() 53 Interface::matrix_from_stl(A,A_stl); in Action_ata_product() 112 STL_interface<typename Interface::real_type>::ata_product(A_stl,X_stl,_size); in check_result() 126 typename Interface::stl_matrix A_stl; member in Action_ata_product
|
D | action_lu_solve.hh | 51 typename Interface::stl_matrix A_stl; in calculate() local 55 init_matrix<pseudo_random>(A_stl,size); in calculate() 67 Interface::matrix_from_stl(A,A_stl); in calculate() 70 Interface::matrix_from_stl(LU,A_stl); in calculate() 108 … STL_interface<typename Interface::real_type>::matrix_vector_product(A_stl,X_stl,B_new_stl,size); in calculate()
|
D | action_matrix_vector_product.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_matrix_vector_product() 51 Interface::matrix_from_stl(A_ref,A_stl); in Action_matrix_vector_product() 52 Interface::matrix_from_stl(A,A_stl); in Action_matrix_vector_product() 117 STL_interface<typename Interface::real_type>::matrix_vector_product(A_stl,B_stl,X_stl,_size); in check_result() 131 typename Interface::stl_matrix A_stl; member in Action_matrix_vector_product
|
D | action_ger.hh | 38 init_matrix<pseudo_random>(A_stl,_size); in Action_ger() 44 Interface::matrix_from_stl(A_ref,A_stl); in Action_ger() 45 Interface::matrix_from_stl(A,A_stl); in Action_ger() 97 STL_interface<typename Interface::real_type>::ger(A_stl,B_stl,X_stl,_size); in check_result() 111 typename Interface::stl_matrix A_stl; member in Action_ger
|
D | action_atv_product.hh | 42 init_matrix<pseudo_random>(A_stl,_size); in Action_atv_product() 49 Interface::matrix_from_stl(A_ref,A_stl); in Action_atv_product() 53 Interface::matrix_from_stl(A,A_stl); in Action_atv_product() 99 STL_interface<typename Interface::real_type>::atv_product(A_stl,B_stl,X_stl,_size); in check_result() 112 typename Interface::stl_matrix A_stl; member in Action_atv_product
|
D | action_matrix_matrix_product.hh | 44 init_matrix<pseudo_random>(A_stl,_size); in Action_matrix_matrix_product() 51 Interface::matrix_from_stl(A_ref,A_stl); in Action_matrix_matrix_product() 55 Interface::matrix_from_stl(A,A_stl); in Action_matrix_matrix_product() 116 STL_interface<typename Interface::real_type>::matrix_matrix_product(A_stl,B_stl,X_stl,_size); in check_result() 128 typename Interface::stl_matrix A_stl; member in Action_matrix_matrix_product
|
D | action_symv.hh | 43 init_matrix_symm<pseudo_random>(A_stl,_size); in Action_symv() 49 Interface::matrix_from_stl(A_ref,A_stl); in Action_symv() 50 Interface::matrix_from_stl(A,A_stl); in Action_symv() 106 STL_interface<typename Interface::real_type>::symv(A_stl,B_stl,X_stl,_size); in check_result() 120 typename Interface::stl_matrix A_stl; member in Action_symv
|
D | action_syr2.hh | 42 init_matrix<pseudo_random>(A_stl,_size); in Action_syr2() 48 Interface::matrix_from_stl(A_ref,A_stl); in Action_syr2() 49 Interface::matrix_from_stl(A,A_stl); in Action_syr2() 100 STL_interface<typename Interface::real_type>::syr2(A_stl,B_stl,X_stl,_size); in check_result() 114 typename Interface::stl_matrix A_stl; member in Action_syr2
|
D | action_matrix_matrix_product_bis.hh | 50 typename Interface::stl_matrix A_stl; in calculate() local 54 init_matrix<pseudo_random>(A_stl,size); in calculate() 69 Interface::matrix_from_stl(A_ref,A_stl); in calculate() 73 Interface::matrix_from_stl(A,A_stl); in calculate() 123 STL_interface<typename Interface::real_type>::matrix_matrix_product(A_stl,B_stl,X_stl,size); in calculate()
|
D | action_rot.hh | 38 init_vector<pseudo_random>(A_stl,_size); in Action_rot() 42 Interface::vector_from_stl(A_ref,A_stl); in Action_rot() 43 Interface::vector_from_stl(A,A_stl); in Action_rot() 103 typename Interface::stl_vector A_stl; member in Action_rot
|
/external/eigen/bench/btl/libs/eigen3/ |
D | eigen3_interface.hh | 52 static BTL_DONT_INLINE void matrix_from_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_from_stl() argument 53 A.resize(A_stl[0].size(), A_stl.size()); in matrix_from_stl() 55 for (unsigned int j=0; j<A_stl.size() ; j++){ in matrix_from_stl() 56 for (unsigned int i=0; i<A_stl[j].size() ; i++){ in matrix_from_stl() 57 A.coeffRef(i,j) = A_stl[j][i]; in matrix_from_stl() 76 static BTL_DONT_INLINE void matrix_to_stl(gene_matrix & A, stl_matrix & A_stl){ in matrix_to_stl() argument 77 int N=A_stl.size(); in matrix_to_stl() 80 A_stl[j].resize(N); in matrix_to_stl() 82 A_stl[j][i] = A.coeff(i,j); in matrix_to_stl()
|
/external/eigen/bench/btl/ |
D | README | 103 …*** matrix_from_stl(gene_matrix & A, stl_matrix & A_stl) copy the content of an stl_matrix A_stl i… 107 …trix_to_stl(gene_matrix & A, stl_matrix & A_stl) copy the content of an gene_matrix A into an stl_… 109 …ctor_to_stl(gene_vector & A, stl_vector & A_stl) copy the content of an gene_vector A into an stl_…
|