Lines Matching +full:- +full:t

20 template<typename T,int R,int C>
23 constexpr int NBOUT = C-1; in test()
24 std::cout << "----\r\n"; in test()
29 PMat<T,R,C> a; in test()
31 PMat<T> a(R,C); in test()
41 PVector<T,NBOUT> res = a.row(0,1) + a.row(1,1); in test()
43 PVector<T> res = a.row(0,1) + a.row(1,1); in test()
50 PVector<T,NBOUT> da (a.row(0,1)); in test()
51 PVector<T,NBOUT> db (a.row(1,1)); in test()
52 PVector<T,NBOUT> ref; in test()
65 template<typename T,int R,int C>
68 constexpr int NBOUT = C-2; in swaptest()
69 std::cout << "----\r\n"; in swaptest()
74 PMat<T,R,C> a; in swaptest()
75 PMat<T,R,C> b; in swaptest()
77 PMat<T> a(R,C); in swaptest()
78 PMat<T> b(R,C); in swaptest()
92 typename CMSISMatrixType<T>::type mat; in swaptest()
116 template<typename T>
119 const int nb_tails = TailForTests<T>::tail; in all_row_test()
120 const int nb_loops = TailForTests<T>::loop; in all_row_test()
123 title<T>("Row test"); in all_row_test()
125 test<T,2,NBVEC_4>(); in all_row_test()
126 test<T,4,NBVEC_4>(); in all_row_test()
127 test<T,5,NBVEC_4>(); in all_row_test()
128 test<T,9,NBVEC_4>(); in all_row_test()
130 test<T,2,NBVEC_8>(); in all_row_test()
131 test<T,4,NBVEC_8>(); in all_row_test()
132 test<T,5,NBVEC_8>(); in all_row_test()
133 test<T,9,NBVEC_8>(); in all_row_test()
135 test<T,2,NBVEC_16>(); in all_row_test()
136 test<T,4,NBVEC_16>(); in all_row_test()
137 test<T,5,NBVEC_16>(); in all_row_test()
138 test<T,9,NBVEC_16>(); in all_row_test()
140 test<T,2,nb_loops>(); in all_row_test()
141 test<T,4,nb_loops>(); in all_row_test()
142 test<T,5,nb_loops>(); in all_row_test()
143 test<T,9,nb_loops>(); in all_row_test()
145 test<T,2,nb_loops+1>(); in all_row_test()
146 test<T,4,nb_loops+1>(); in all_row_test()
147 test<T,5,nb_loops+1>(); in all_row_test()
148 test<T,9,nb_loops+1>(); in all_row_test()
150 test<T,2,nb_loops+nb_tails>(); in all_row_test()
151 test<T,4,nb_loops+nb_tails>(); in all_row_test()
152 test<T,5,nb_loops+nb_tails>(); in all_row_test()
153 test<T,9,nb_loops+nb_tails>(); in all_row_test()
155 if constexpr (std::is_same<T,float>::value) in all_row_test()
157 title<T>("Swap test"); in all_row_test()
159 swaptest<T,2,NBVEC_32>(); in all_row_test()
160 swaptest<T,4,NBVEC_32>(); in all_row_test()
161 swaptest<T,5,NBVEC_32>(); in all_row_test()
162 swaptest<T,9,NBVEC_32>(); in all_row_test()
164 swaptest<T,2,nb_loops>(); in all_row_test()
165 swaptest<T,4,nb_loops>(); in all_row_test()
166 swaptest<T,5,nb_loops>(); in all_row_test()
167 swaptest<T,9,nb_loops>(); in all_row_test()
169 swaptest<T,2,nb_loops+1>(); in all_row_test()
170 swaptest<T,4,nb_loops+1>(); in all_row_test()
171 swaptest<T,5,nb_loops+1>(); in all_row_test()
172 swaptest<T,9,nb_loops+1>(); in all_row_test()
174 swaptest<T,2,nb_loops+nb_tails>(); in all_row_test()
175 swaptest<T,4,nb_loops+nb_tails>(); in all_row_test()
176 swaptest<T,5,nb_loops+nb_tails>(); in all_row_test()
177 swaptest<T,9,nb_loops+nb_tails>(); in all_row_test()