Lines Matching full:rows
36 for(Index i=0;i<C.rows();++i) in ref_prod()
43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
44 typename internal::enable_if<! ( (Rows ==1&&Depth!=1&&OA==ColMajor)
45 || (Depth==1&&Rows !=1&&OA==RowMajor)
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) in test_lazy_single() argument
52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom(); in test_lazy_single()
54 Matrix<T,Rows,Cols,OC> C(rows,cols); C.setRandom(); in test_lazy_single()
55 Matrix<T,Rows,Cols,OC> D(C); in test_lazy_single()
59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
60 typename internal::enable_if< ( (Rows ==1&&Depth!=1&&OA==ColMajor)
61 || (Depth==1&&Rows !=1&&OA==RowMajor)
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) in test_lazy_all_layout() argument
73 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,ColMajor>(rows,cols,depth) )); in test_lazy_all_layout()
74 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,ColMajor>(rows,cols,depth) )); in test_lazy_all_layout()
75 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,ColMajor>(rows,cols,depth) )); in test_lazy_all_layout()
76 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,ColMajor>(rows,cols,depth) )); in test_lazy_all_layout()
77 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,RowMajor>(rows,cols,depth) )); in test_lazy_all_layout()
78 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,RowMajor>(rows,cols,depth) )); in test_lazy_all_layout()
79 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,RowMajor>(rows,cols,depth) )); in test_lazy_all_layout()
80 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,RowMajor>(rows,cols,depth) )); in test_lazy_all_layout()
86 int rows = internal::random<int>(1,12); in test_lazy_l1() local
107 CALL_SUBTEST(( test_lazy_all_layout<T,-1,8,1>(rows) )); in test_lazy_l1()
108 CALL_SUBTEST(( test_lazy_all_layout<T,-1,3,1>(rows) )); in test_lazy_l1()
109 CALL_SUBTEST(( test_lazy_all_layout<T,-1,-1,1>(rows,cols) )); in test_lazy_l1()
115 int rows = internal::random<int>(1,12); in test_lazy_l2() local
129 CALL_SUBTEST(( test_lazy_all_layout<T,-1,1,4>(rows) )); in test_lazy_l2()
131 CALL_SUBTEST(( test_lazy_all_layout<T,-1,1,-1>(rows,1,depth) )); in test_lazy_l2()
151 int rows = internal::random<int>(1,12); in test_lazy_l3() local
164 CALL_SUBTEST(( test_lazy_all_layout<T,-1,6,4>(rows) )); in test_lazy_l3()
166 CALL_SUBTEST(( test_lazy_all_layout<T,-1,6,-1>(rows,6,depth) )); in test_lazy_l3()
213 template<int Rows>
216 Matrix< double, Rows, 2 > A; A.setRandom(); in bug_1311()
218 Matrix<double,Rows,1> res; in bug_1311()