Lines Matching defs:typename

35 template<typename Lhs, typename Rhs, int ProductType = internal::product_type<Lhs,Rhs>::value>
57 template<typename Lhs, typename Rhs> struct product_type
59 typedef typename remove_all<Lhs>::type _Lhs;
60 typedef typename remove_all<Rhs>::type _Rhs;
140 * This class defines the typename Type representing the optimized product expression
148 template<typename Lhs, typename Rhs, int ProductType>
152 // typedef typename internal::nested<Lhs,Rhs::ColsAtCompileTime>::type LhsNested;
153 // typedef typename internal::nested<Rhs,Lhs::RowsAtCompileTime>::type RhsNested;
158 template<typename Lhs, typename Rhs>
161 typedef typename internal::nested<Lhs, Rhs::ColsAtCompileTime, typename internal::plain_matrix_type<Lhs>::type >::type LhsNested;
162 typedef typename internal::nested<Rhs, Lhs::RowsAtCompileTime, typename internal::plain_matrix_type<Rhs>::type >::type RhsNested;
166 template<typename Lhs, typename Rhs>
169 typedef typename internal::nested<Lhs, Rhs::ColsAtCompileTime, typename internal::plain_matrix_type<Lhs>::type >::type LhsNested;
170 typedef typename internal::nested<Rhs, Lhs::RowsAtCompileTime, typename internal::plain_matrix_type<Rhs>::type >::type RhsNested;
175 template<typename Lhs, typename Rhs>
192 template<typename Lhs, typename Rhs>
194 : traits<Matrix<typename scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1> >
199 template<typename Lhs, typename Rhs>
202 public Matrix<typename internal::scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1>
204 typedef Matrix<typename internal::scalar_product_traits<typename Lhs::Scalar, typename Rhs::Scalar>::ReturnType,1,1> Base;
208 EIGEN_STATIC_ASSERT((internal::is_same<typename Lhs::RealScalar, typename Rhs::RealScalar>::value),
215 operator const typename Base::Scalar() const {
227 template<typename ProductType, typename Dest, typename Func>
230 typedef typename Dest::Index Index;
239 template<typename ProductType, typename Dest, typename Func>
241 typedef typename Dest::Index Index;
249 template<typename Lhs, typename Rhs>
256 template<typename Lhs, typename Rhs>
260 template<typename T> struct IsRowMajor : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {};
267 EIGEN_STATIC_ASSERT((internal::is_same<typename Lhs::RealScalar, typename Rhs::RealScalar>::value),
271 struct set { template<typename Dst, typename Src> void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() = src; } };
272 struct add { template<typename Dst, typename Src> void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() += src; } };
273 struct sub { template<typename Dst, typename Src> void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() -= src; } };
277 template<typename Dst, typename Src> void operator()(const Dst& dst, const Src& src) const {
282 template<typename Dest>
287 template<typename Dest>
292 template<typename Dest>
297 template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const
316 template<typename Lhs, typename Rhs>
326 template<typename Lhs, typename Rhs>
333 typedef typename Lhs::Scalar LhsScalar;
334 typedef typename Rhs::Scalar RhsScalar;
338 // EIGEN_STATIC_ASSERT((internal::is_same<typename Lhs::Scalar, typename Rhs::Scalar>::value),
343 typedef typename internal::conditional<int(Side)==OnTheRight,_LhsNested,_RhsNested>::type MatrixType;
345 template<typename Dest> void scaleAndAddTo(Dest& dst, const Scalar& alpha) const
359 template<typename ProductType, typename Dest>
360 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha)
365 ::run(GeneralProduct<Transpose<const typename ProductType::_RhsNested>,Transpose<const typename ProductType::_LhsNested>, GemvProduct>
370 template<typename Scalar,int Size,int MaxSize,bool Cond> struct gemv_static_vector_if;
372 template<typename Scalar,int Size,int MaxSize>
378 template<typename Scalar,int Size>
384 template<typename Scalar,int Size,int MaxSize>
408 template<typename ProductType, typename Dest>
409 static inline void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha)
411 typedef typename ProductType::Index Index;
412 typedef typename ProductType::LhsScalar LhsScalar;
413 typedef typename ProductType::RhsScalar RhsScalar;
414 typedef typename ProductType::Scalar ResScalar;
415 typedef typename ProductType::RealScalar RealScalar;
416 typedef typename ProductType::ActualLhsType ActualLhsType;
417 typedef typename ProductType::ActualRhsType ActualRhsType;
418 typedef typename ProductType::LhsBlasTraits LhsBlasTraits;
419 typedef typename ProductType::RhsBlasTraits RhsBlasTraits;
481 template<typename ProductType, typename Dest>
482 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha)
484 typedef typename ProductType::LhsScalar LhsScalar;
485 typedef typename ProductType::RhsScalar RhsScalar;
486 typedef typename ProductType::Scalar ResScalar;
487 typedef typename ProductType::Index Index;
488 typedef typename ProductType::ActualLhsType ActualLhsType;
489 typedef typename ProductType::ActualRhsType ActualRhsType;
490 typedef typename ProductType::_ActualRhsType _ActualRhsType;
491 typedef typename ProductType::LhsBlasTraits LhsBlasTraits;
492 typedef typename ProductType::RhsBlasTraits RhsBlasTraits;
494 typename add_const<ActualLhsType>::type actualLhs = LhsBlasTraits::extract(prod.lhs());
495 typename add_const<ActualRhsType>::type actualRhs = RhsBlasTraits::extract(prod.rhs());
517 Map<typename _ActualRhsType::PlainObject>(actualRhsPtr, actualRhs.size()) = actualRhs;
532 template<typename ProductType, typename Dest>
533 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha)
535 typedef typename Dest::Index Index;
545 template<typename ProductType, typename Dest>
546 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha)
548 typedef typename Dest::Index Index;
568 template<typename Derived>
569 template<typename OtherDerived>
570 inline const typename ProductReturnType<Derived, OtherDerived>::Type
595 return typename ProductReturnType<Derived,OtherDerived>::Type(derived(), other.derived());
609 template<typename Derived>
610 template<typename OtherDerived>
611 const typename LazyProductReturnType<Derived,OtherDerived>::Type
630 return typename LazyProductReturnType<Derived,OtherDerived>::Type(derived(), other.derived());