#include "main.h"
#include "unsupported/Eigen/SpecialFunctions"
Go to the source code of this file.
|
template<typename Scalar > |
bool | areApprox (const Scalar *a, const Scalar *b, int size) |
|
template<typename Scalar > |
bool | areApproxAbs (const Scalar *a, const Scalar *b, int size, const typename NumTraits< Scalar >::Real &refvalue) |
|
template<typename Scalar > |
EIGEN_DONT_INLINE bool | isApproxAbs (const Scalar &a, const Scalar &b, const typename NumTraits< Scalar >::Real &refvalue) |
|
template<typename T > |
T | Eigen::internal::negate (const T &x) |
|
template<typename Scalar > |
void | packetmath () |
|
template<typename Scalar > |
void | packetmath_complex () |
|
template<typename Scalar > |
void | packetmath_notcomplex () |
|
template<typename Scalar > |
void | packetmath_real () |
|
template<typename Scalar > |
void | packetmath_scatter_gather () |
|
template<typename Scalar , bool ConjLhs, bool ConjRhs> |
void | test_conj_helper (Scalar *data1, Scalar *data2, Scalar *ref, Scalar *pval) |
|
void | test_packetmath () |
|
#define CHECK_CWISE1 |
( |
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value: for (
int i=0;
i<PacketSize; ++
i) \
}
for(size_t i=1;i< poses.size();++i)
bool areApprox(const Scalar *a, const Scalar *b, int size)
EIGEN_DEVICE_FUNC void pstore(Scalar *to, const Packet &from)
Definition at line 64 of file packetmath.cpp.
#define CHECK_CWISE1_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
packet_helper<COND,Packet>
h;
\ for (
int i=0;
i<PacketSize; ++
i) \
h.store(data2, POP(h.load(data1)));
\ }
for(size_t i=1;i< poses.size();++i)
bool areApprox(const Scalar *a, const Scalar *b, int size)
Definition at line 91 of file packetmath.cpp.
#define CHECK_CWISE2_IF |
( |
|
COND, |
|
|
|
REFOP, |
|
|
|
POP |
|
) |
| |
Value:if(COND) { \
packet_helper<COND,Packet>
h;
\ for (
int i=0;
i<PacketSize; ++
i) \
ref[
i] = REFOP(data1[
i], data1[i+PacketSize]);
\ h.store(data2, POP(h.load(data1),h.load(data1+PacketSize)));
\ }
for(size_t i=1;i< poses.size();++i)
bool areApprox(const Scalar *a, const Scalar *b, int size)
Definition at line 99 of file packetmath.cpp.
#define REF_ADD |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)+(b)) |
#define REF_DIV |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)/(b)) |
#define REF_MUL |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)*(b)) |
#define REF_SUB |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)-(b)) |
template<typename Scalar >
template<typename Scalar >
template<typename Scalar >
template<typename Scalar >
template<typename Scalar >
void packetmath_complex |
( |
| ) |
|
template<typename Scalar >
void packetmath_notcomplex |
( |
| ) |
|
template<typename Scalar >
template<typename Scalar >
void packetmath_scatter_gather |
( |
| ) |
|
template<typename Scalar , bool ConjLhs, bool ConjRhs>
const bool g_vectorize_sse = false |