aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/GenericPacketMath.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <benoitjacob@google.com>2016-05-24 11:01:18 -0400
committerGravatar Benoit Jacob <benoitjacob@google.com>2016-05-24 11:01:18 -0400
commit40a16282c741599bbcd79000a612a2f4abece1db (patch)
treeb888d0dad317e3fae44b81b091fdbf2610cd5344 /Eigen/src/Core/GenericPacketMath.h
parent6136f4fdd432dfff1c374348da8f76b9c93ac8ab (diff)
Remove now-unused protate PacketMath func
Diffstat (limited to 'Eigen/src/Core/GenericPacketMath.h')
-rw-r--r--Eigen/src/Core/GenericPacketMath.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h
index 001c2ffbf..4c0e65957 100644
--- a/Eigen/src/Core/GenericPacketMath.h
+++ b/Eigen/src/Core/GenericPacketMath.h
@@ -346,22 +346,6 @@ template<typename Packet> EIGEN_DEVICE_FUNC inline typename unpacket_traits<Pack
template<typename Packet> EIGEN_DEVICE_FUNC inline Packet preverse(const Packet& a)
{ return a; }
-template<size_t offset, typename Packet>
-struct protate_impl
-{
- // Empty so attempts to use this unimplemented path will fail to compile.
- // Only specializations of this template should be used.
-};
-
-/** \internal \returns a packet with the coefficients rotated to the right in little-endian convention,
- * by the given offset, e.g. for offset == 1:
- * (packet[3], packet[2], packet[1], packet[0]) becomes (packet[0], packet[3], packet[2], packet[1])
- */
-template<size_t offset, typename Packet> EIGEN_DEVICE_FUNC inline Packet protate(const Packet& a)
-{
- return offset ? protate_impl<offset, Packet>::run(a) : a;
-}
-
/** \internal \returns \a a with real and imaginary part flipped (for complex type only) */
template<typename Packet> EIGEN_DEVICE_FUNC inline Packet pcplxflip(const Packet& a)
{