mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
doc and use sed to clean the class hierarchy instead of
preprocessor directives.
This commit is contained in:
@@ -69,11 +69,7 @@ struct ei_traits<PartialReduxExpr<MatrixType, MemberOp, Direction> >
|
||||
|
||||
template< typename MatrixType, typename MemberOp, int Direction>
|
||||
class PartialReduxExpr : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<PartialReduxExpr<MatrixType, MemberOp, Direction> >
|
||||
#else
|
||||
public MapBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -88,11 +88,7 @@ struct ei_traits<Block<MatrixType, BlockRows, BlockCols, _PacketAccess, _DirectA
|
||||
};
|
||||
|
||||
template<typename MatrixType, int BlockRows, int BlockCols, int PacketAccess, int _DirectAccessStatus> class Block
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Block<MatrixType, BlockRows, BlockCols, PacketAccess, _DirectAccessStatus> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -215,11 +211,7 @@ template<typename MatrixType, int BlockRows, int BlockCols, int PacketAccess, in
|
||||
/** \internal */
|
||||
template<typename MatrixType, int BlockRows, int BlockCols, int PacketAccess>
|
||||
class Block<MatrixType,BlockRows,BlockCols,PacketAccess,HasDirectAccess>
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MapBase<Block<MatrixType, BlockRows, BlockCols,PacketAccess,HasDirectAccess> >
|
||||
#else
|
||||
: public MapBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -108,7 +108,8 @@ struct MatrixBase<Derived>::CommaInitializer
|
||||
int m_currentBlockRows; // current block height
|
||||
};
|
||||
|
||||
/** Convenient operator to set the coefficients of a matrix.
|
||||
/** \anchor MatrixBaseCommaInitRef
|
||||
* Convenient operator to set the coefficients of a matrix.
|
||||
*
|
||||
* The coefficients must be provided in a row major order and exactly match
|
||||
* the size of the matrix. Otherwise an assertion is raised.
|
||||
|
||||
@@ -76,11 +76,7 @@ struct ei_traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
|
||||
|
||||
template<typename BinaryOp, typename Lhs, typename Rhs>
|
||||
class CwiseBinaryOp : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -60,11 +60,7 @@ struct ei_traits<CwiseNullaryOp<NullaryOp, MatrixType> >
|
||||
|
||||
template<typename NullaryOp, typename MatrixType>
|
||||
class CwiseNullaryOp : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<CwiseNullaryOp<NullaryOp, MatrixType> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -63,11 +63,7 @@ struct ei_traits<CwiseUnaryOp<UnaryOp, MatrixType> >
|
||||
|
||||
template<typename UnaryOp, typename MatrixType>
|
||||
class CwiseUnaryOp : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<CwiseUnaryOp<UnaryOp, MatrixType> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -60,11 +60,7 @@ struct ei_traits<DiagonalCoeffs<MatrixType> >
|
||||
};
|
||||
|
||||
template<typename MatrixType> class DiagonalCoeffs
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<DiagonalCoeffs<MatrixType> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -56,11 +56,7 @@ struct ei_traits<DiagonalMatrix<CoeffsVectorType> >
|
||||
|
||||
template<typename CoeffsVectorType>
|
||||
class DiagonalMatrix : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<DiagonalMatrix<CoeffsVectorType> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -61,11 +61,7 @@ struct ei_traits<Product<LhsNested, RhsNested, DiagonalProduct> >
|
||||
};
|
||||
|
||||
template<typename LhsNested, typename RhsNested> class Product<LhsNested, RhsNested, DiagonalProduct> : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<Product<LhsNested, RhsNested, DiagonalProduct> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
typedef typename ei_traits<Product>::_LhsNested _LhsNested;
|
||||
typedef typename ei_traits<Product>::_RhsNested _RhsNested;
|
||||
|
||||
@@ -55,11 +55,7 @@ struct ei_traits<Flagged<ExpressionType, Added, Removed> >
|
||||
};
|
||||
|
||||
template<typename ExpressionType, unsigned int Added, unsigned int Removed> class Flagged
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Flagged<ExpressionType, Added, Removed> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -57,11 +57,7 @@ struct ei_traits<Map<MatrixType, _PacketAccess> > : public ei_traits<MatrixType>
|
||||
};
|
||||
|
||||
template<typename MatrixType, int PacketAccess> class Map
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MapBase<Map<MatrixType, PacketAccess> >
|
||||
#else
|
||||
: public MapBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -97,11 +97,7 @@ struct ei_traits<Matrix<_Scalar, _Rows, _Cols, _StorageOrder, _MaxRows, _MaxCols
|
||||
|
||||
template<typename _Scalar, int _Rows, int _Cols, int _StorageOrder, int _MaxRows, int _MaxCols>
|
||||
class Matrix
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Matrix<_Scalar, _Rows, _Cols, _StorageOrder, _MaxRows, _MaxCols> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix)
|
||||
|
||||
@@ -58,11 +58,7 @@ struct ei_traits<Minor<MatrixType> >
|
||||
};
|
||||
|
||||
template<typename MatrixType> class Minor
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Minor<MatrixType> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -52,11 +52,7 @@ struct ei_traits<NestByValue<ExpressionType> >
|
||||
};
|
||||
|
||||
template<typename ExpressionType> class NestByValue
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<NestByValue<ExpressionType> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -59,11 +59,7 @@ struct ei_traits<Part<MatrixType, Mode> >
|
||||
};
|
||||
|
||||
template<typename MatrixType, unsigned int Mode> class Part
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Part<MatrixType, Mode> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -168,11 +168,7 @@ struct ei_traits<Product<LhsNested, RhsNested, ProductMode> >
|
||||
};
|
||||
|
||||
template<typename LhsNested, typename RhsNested, int ProductMode> class Product : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<Product<LhsNested, RhsNested, ProductMode> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -46,11 +46,7 @@ struct ei_traits<SwapWrapper<ExpressionType> >
|
||||
};
|
||||
|
||||
template<typename ExpressionType> class SwapWrapper
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<SwapWrapper<ExpressionType> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -57,11 +57,7 @@ struct ei_traits<Transpose<MatrixType> >
|
||||
};
|
||||
|
||||
template<typename MatrixType> class Transpose
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public MatrixBase<Transpose<MatrixType> >
|
||||
#else
|
||||
: public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
@@ -43,11 +43,7 @@ struct ei_traits<HashMatrix<_Scalar, _Flags> >
|
||||
// TODO reimplement this class using custom linked lists
|
||||
template<typename _Scalar, int _Flags>
|
||||
class HashMatrix
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public SparseMatrixBase<HashMatrix<_Scalar, _Flags> >
|
||||
#else
|
||||
: public SparseMatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
EIGEN_GENERIC_PUBLIC_INTERFACE(HashMatrix)
|
||||
|
||||
@@ -53,11 +53,7 @@ struct LinkedVectorChunk
|
||||
|
||||
template<typename _Scalar, int _Flags>
|
||||
class LinkedVectorMatrix
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public SparseMatrixBase<LinkedVectorMatrix<_Scalar,_Flags> >
|
||||
#else
|
||||
: public SparseMatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
EIGEN_GENERIC_PUBLIC_INTERFACE(LinkedVectorMatrix)
|
||||
|
||||
@@ -53,11 +53,7 @@ struct ei_traits<SparseMatrix<_Scalar, _Flags> >
|
||||
|
||||
template<typename _Scalar, int _Flags>
|
||||
class SparseMatrix
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
: public SparseMatrixBase<SparseMatrix<_Scalar, _Flags> >
|
||||
#else
|
||||
: public SparseMatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
EIGEN_GENERIC_PUBLIC_INTERFACE(SparseMatrix)
|
||||
|
||||
@@ -88,11 +88,7 @@ struct ei_traits<Product<LhsNested, RhsNested, SparseProduct> >
|
||||
};
|
||||
|
||||
template<typename LhsNested, typename RhsNested> class Product<LhsNested,RhsNested,SparseProduct> : ei_no_assignment_operator,
|
||||
#ifndef EIGEN_PARSED_BY_DOXYGEN
|
||||
public MatrixBase<Product<LhsNested, RhsNested, SparseProduct> >
|
||||
#else
|
||||
public MatrixBase
|
||||
#endif
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user