11 #ifndef EIGEN_INTEGRAL_CONSTANT_H
12 #define EIGEN_INTEGRAL_CONSTANT_H
18 template<
int N>
class FixedInt;
19 template<
int N>
class VariableAndFixedInt;
58 #ifndef EIGEN_INTERNAL_DEBUGGING
80 #if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES
84 VariableAndFixedInt<N>
operator() (
int val)
const {
return VariableAndFixedInt<N>(val); }
90 FixedInt(std::integral_constant<int,N>) {}
151 template<
typename T,
int N,
int Default>
185 #ifndef EIGEN_PARSED_BY_DOXYGEN
187 #if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES
189 static const internal::FixedInt<N>
fix{};
196 template<
int N,
typename T>
235 static const auto fix();
266 static const auto fix(
int val);
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
Definition: IndexedViewMethods.h:73
#define eigen_internal_assert(x)
Definition: Macros.h:1043
#define EIGEN_CONSTEXPR
Definition: Macros.h:787
#define EIGEN_UNUSED_VARIABLE(var)
Definition: Macros.h:1076
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:976
Definition: IntegralConstant.h:52
FixedInt< N &M > operator&(FixedInt< M >) const
Definition: IntegralConstant.h:78
FixedInt< N/M > operator/(FixedInt< M >) const
Definition: IntegralConstant.h:72
static const int value
Definition: IntegralConstant.h:54
FixedInt< N|M > operator|(FixedInt< M >) const
Definition: IntegralConstant.h:76
FixedInt< N%M > operator%(FixedInt< M >) const
Definition: IntegralConstant.h:74
FixedInt(FixedInt< N >(*)())
Definition: IntegralConstant.h:86
FixedInt(VariableAndFixedInt< N > other)
Definition: IntegralConstant.h:57
FixedInt()
Definition: IntegralConstant.h:56
FixedInt< N+M > operator+(FixedInt< M >) const
Definition: IntegralConstant.h:66
FixedInt<-N > operator-() const
Definition: IntegralConstant.h:64
FixedInt< N *M > operator*(FixedInt< M >) const
Definition: IntegralConstant.h:70
FixedInt< N-M > operator-(FixedInt< M >) const
Definition: IntegralConstant.h:68
Definition: IntegralConstant.h:124
static const int value
Definition: IntegralConstant.h:126
int m_value
Definition: IntegralConstant.h:130
VariableAndFixedInt(int val)
Definition: IntegralConstant.h:128
Definition: XprHelper.h:130
EIGEN_DEVICE_FUNC Index get_runtime_value(const T &x)
Definition: IntegralConstant.h:156
Namespace containing all symbols from the Eigen library.
Definition: LDLT.h:16
internal::FixedInt< N > fix()
Definition: IntegralConstant.h:192
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
@ Default
Definition: Constants.h:362
Definition: document.h:416
Definition: json.hpp:5678
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1282
FixedInt< N > type
Definition: IntegralConstant.h:171
Index type
Definition: IntegralConstant.h:167
Index type
Definition: IntegralConstant.h:177
FixedInt< N > type
Definition: IntegralConstant.h:175
Definition: IntegralConstant.h:164
T type
Definition: IntegralConstant.h:164
Definition: IntegralConstant.h:133
static const int value
Definition: IntegralConstant.h:134