* add ei_predux_mul internal function

* apply Ricard Marxer's prod() patch with fixes for the vectorized path
This commit is contained in:
Gael Guennebaud
2009-02-10 18:06:05 +00:00
parent a0cc5fba0a
commit cbbc6d940b
12 changed files with 397 additions and 1 deletions

View File

@@ -96,6 +96,10 @@ ei_preduxp(const Packet* vecs) { return vecs[0]; }
template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_predux(const Packet& a)
{ return a; }
/** \internal \returns the product of the elements of \a a*/
template<typename Packet> inline typename ei_unpacket_traits<Packet>::type ei_predux_mul(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; }