11#ifndef EIGEN_FORWARDDECLARATIONS_H
12#define EIGEN_FORWARDDECLARATIONS_H
17template<
typename T>
struct traits;
23template<
typename T>
struct traits<const T> : traits<T> {};
25template<
typename Derived>
struct has_direct_access
30template<
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,
41template<
typename T>
struct NumTraits;
43template<
typename Derived>
struct EigenBase;
44template<
typename Derived>
class DenseBase;
45template<
typename Derived>
class PlainObjectBase;
48template<
typename Derived,
49 int Level = internal::accessors_level<Derived>::value >
52template<
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 ),
72template<
typename Derived>
class MatrixBase;
73template<
typename Derived>
class ArrayBase;
75template<
typename ExpressionType,
unsigned int Added,
unsigned int Removed>
class Flagged;
76template<
typename ExpressionType,
template <
typename>
class StorageBase >
class NoAlias;
77template<
typename ExpressionType>
class NestByValue;
78template<
typename ExpressionType>
class ForceAlignedAccess;
79template<
typename ExpressionType>
class SwapWrapper;
81template<
typename XprType,
int BlockRows=Dynamic,
int BlockCols=Dynamic,
bool InnerPanel = false>
class Block;
83template<
typename MatrixType,
int Size=Dynamic>
class VectorBlock;
84template<
typename MatrixType>
class Transpose;
85template<
typename MatrixType>
class Conjugate;
86template<
typename NullaryOp,
typename MatrixType>
class CwiseNullaryOp;
87template<
typename UnaryOp,
typename MatrixType>
class CwiseUnaryOp;
88template<
typename ViewOp,
typename MatrixType>
class CwiseUnaryView;
89template<
typename BinaryOp,
typename Lhs,
typename Rhs>
class CwiseBinaryOp;
90template<
typename BinOp,
typename Lhs,
typename Rhs>
class SelfCwiseBinaryOp;
91template<
typename Derived,
typename Lhs,
typename Rhs>
class ProductBase;
92template<
typename Lhs,
typename Rhs,
int Mode>
class GeneralProduct;
93template<
typename Lhs,
typename Rhs,
int NestingFlags>
class CoeffBasedProduct;
95template<
typename Derived>
class DiagonalBase;
96template<
typename _DiagonalVectorType>
class DiagonalWrapper;
97template<
typename _Scalar,
int SizeAtCompileTime,
int MaxSizeAtCompileTime=SizeAtCompileTime>
class DiagonalMatrix;
98template<
typename MatrixType,
typename DiagonalType,
int ProductOrder>
class DiagonalProduct;
99template<
typename MatrixType,
int Index = 0>
class Diagonal;
100template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class PermutationMatrix;
101template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class Transpositions;
102template<
typename Derived>
class PermutationBase;
103template<
typename Derived>
class TranspositionsBase;
104template<
typename _IndicesType>
class PermutationWrapper;
105template<
typename _IndicesType>
class TranspositionsWrapper;
107template<
typename Derived,
110template<
int InnerStr
ideAtCompileTime,
int OuterStr
ideAtCompileTime>
class Stride;
111template<
typename MatrixType,
int MapOptions=Unaligned,
typename Str
ideType = Str
ide<0,0> >
class Map;
113template<
typename Derived>
class TriangularBase;
114template<
typename MatrixType,
unsigned int Mode>
class TriangularView;
116template<
typename MatrixType>
class SparseView;
117template<
typename ExpressionType>
class WithFormat;
119template<
typename Derived>
class ReturnByValue;
124template<
typename DecompositionType,
typename Rhs>
struct solve_retval_base;
125template<
typename DecompositionType,
typename Rhs>
struct solve_retval;
126template<
typename DecompositionType>
struct kernel_retval_base;
127template<
typename DecompositionType>
struct kernel_retval;
128template<
typename DecompositionType>
struct image_retval_base;
129template<
typename DecompositionType>
struct image_retval;
133template<
typename _Scalar,
int Rows=Dynamic,
int Cols=Dynamic,
int Supers=Dynamic,
int Subs=Dynamic,
int Options=0>
class BandMatrix;
137template<
typename Lhs,
typename Rhs>
struct product_type;
140template<
typename Lhs,
typename Rhs,
141 int ProductType = internal::product_type<Lhs,Rhs>::value>
142struct ProductReturnType;
145template<
typename Lhs,
typename Rhs>
struct LazyProductReturnType;
151template<
typename LhsScalar,
typename RhsScalar,
bool ConjLhs=false,
bool ConjRhs=false>
struct conj_helper;
153template<
typename Scalar>
struct scalar_sum_op;
154template<
typename Scalar>
struct scalar_difference_op;
155template<
typename LhsScalar,
typename RhsScalar>
struct scalar_conj_product_op;
156template<
typename Scalar>
struct scalar_opposite_op;
157template<
typename Scalar>
struct scalar_conjugate_op;
158template<
typename Scalar>
struct scalar_real_op;
159template<
typename Scalar>
struct scalar_imag_op;
160template<
typename Scalar>
struct scalar_abs_op;
161template<
typename Scalar>
struct scalar_abs2_op;
162template<
typename Scalar>
struct scalar_sqrt_op;
163template<
typename Scalar>
struct scalar_exp_op;
164template<
typename Scalar>
struct scalar_log_op;
165template<
typename Scalar>
struct scalar_cos_op;
166template<
typename Scalar>
struct scalar_sin_op;
167template<
typename Scalar>
struct scalar_acos_op;
168template<
typename Scalar>
struct scalar_asin_op;
169template<
typename Scalar>
struct scalar_tan_op;
170template<
typename Scalar>
struct scalar_pow_op;
171template<
typename Scalar>
struct scalar_inverse_op;
172template<
typename Scalar>
struct scalar_square_op;
173template<
typename Scalar>
struct scalar_cube_op;
174template<
typename Scalar,
typename NewType>
struct scalar_cast_op;
175template<
typename Scalar>
struct scalar_multiple_op;
176template<
typename Scalar>
struct scalar_quotient1_op;
177template<
typename Scalar>
struct scalar_min_op;
178template<
typename Scalar>
struct scalar_max_op;
179template<
typename Scalar>
struct scalar_random_op;
180template<
typename Scalar>
struct scalar_add_op;
181template<
typename Scalar>
struct scalar_constant_op;
182template<
typename Scalar>
struct scalar_identity_op;
184template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_product_op;
185template<
typename LhsScalar,
typename RhsScalar>
struct scalar_multiple2_op;
186template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_quotient_op;
193template<
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;
210template<
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
class Select;
211template<
typename MatrixType,
typename BinaryOp,
int Direction>
class PartialReduxExpr;
212template<
typename ExpressionType,
int Direction>
class VectorwiseOp;
213template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate;
214template<
typename MatrixType,
int Direction = BothDirections>
class Reverse;
216template<
typename MatrixType>
class FullPivLU;
217template<
typename MatrixType>
class PartialPivLU;
219template<
typename MatrixType>
struct inverse_impl;
221template<
typename MatrixType>
class HouseholderQR;
222template<
typename MatrixType>
class ColPivHouseholderQR;
223template<
typename MatrixType>
class FullPivHouseholderQR;
224template<
typename MatrixType,
int QRPreconditioner = ColPivHouseholderQRPreconditioner>
class JacobiSVD;
225template<
typename MatrixType,
int UpLo = Lower>
class LLT;
226template<
typename MatrixType,
int UpLo = Lower>
class LDLT;
227template<
typename VectorsType,
typename CoeffsType,
int S
ide=OnTheLeft>
class HouseholderSequence;
228template<
typename Scalar>
class JacobiRotation;
231template<
typename Derived,
int _Dim>
class RotationBase;
232template<
typename Lhs,
typename Rhs>
class Cross;
233template<
typename Derived>
class QuaternionBase;
234template<
typename Scalar>
class Rotation2D;
235template<
typename Scalar>
class AngleAxis;
236template<
typename Scalar,
int Dim>
class Translation;
239template<
typename Derived>
class SparseMatrixBase;
242template<
typename Derived,
int _Dim>
class eigen2_RotationBase;
243template<
typename Lhs,
typename Rhs>
class eigen2_Cross;
244template<
typename Scalar>
class eigen2_Quaternion;
245template<
typename Scalar>
class eigen2_Rotation2D;
246template<
typename Scalar>
class eigen2_AngleAxis;
247template<
typename Scalar,
int Dim>
class eigen2_Transform;
248template <
typename _Scalar,
int _AmbientDim>
class eigen2_ParametrizedLine;
249template <
typename _Scalar,
int _AmbientDim>
class eigen2_Hyperplane;
250template<
typename Scalar,
int Dim>
class eigen2_Translation;
251template<
typename Scalar,
int Dim>
class eigen2_Scaling;
254#if EIGEN2_SUPPORT_STAGE < STAGE20_RESOLVE_API_CONFLICTS
255template<
typename Scalar>
class Quaternion;
256template<
typename Scalar,
int Dim>
class Transform;
257template <
typename _Scalar,
int _AmbientDim>
class ParametrizedLine;
258template <
typename _Scalar,
int _AmbientDim>
class Hyperplane;
259template<
typename Scalar,
int Dim>
class Scaling;
262#if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
263template<
typename Scalar,
int Options = AutoAlign>
class Quaternion;
264template<
typename Scalar,
int Dim,
int Mode,
int _Options=AutoAlign>
class Transform;
265template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class ParametrizedLine;
266template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class Hyperplane;
267template<
typename Scalar>
class UniformScaling;
268template<
typename MatrixType,
int Direction>
class Homogeneous;
272template<
typename Derived>
struct MatrixExponentialReturnValue;
273template<
typename Derived>
class MatrixFunctionReturnValue;
274template<
typename Derived>
class MatrixSquareRootReturnValue;
275template<
typename Derived>
class MatrixLogarithmReturnValue;
276template<
typename Derived>
class MatrixPowerReturnValue;
277template<
typename Derived,
typename Lhs,
typename Rhs>
class MatrixPowerProduct;
280template <
typename Scalar>
283 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
284 typedef ComplexScalar type(ComplexScalar,
int);
290template<
typename ExpressionType>
class Cwise;
291template<
typename MatrixType>
class Minor;
292template<
typename MatrixType>
class LU;
293template<
typename MatrixType>
class QR;
294template<
typename MatrixType>
class SVD;
296template<
typename MatrixType,
unsigned int Mode>
struct eigen2_part_return_type;
Expression of a mathematical vector or matrix as an array object.
Definition ArrayWrapper.h:42
Base class for Map and Block expression with direct access.
Definition ForwardDeclarations.h:109
A matrix or vector expression mapping an existing array of data.
Definition Map.h:106
Expression of an array as a mathematical vector or matrix.
Definition ArrayWrapper.h:167
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
Definition SelfAdjointView.h:55
Expression of a dense or sparse matrix with zero or too small values removed.
Definition SparseView.h:46
Holds strides information for Map.
Definition Stride.h:45
Base class for triangular part in a matrix.
Definition TriangularMatrix.h:160
@ WriteAccessors
Definition Constants.h:312
@ ReadOnlyAccessors
Definition Constants.h:310
@ DirectWriteAccessors
Definition Constants.h:316
@ DirectAccessors
Definition Constants.h:314
@ AutoAlign
Definition Constants.h:268
@ RowMajor
Definition Constants.h:266
@ ColMajor
Definition Constants.h:264
const unsigned int DirectAccessBit
Definition Constants.h:142
const unsigned int LvalueBit
Definition Constants.h:131
Helper class used by the comma initializer operator.
Definition CommaInitializer.h:29