11 #ifndef EIGEN_FORWARDDECLARATIONS_H
12 #define EIGEN_FORWARDDECLARATIONS_H
17 template<
typename T>
struct traits;
23 template<
typename T>
struct traits<const T> : traits<T> {};
25 template<
typename Derived>
struct has_direct_access
30 template<
typename Derived>
struct accessors_level
32 enum { has_direct_access = (traits<Derived>::Flags &
DirectAccessBit) ? 1 : 0,
33 has_write_access = (traits<Derived>::Flags &
LvalueBit) ? 1 : 0,
41 template<
typename T>
struct NumTraits;
43 template<
typename Derived>
struct EigenBase;
44 template<
typename Derived>
class DenseBase;
45 template<
typename Derived>
class PlainObjectBase;
48 template<
typename Derived,
49 int Level = internal::accessors_level<Derived>::value >
50 class DenseCoeffsBase;
52 template<
typename _Scalar,
int _Rows,
int _Cols,
54 #if defined(__GNUC__) && __GNUC__==3 && __GNUC_MINOR__==4
61 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
66 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
72 template<
typename Derived>
class MatrixBase;
73 template<
typename Derived>
class ArrayBase;
75 template<
typename ExpressionType,
unsigned int Added,
unsigned int Removed>
class Flagged;
76 template<
typename ExpressionType,
template <
typename>
class StorageBase >
class NoAlias;
77 template<
typename ExpressionType>
class NestByValue;
78 template<
typename ExpressionType>
class ForceAlignedAccess;
79 template<
typename ExpressionType>
class SwapWrapper;
81 template<
typename XprType,
int BlockRows=Dynamic,
int BlockCols=Dynamic,
bool InnerPanel = false>
class Block;
83 template<
typename MatrixType,
int Size=Dynamic>
class VectorBlock;
84 template<
typename MatrixType>
class Transpose;
85 template<
typename MatrixType>
class Conjugate;
86 template<
typename NullaryOp,
typename MatrixType>
class CwiseNullaryOp;
87 template<
typename UnaryOp,
typename MatrixType>
class CwiseUnaryOp;
88 template<
typename ViewOp,
typename MatrixType>
class CwiseUnaryView;
89 template<
typename BinaryOp,
typename Lhs,
typename Rhs>
class CwiseBinaryOp;
90 template<
typename BinOp,
typename Lhs,
typename Rhs>
class SelfCwiseBinaryOp;
91 template<
typename Derived,
typename Lhs,
typename Rhs>
class ProductBase;
92 template<
typename Lhs,
typename Rhs,
int Mode>
class GeneralProduct;
93 template<
typename Lhs,
typename Rhs,
int NestingFlags>
class CoeffBasedProduct;
95 template<
typename Derived>
class DiagonalBase;
97 template<
typename _Scalar,
int SizeAtCompileTime,
int MaxSizeAtCompileTime=SizeAtCompileTime>
class DiagonalMatrix;
98 template<
typename MatrixType,
typename DiagonalType,
int ProductOrder>
class DiagonalProduct;
99 template<
typename MatrixType,
int Index = 0>
class Diagonal;
100 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class PermutationMatrix;
101 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class Transpositions;
103 template<
typename Derived>
class TranspositionsBase;
105 template<
typename _IndicesType>
class TranspositionsWrapper;
107 template<
typename Derived,
110 template<
int InnerStr
ideAtCompileTime,
int OuterStr
ideAtCompileTime>
class Stride;
111 template<
typename MatrixType,
int MapOptions=Unaligned,
typename Str
ideType = Str
ide<0,0> >
class Map;
113 template<
typename Derived>
class TriangularBase;
114 template<
typename MatrixType,
unsigned int Mode>
class TriangularView;
115 template<
typename MatrixType,
unsigned int Mode>
class SelfAdjointView;
116 template<
typename MatrixType>
class SparseView;
117 template<
typename ExpressionType>
class WithFormat;
119 template<
typename Derived>
class ReturnByValue;
124 template<
typename DecompositionType,
typename Rhs>
struct solve_retval_base;
125 template<
typename DecompositionType,
typename Rhs>
struct solve_retval;
126 template<
typename DecompositionType>
struct kernel_retval_base;
127 template<
typename DecompositionType>
struct kernel_retval;
128 template<
typename DecompositionType>
struct image_retval_base;
129 template<
typename DecompositionType>
struct image_retval;
133 template<
typename _Scalar,
int Rows=Dynamic,
int Cols=Dynamic,
int Supers=Dynamic,
int Subs=Dynamic,
int Options=0>
class BandMatrix;
137 template<
typename Lhs,
typename Rhs>
struct product_type;
140 template<
typename Lhs,
typename Rhs,
141 int ProductType = internal::product_type<Lhs,Rhs>::value>
142 struct ProductReturnType;
145 template<
typename Lhs,
typename Rhs>
struct LazyProductReturnType;
151 template<
typename LhsScalar,
typename RhsScalar,
bool ConjLhs=false,
bool ConjRhs=false>
struct conj_helper;
153 template<
typename Scalar>
struct scalar_sum_op;
154 template<
typename Scalar>
struct scalar_difference_op;
155 template<
typename LhsScalar,
typename RhsScalar>
struct scalar_conj_product_op;
156 template<
typename Scalar>
struct scalar_opposite_op;
157 template<
typename Scalar>
struct scalar_conjugate_op;
158 template<
typename Scalar>
struct scalar_real_op;
159 template<
typename Scalar>
struct scalar_imag_op;
160 template<
typename Scalar>
struct scalar_abs_op;
161 template<
typename Scalar>
struct scalar_abs2_op;
162 template<
typename Scalar>
struct scalar_sqrt_op;
163 template<
typename Scalar>
struct scalar_exp_op;
164 template<
typename Scalar>
struct scalar_log_op;
165 template<
typename Scalar>
struct scalar_cos_op;
166 template<
typename Scalar>
struct scalar_sin_op;
167 template<
typename Scalar>
struct scalar_acos_op;
168 template<
typename Scalar>
struct scalar_asin_op;
169 template<
typename Scalar>
struct scalar_tan_op;
170 template<
typename Scalar>
struct scalar_pow_op;
171 template<
typename Scalar>
struct scalar_inverse_op;
172 template<
typename Scalar>
struct scalar_square_op;
173 template<
typename Scalar>
struct scalar_cube_op;
174 template<
typename Scalar,
typename NewType>
struct scalar_cast_op;
175 template<
typename Scalar>
struct scalar_multiple_op;
176 template<
typename Scalar>
struct scalar_quotient1_op;
177 template<
typename Scalar>
struct scalar_min_op;
178 template<
typename Scalar>
struct scalar_max_op;
179 template<
typename Scalar>
struct scalar_random_op;
180 template<
typename Scalar>
struct scalar_add_op;
181 template<
typename Scalar>
struct scalar_constant_op;
182 template<
typename Scalar>
struct scalar_identity_op;
184 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_product_op;
185 template<
typename LhsScalar,
typename RhsScalar>
struct scalar_multiple2_op;
186 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_quotient_op;
193 template<
typename _Scalar,
int _Rows,
int _Cols,
195 #if defined(__GNUC__) && __GNUC__==3 && __GNUC_MINOR__==4
202 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
207 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
209 int _MaxRows = _Rows,
int _MaxCols = _Cols>
class Array;
210 template<
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
class Select;
213 template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate;
214 template<
typename MatrixType,
int Direction = BothDirections>
class Reverse;
219 template<
typename MatrixType>
struct inverse_impl;
224 template<
typename MatrixType,
int QRPreconditioner = ColPivHouseholderQRPreconditioner>
class JacobiSVD;
225 template<
typename MatrixType,
int UpLo = Lower>
class LLT;
226 template<
typename MatrixType,
int UpLo = Lower>
class LDLT;
232 template<
typename Lhs,
typename Rhs>
class Cross;
241 #ifdef EIGEN2_SUPPORT
242 template<
typename Derived,
int _Dim>
class eigen2_RotationBase;
243 template<
typename Lhs,
typename Rhs>
class eigen2_Cross;
244 template<
typename Scalar>
class eigen2_Quaternion;
245 template<
typename Scalar>
class eigen2_Rotation2D;
246 template<
typename Scalar>
class eigen2_AngleAxis;
247 template<
typename Scalar,
int Dim>
class eigen2_Transform;
248 template <
typename _Scalar,
int _AmbientDim>
class eigen2_ParametrizedLine;
249 template <
typename _Scalar,
int _AmbientDim>
class eigen2_Hyperplane;
250 template<
typename Scalar,
int Dim>
class eigen2_Translation;
251 template<
typename Scalar,
int Dim>
class eigen2_Scaling;
254 #if EIGEN2_SUPPORT_STAGE < STAGE20_RESOLVE_API_CONFLICTS
256 template<
typename Scalar,
int Dim>
class Transform;
258 template <
typename _Scalar,
int _AmbientDim>
class Hyperplane;
259 template<
typename Scalar,
int Dim>
class Scaling;
262 #if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
263 template<
typename Scalar,
int Options = AutoAlign>
class Quaternion;
264 template<
typename Scalar,
int Dim,
int Mode,
int _Options=AutoAlign>
class Transform;
265 template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class ParametrizedLine;
266 template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class Hyperplane;
267 template<
typename Scalar>
class UniformScaling;
272 template<
typename Derived>
struct MatrixExponentialReturnValue;
273 template<
typename Derived>
class MatrixFunctionReturnValue;
274 template<
typename Derived>
class MatrixSquareRootReturnValue;
275 template<
typename Derived>
class MatrixLogarithmReturnValue;
276 template<
typename Derived>
class MatrixPowerReturnValue;
277 template<
typename Derived,
typename Lhs,
typename Rhs>
class MatrixPowerProduct;
280 template <
typename Scalar>
283 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
284 typedef ComplexScalar type(ComplexScalar,
int);
289 #ifdef EIGEN2_SUPPORT
290 template<
typename ExpressionType>
class Cwise;
291 template<
typename MatrixType>
class Minor;
292 template<
typename MatrixType>
class LU;
293 template<
typename MatrixType>
class QR;
294 template<
typename MatrixType>
class SVD;
296 template<
typename MatrixType,
unsigned int Mode>
struct eigen2_part_return_type;
302 #endif // EIGEN_FORWARDDECLARATIONS_H
Expression of the product of two general matrices or vectors.
Definition: GeneralProduct.h:36
Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:49
Robust Cholesky decomposition of a matrix with pivoting.
Definition: LDLT.h:48
Base class for Map and Block expression with direct access.
Definition: ForwardDeclarations.h:109
Expression of a mathematical vector or matrix as an array object.
Definition: ArrayWrapper.h:41
Householder rank-revealing QR decomposition of a matrix with full pivoting.
Definition: ForwardDeclarations.h:223
Definition: Constants.h:310
A matrix or vector expression mapping an existing array of data.
Definition: Map.h:104
Expression of the transpose of a matrix.
Definition: Transpose.h:57
Definition: Constants.h:314
Represents a diagonal matrix with its storage.
Definition: DiagonalMatrix.h:135
LU decomposition of a matrix with partial pivoting, and related features.
Definition: ForwardDeclarations.h:217
Holds strides information for Map.
Definition: Stride.h:44
Rotation given by a cosine-sine pair.
Definition: ForwardDeclarations.h:228
Generic expression of a partially reduxed matrix.
Definition: ForwardDeclarations.h:211
Pseudo expression providing partial reduction operations.
Definition: ForwardDeclarations.h:212
Definition: Constants.h:264
Definition: Constants.h:312
Base class for permutations.
Definition: PermutationMatrix.h:53
Helper class used by the comma initializer operator.
Definition: CommaInitializer.h:28
Sequence of Householder reflections acting on subspaces with decreasing size.
Definition: ForwardDeclarations.h:227
Represents a translation transformation.
Definition: ForwardDeclarations.h:236
Definition: Constants.h:316
Permutation matrix.
Definition: PermutationMatrix.h:312
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Definition: CwiseUnaryView.h:59
Expression of an array as a mathematical vector or matrix.
Definition: ArrayBase.h:15
Expression of a fixed-size or dynamic-size sub-vector.
Definition: ForwardDeclarations.h:83
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Definition: CwiseBinaryOp.h:107
Base class of any sparse matrices or sparse expressions.
Definition: ForwardDeclarations.h:239
A hyperplane.
Definition: ForwardDeclarations.h:266
Householder rank-revealing QR decomposition of a matrix with column-pivoting.
Definition: ForwardDeclarations.h:222
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition: LLT.h:50
const unsigned int LvalueBit
Definition: Constants.h:131
Definition: Constants.h:268
Expression of the multiple replication of a matrix or vector.
Definition: Replicate.h:62
Common base class for compact rotation representations.
Definition: ForwardDeclarations.h:231
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
Definition: SelfAdjointView.h:53
Class to view a vector of integers as a permutation matrix.
Definition: PermutationMatrix.h:512
Base class for quaternion expressions.
Definition: ForwardDeclarations.h:233
Represents a rotation/orientation in a 2 dimensional space.
Definition: ForwardDeclarations.h:234
Represents a generic uniform scaling transformation.
The quaternion class used to represent 3D orientations and rotations.
Definition: ForwardDeclarations.h:263
LU decomposition of a matrix with complete pivoting, and related features.
Definition: ForwardDeclarations.h:216
Householder QR decomposition of a matrix.
Definition: ForwardDeclarations.h:221
Two-sided Jacobi SVD decomposition of a rectangular matrix.
Definition: ForwardDeclarations.h:224
Base class for triangular part in a matrix.
Definition: TriangularMatrix.h:158
Expression of a diagonal matrix.
Definition: DiagonalMatrix.h:248
Definition: Constants.h:266
const unsigned int DirectAccessBit
Definition: Constants.h:142
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
Definition: Diagonal.h:64
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:59
Expression of the reverse of a vector or matrix.
Definition: Reverse.h:70
A parametrized line.
Definition: ForwardDeclarations.h:265
Represents a 3D rotation as a rotation angle around an arbitrary 3D axis.
Definition: ForwardDeclarations.h:235
Represents a sequence of transpositions (row/column interchange)
Definition: Transpositions.h:156
Expression of one (or a set of) homogeneous vector(s)
Definition: ForwardDeclarations.h:268