* exit Sum.h, exit Prod.h, welcome vectorization of redux() !

* add vectorization for minCoeff and maxCoeff
This commit is contained in:
Gael Guennebaud
2009-02-12 15:18:59 +00:00
parent dc97d483fd
commit 51c991af45
13 changed files with 497 additions and 760 deletions

View File

@@ -100,6 +100,14 @@ template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_pr
template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_predux_mul(const Packet& a)
{ return a; }
/** \internal \returns the min of the elements of \a a*/
template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_predux_min(const Packet& a)
{ return a; }
/** \internal \returns the max of the elements of \a a*/
template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_predux_max(const Packet& a)
{ return a; }
/** \internal \returns the reversed elements of \a a*/
template<typename Packet> inline Packet ei_preverse(const Packet& a)
{ return a; }