Home | History | Annotate | Download | only in test

Lines Matching refs:Ref

35 // test Ref.h
45 typedef Ref<MatrixType> RefMat;
46 typedef Ref<DynMatrixType> RefDynMat;
47 typedef Ref<const DynMatrixType> ConstRefDynMat;
48 typedef Ref<RealDynMatrixType , 0, Stride<Dynamic,Dynamic> > RefRealMatWithStride;
95 typedef Ref<VectorType> RefMat;
96 typedef Ref<DynMatrixType> RefDynMat;
97 typedef Ref<const DynMatrixType> ConstRefDynMat;
98 typedef Ref<RealDynMatrixType , 0, InnerStride<> > RefRealMatWithStride;
99 typedef Ref<DynMatrixType , 0, InnerStride<> > RefMatWithStride;
149 // verify that ref-to-const don't have LvalueBit
151 VERIFY( !(internal::traits<Ref<ConstPlainObjectType> >::Flags & LvalueBit) );
152 VERIFY( !(internal::traits<Ref<ConstPlainObjectType, Aligned> >::Flags & LvalueBit) );
153 VERIFY( !(Ref<ConstPlainObjectType>::Flags & LvalueBit) );
154 VERIFY( !(Ref<ConstPlainObjectType, Aligned>::Flags & LvalueBit) );
158 EIGEN_DONT_INLINE void call_ref_1(Ref<VectorXf> a, const B &b) { VERIFY_IS_EQUAL(a,b); }
160 EIGEN_DONT_INLINE void call_ref_2(const Ref<const VectorXf>& a, const B &b) { VERIFY_IS_EQUAL(a,b); }
162 EIGEN_DONT_INLINE void call_ref_3(Ref<VectorXf,0,InnerStride<> > a, const B &b) { VERIFY_IS_EQUAL(a,b); }
164 EIGEN_DONT_INLINE void call_ref_4(const Ref<const VectorXf,0,InnerStride<> >& a, const B &b) { VERIFY_IS_EQUAL(a,b); }
166 EIGEN_DONT_INLINE void call_ref_5(Ref<MatrixXf,0,OuterStride<> > a, const B &b) { VERIFY_IS_EQUAL(a,b); }
168 EIGEN_DONT_INLINE void call_ref_6(const Ref<const MatrixXf,0,OuterStride<> >& a, const B &b) { VERIFY_IS_EQUAL(a,b); }
170 EIGEN_DONT_INLINE void call_ref_7(Ref<Matrix<float,Dynamic,3> > a, const B &b) { VERIFY_IS_EQUAL(a,b); }