mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
bug #1213: Give names to anonymous enums
This commit is contained in:
parent
217d984abc
commit
a11bd82dc3
@ -199,7 +199,7 @@ const unsigned int HereditaryBits = RowMajorBit
|
|||||||
/** \ingroup enums
|
/** \ingroup enums
|
||||||
* Enum containing possible values for the \c Mode or \c UpLo parameter of
|
* Enum containing possible values for the \c Mode or \c UpLo parameter of
|
||||||
* MatrixBase::selfadjointView() and MatrixBase::triangularView(), and selfadjoint solvers. */
|
* MatrixBase::selfadjointView() and MatrixBase::triangularView(), and selfadjoint solvers. */
|
||||||
enum {
|
enum TriangularOptions {
|
||||||
/** View matrix as a lower triangular matrix. */
|
/** View matrix as a lower triangular matrix. */
|
||||||
Lower=0x1,
|
Lower=0x1,
|
||||||
/** View matrix as an upper triangular matrix. */
|
/** View matrix as an upper triangular matrix. */
|
||||||
@ -224,7 +224,7 @@ enum {
|
|||||||
|
|
||||||
/** \ingroup enums
|
/** \ingroup enums
|
||||||
* Enum for indicating whether a buffer is aligned or not. */
|
* Enum for indicating whether a buffer is aligned or not. */
|
||||||
enum {
|
enum AlignmentOptions {
|
||||||
Unaligned=0, /**< Data pointer has no specific alignment. */
|
Unaligned=0, /**< Data pointer has no specific alignment. */
|
||||||
Aligned8=8, /**< Data pointer is aligned on a 8 bytes boundary. */
|
Aligned8=8, /**< Data pointer is aligned on a 8 bytes boundary. */
|
||||||
Aligned16=16, /**< Data pointer is aligned on a 16 bytes boundary. */
|
Aligned16=16, /**< Data pointer is aligned on a 16 bytes boundary. */
|
||||||
@ -273,7 +273,7 @@ enum DirectionType {
|
|||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Enum to specify how to traverse the entries of a matrix. */
|
* Enum to specify how to traverse the entries of a matrix. */
|
||||||
enum {
|
enum TraversalOptions {
|
||||||
/** \internal Default traversal, no vectorization, no index-based access */
|
/** \internal Default traversal, no vectorization, no index-based access */
|
||||||
DefaultTraversal,
|
DefaultTraversal,
|
||||||
/** \internal No vectorization, use index-based access to have only one for loop instead of 2 nested loops */
|
/** \internal No vectorization, use index-based access to have only one for loop instead of 2 nested loops */
|
||||||
@ -295,7 +295,7 @@ enum {
|
|||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Enum to specify whether to unroll loops when traversing over the entries of a matrix. */
|
* Enum to specify whether to unroll loops when traversing over the entries of a matrix. */
|
||||||
enum {
|
enum UnrollingOptions {
|
||||||
/** \internal Do not unroll loops. */
|
/** \internal Do not unroll loops. */
|
||||||
NoUnrolling,
|
NoUnrolling,
|
||||||
/** \internal Unroll only the inner loop, but not the outer loop. */
|
/** \internal Unroll only the inner loop, but not the outer loop. */
|
||||||
@ -307,7 +307,7 @@ enum {
|
|||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Enum to specify whether to use the default (built-in) implementation or the specialization. */
|
* Enum to specify whether to use the default (built-in) implementation or the specialization. */
|
||||||
enum {
|
enum SpecializedOptions {
|
||||||
Specialized,
|
Specialized,
|
||||||
BuiltIn
|
BuiltIn
|
||||||
};
|
};
|
||||||
@ -315,7 +315,7 @@ enum {
|
|||||||
/** \ingroup enums
|
/** \ingroup enums
|
||||||
* Enum containing possible values for the \p _Options template parameter of
|
* Enum containing possible values for the \p _Options template parameter of
|
||||||
* Matrix, Array and BandMatrix. */
|
* Matrix, Array and BandMatrix. */
|
||||||
enum {
|
enum StorageOptions {
|
||||||
/** Storage order is column major (see \ref TopicStorageOrders). */
|
/** Storage order is column major (see \ref TopicStorageOrders). */
|
||||||
ColMajor = 0,
|
ColMajor = 0,
|
||||||
/** Storage order is row major (see \ref TopicStorageOrders). */
|
/** Storage order is row major (see \ref TopicStorageOrders). */
|
||||||
@ -328,7 +328,7 @@ enum {
|
|||||||
|
|
||||||
/** \ingroup enums
|
/** \ingroup enums
|
||||||
* Enum for specifying whether to apply or solve on the left or right. */
|
* Enum for specifying whether to apply or solve on the left or right. */
|
||||||
enum {
|
enum SolverOptions {
|
||||||
/** Apply transformation on the left. */
|
/** Apply transformation on the left. */
|
||||||
OnTheLeft = 1,
|
OnTheLeft = 1,
|
||||||
/** Apply transformation on the right. */
|
/** Apply transformation on the right. */
|
||||||
@ -353,7 +353,7 @@ enum Default_t { Default };
|
|||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Used in AmbiVector. */
|
* Used in AmbiVector. */
|
||||||
enum {
|
enum AmbiVectorOptions {
|
||||||
IsDense = 0,
|
IsDense = 0,
|
||||||
IsSparse
|
IsSparse
|
||||||
};
|
};
|
||||||
@ -479,8 +479,9 @@ namespace Architecture
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Enum used as template parameter in Product and product evalautors. */
|
* Enum used as template parameter in Product and product evaluators. */
|
||||||
enum { DefaultProduct=0, LazyProduct, AliasFreeProduct, CoeffBasedProductMode, LazyCoeffBasedProductMode, OuterProduct, InnerProduct, GemvProduct, GemmProduct };
|
enum ProductType
|
||||||
|
{ DefaultProduct=0, LazyProduct, AliasFreeProduct, CoeffBasedProductMode, LazyCoeffBasedProductMode, OuterProduct, InnerProduct, GemvProduct, GemmProduct };
|
||||||
|
|
||||||
/** \internal \ingroup enums
|
/** \internal \ingroup enums
|
||||||
* Enum used in experimental parallel implementation. */
|
* Enum used in experimental parallel implementation. */
|
||||||
@ -492,7 +493,7 @@ struct Dense {};
|
|||||||
/** The type used to identify a general sparse storage. */
|
/** The type used to identify a general sparse storage. */
|
||||||
struct Sparse {};
|
struct Sparse {};
|
||||||
|
|
||||||
/** The type used to identify a general solver (foctored) storage. */
|
/** The type used to identify a general solver (factored) storage. */
|
||||||
struct SolverStorage {};
|
struct SolverStorage {};
|
||||||
|
|
||||||
/** The type used to identify a permutation storage. */
|
/** The type used to identify a permutation storage. */
|
||||||
|
Loading…
Reference in New Issue
Block a user