10#ifndef EIGEN_STL_FUNCTORS_H
11#define EIGEN_STL_FUNCTORS_H
18template<
typename T =
void>
20 typedef bool result_type;
21 EIGEN_DEVICE_FUNC
bool operator()(
const T& lhs,
const T& rhs)
const {
26template<
typename T =
void>
28 typedef bool result_type;
29 EIGEN_DEVICE_FUNC
bool operator()(
const T& lhs,
const T& rhs)
const {
63{
enum { Cost = 1, PacketAccess =
false }; };
67{
enum { Cost = 1, PacketAccess =
false }; };
71{
enum { Cost = 1, PacketAccess =
false }; };
75{
enum { Cost = 1, PacketAccess =
false }; };
79{
enum { Cost = 1, PacketAccess =
false }; };
83{
enum { Cost = 1, PacketAccess =
false }; };
87{
enum { Cost = 1, PacketAccess =
false }; };
91{
enum { Cost = 1, PacketAccess =
false }; };
99{
enum { Cost = 1, PacketAccess =
false }; };
105#if (EIGEN_COMP_CXXVER < 11)
116#if (EIGEN_COMP_CXXVER < 17)
128#ifdef EIGEN_STDEXT_SUPPORT
130template<
typename T0,
typename T1>
132{
enum { Cost = 0, PacketAccess =
false }; };
134template<
typename T0,
typename T1>
135struct functor_traits<
std::project2nd<T0,T1> >
136{
enum { Cost = 0, PacketAccess =
false }; };
138template<
typename T0,
typename T1>
139struct functor_traits<
std::select2nd<std::pair<T0,T1> > >
140{
enum { Cost = 0, PacketAccess =
false }; };
142template<
typename T0,
typename T1>
143struct functor_traits<
std::select1st<std::pair<T0,T1> > >
144{
enum { Cost = 0, PacketAccess =
false }; };
146template<
typename T0,
typename T1>
147struct functor_traits<
std::unary_compose<T0,T1> >
148{
enum { Cost = functor_traits<T0>::Cost + functor_traits<T1>::Cost, PacketAccess =
false }; };
150template<
typename T0,
typename T1,
typename T2>
151struct functor_traits<
std::binary_compose<T0,T1,T2> >
152{
enum { Cost = functor_traits<T0>::Cost + functor_traits<T1>::Cost + functor_traits<T2>::Cost, PacketAccess =
false }; };
158#ifdef EIGEN_FUNCTORS_PLUGIN
159#include EIGEN_FUNCTORS_PLUGIN
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16
Holds information about the various numeric (i.e.
Definition NumTraits.h:236
Definition XprHelper.h:176
Definition StlFunctors.h:19
Definition StlFunctors.h:27