Home
last modified time | relevance | path

Searched refs:A_stl (Results 1 – 25 of 26) sorted by relevance

12

/external/eigen/bench/btl/libs/tensors/
Dtensor_interface.hh41 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/
Dblaze_interface.hh50 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/
Dmtl4_interface.hh51 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/
Dblitz_interface.hh54 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()
Dtiny_blitz_interface.hh53 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/
Dtvmet_interface.hh50 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/
Dgmm_interface.hh52 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/
Dublas_interface.hh49 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/
Deigen2_interface.hh61 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/
Dc_interface_base.h28 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/
Daction_trisolve_matrix.hh44 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
Daction_trmm.hh44 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
Daction_aat_product.hh44 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
Daction_ata_product.hh44 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
Daction_lu_solve.hh51 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()
Daction_matrix_vector_product.hh44 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
Daction_ger.hh38 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
Daction_atv_product.hh42 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
Daction_matrix_matrix_product.hh44 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
Daction_symv.hh43 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
Daction_syr2.hh42 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
Daction_matrix_matrix_product_bis.hh50 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()
Daction_rot.hh38 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/
Deigen3_interface.hh52 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/
DREADME103 …*** 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_…

12