11#ifndef EIGEN_INTEGRAL_CONSTANT_H
12#define EIGEN_INTEGRAL_CONSTANT_H
18template<
int N>
class FixedInt;
19template<
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>) {}
151template<
typename T,
int N,
int Default>
185#ifndef EIGEN_PARSED_BY_DOXYGEN
187#if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES
189static const internal::FixedInt<N>
fix{};
196template<
int N,
typename T>
235static const auto fix();
266static const auto fix(
int val);
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typenameEIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typenameEIGEN_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:1053
#define EIGEN_CONSTEXPR
Definition: Macros.h:797
#define EIGEN_UNUSED_VARIABLE(var)
Definition: Macros.h:1086
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
Definition: IntegralConstant.h:52
FixedInt< N|M > operator|(FixedInt< M >) const
Definition: IntegralConstant.h:76
FixedInt<-N > operator-() const
Definition: IntegralConstant.h:64
FixedInt< N/M > operator/(FixedInt< M >) const
Definition: IntegralConstant.h:72
static const int value
Definition: IntegralConstant.h:54
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%M > operator%(FixedInt< M >) const
Definition: IntegralConstant.h:74
FixedInt< N &M > operator&(FixedInt< M >) const
Definition: IntegralConstant.h:78
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
int m_value
Definition: IntegralConstant.h:130
VariableAndFixedInt(int val)
Definition: IntegralConstant.h:128
Definition: XprHelper.h:130
type
Definition: core.h:575
EIGEN_DEVICE_FUNC Index get_runtime_value(const T &x)
Definition: IntegralConstant.h:156
Namespace containing all symbols from the Eigen library.
Definition: MatrixExponential.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
@ Default
Definition: Constants.h:362
internal::FixedInt< N > fix()
Definition: IntegralConstant.h:192
Definition: Eigen_Colamd.h:50
Definition: StdDeque.h:50
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