Home | History | Annotate | Download | only in test

Lines Matching refs:cols

37     for(Index j=0;j<C.cols();++j)
38 for(Index k=0;k<A.cols();++k)
43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
46 || (Cols ==1&&Depth!=1&&OB==RowMajor)
47 || (Depth==1&&Cols !=1&&OB==ColMajor)
48 || (Rows ==1&&Cols !=1&&OC==ColMajor)
49 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
50 test_lazy_single(int rows, int cols, int depth)
53 Matrix<T,Depth,Cols,OB> B(depth,cols); B.setRandom();
54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom();
55 Matrix<T,Rows,Cols,OC> D(C);
59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
62 || (Cols ==1&&Depth!=1&&OB==RowMajor)
63 || (Depth==1&&Cols !=1&&OB==ColMajor)
64 || (Rows ==1&&Cols !=1&&OC==ColMajor)
65 || (Cols ==1&&Rows !=1&&OC==RowMajor)),void>::type
70 template<typename T, int Rows, int Cols, int Depth>
71 void test_lazy_all_layout(int rows=Rows, int cols=Cols, int depth=Depth)
73 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,ColMajor>(rows,cols,depth) ));
74 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,ColMajor>(rows,cols,depth) ));
75 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,ColMajor>(rows,cols,depth) ));
76 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,ColMajor>(rows,cols,depth) ));
77 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,RowMajor>(rows,cols,depth) ));
78 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,RowMajor>(rows,cols,depth) ));
79 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,RowMajor>(rows,cols,depth) ));
80 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,RowMajor>(rows,cols,depth) ));
87 int cols = internal::random<int>(1,12);
105 CALL_SUBTEST(( test_lazy_all_layout<T,4,-1,1>(4,cols) ));
106 CALL_SUBTEST(( test_lazy_all_layout<T,7,-1,1>(7,cols) ));
109 CALL_SUBTEST(( test_lazy_all_layout<T,-1,-1,1>(rows,cols) ));
116 int cols = internal::random<int>(1,12);
143 CALL_SUBTEST(( test_lazy_all_layout<T,1,-1, 4>(1,cols) ));
145 CALL_SUBTEST(( test_lazy_all_layout<T,1,-1,-1>(1,cols,depth) ));
152 int cols = internal::random<int>(1,12);
176 CALL_SUBTEST(( test_lazy_all_layout<T,8,-1, 4>(8,cols) ));
178 CALL_SUBTEST(( test_lazy_all_layout<T,4,-1,-1>(4,cols,depth) ));