Lines Matching refs:m2
23 M m1(N, N), m2(N, N), m3(N, N); in test() local
27 initialize_matrix(m2); in test()
28 ublas::blas_3::tmm(m1, value_type(1), m2, m1); in test()
31 initialize_matrix(m2); in test()
32 ublas::blas_3::tmm(m1, value_type(1), m2, ublas::trans(m1)); in test()
35 initialize_matrix(m2); in test()
36 ublas::blas_3::tmm(m1, value_type(1), ublas::trans(m2), m1); in test()
39 initialize_matrix(m2); in test()
40 ublas::blas_3::tmm(m1, value_type(1), ublas::trans(m2), ublas::trans(m1)); in test()
44 initialize_matrix(m2); in test()
45 ublas::blas_3::tmm(m1, value_type(1), m2, ublas::herm(m1)); in test()
48 initialize_matrix(m2); in test()
49 ublas::blas_3::tmm(m1, value_type(1), ublas::herm(m2), m1); in test()
52 initialize_matrix(m2); in test()
53 ublas::blas_3::tmm(m1, value_type(1), ublas::trans(m2), ublas::herm(m1)); in test()
56 initialize_matrix(m2); in test()
57 ublas::blas_3::tmm(m1, value_type(1), ublas::herm(m2), ublas::trans(m1)); in test()
60 initialize_matrix(m2); in test()
61 ublas::blas_3::tmm(m1, value_type(1), ublas::herm(m2), ublas::herm(m1)); in test()
67 initialize_matrix(m2, ublas::lower_tag()); in test()
69 ublas::blas_3::tsm(m1, value_type(1), m2, ublas::lower_tag()); in test()
70 …std::cout << "tsm (m1, 1, m2) = " << m1 << " " << ublas::prod(m2, m1) - value_type(1) * m3 << std:… in test()
72 initialize_matrix(m2, ublas::upper_tag()); in test()
73 ublas::blas_3::tsm(m1, value_type(1), ublas::trans(m2), ublas::lower_tag()); in test()
74 …std::cout << "tsm (m1, 1, trans (m2)) = " << m1 << " " << ublas::prod(ublas::trans(m2), m1) - valu… in test()
77 initialize_matrix(m2, ublas::upper_tag()); in test()
78 ublas::blas_3::tsm(m1, value_type(1), ublas::herm(m2), ublas::lower_tag()); in test()
79 …std::cout << "tsm (m1, 1, herm (m2)) = " << m1 << " " << ublas::prod(ublas::herm(m2), m1) - value_… in test()
82 initialize_matrix(m2, ublas::upper_tag()); in test()
83 ublas::blas_3::tsm(m1, value_type(1), m2, ublas::upper_tag()); in test()
84 …std::cout << "tsm (m1, 1, m2) = " << m1 << " " << ublas::prod(m2, m1) - value_type(1) * m3 << std:… in test()
86 initialize_matrix(m2, ublas::lower_tag()); in test()
87 ublas::blas_3::tsm(m1, value_type(1), ublas::trans(m2), ublas::upper_tag()); in test()
88 …std::cout << "tsm (m1, 1, trans (m2)) = " << m1 << " " << ublas::prod(ublas::trans(m2), m1) - valu… in test()
91 initialize_matrix(m2, ublas::lower_tag()); in test()
92 ublas::blas_3::tsm(m1, value_type(1), ublas::herm(m2), ublas::upper_tag()); in test()
93 …std::cout << "tsm (m1, 1, herm (m2)) = " << m1 << " " << ublas::prod(ublas::herm(m2), m1) - value_… in test()
100 initialize_matrix(m2); in test()
102 ublas::blas_3::gmm(m1, value_type(1), value_type(1), m2, m3); in test()
105 initialize_matrix(m2); in test()
107 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::trans(m2), m3); in test()
110 initialize_matrix(m2); in test()
112 ublas::blas_3::gmm(m1, value_type(1), value_type(1), m2, ublas::trans(m3)); in test()
115 initialize_matrix(m2); in test()
117 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::trans(m2), ublas::trans(m3)); in test()
121 initialize_matrix(m2); in test()
123 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::herm(m2), m3); in test()
126 initialize_matrix(m2); in test()
128 ublas::blas_3::gmm(m1, value_type(1), value_type(1), m2, ublas::herm(m3)); in test()
131 initialize_matrix(m2); in test()
133 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::herm(m2), ublas::trans(m3)); in test()
136 initialize_matrix(m2); in test()
138 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::trans(m2), ublas::herm(m3)); in test()
141 initialize_matrix(m2); in test()
143 ublas::blas_3::gmm(m1, value_type(1), value_type(1), ublas::herm(m2), ublas::herm(m3)); in test()
149 initialize_matrix(m2); in test()
150 ublas::blas_3::srk(m1, value_type(1), value_type(1), m2); in test()
153 initialize_matrix(m2); in test()
154 ublas::blas_3::srk(m1, value_type(1), value_type(1), ublas::trans(m2)); in test()
160 initialize_matrix(m2); in test()
161 ublas::blas_3::hrk(m1, value_type(1), value_type(1), m2); in test()
164 initialize_matrix(m2); in test()
165 ublas::blas_3::hrk(m1, value_type(1), value_type(1), ublas::herm(m2)); in test()
171 initialize_matrix(m2); in test()
173 ublas::blas_3::sr2k(m1, value_type(1), value_type(1), m2, m3); in test()
176 initialize_matrix(m2); in test()
178 ublas::blas_3::sr2k(m1, value_type(1), value_type(1), ublas::trans(m2), ublas::trans(m3)); in test()
184 initialize_matrix(m2); in test()
186 ublas::blas_3::hr2k(m1, value_type(1), value_type(1), m2, m3); in test()
189 initialize_matrix(m2); in test()
191 ublas::blas_3::hr2k(m1, value_type(1), value_type(1), ublas::herm(m2), ublas::herm(m3)); in test()