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,
39template<
typename T>
struct evaluator_traits;
41template<
typename T>
struct evaluator;
45template<
typename T>
struct NumTraits;
47template<
typename Derived>
struct EigenBase;
48template<
typename Derived>
class DenseBase;
49template<
typename Derived>
class PlainObjectBase;
50template<
typename Derived,
int Level>
class DenseCoeffsBase;
52template<
typename _Scalar,
int _Rows,
int _Cols,
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;
82template<
typename XprType,
typename RowIndices,
typename ColIndices>
class IndexedView;
83template<
typename XprType,
int Rows=Dynamic,
int Cols=Dynamic,
int Order=0>
class Reshaped;
85template<
typename MatrixType,
int Size=Dynamic>
class VectorBlock;
86template<
typename MatrixType>
class Transpose;
87template<
typename MatrixType>
class Conjugate;
88template<
typename NullaryOp,
typename MatrixType>
class CwiseNullaryOp;
89template<
typename UnaryOp,
typename MatrixType>
class CwiseUnaryOp;
90template<
typename ViewOp,
typename MatrixType>
class CwiseUnaryView;
91template<
typename BinaryOp,
typename Lhs,
typename Rhs>
class CwiseBinaryOp;
92template<
typename TernaryOp,
typename Arg1,
typename Arg2,
typename Arg3>
class CwiseTernaryOp;
93template<
typename Decomposition,
typename Rhstype>
class Solve;
94template<
typename XprType>
class Inverse;
96template<
typename Lhs,
typename Rhs,
int Option = DefaultProduct>
class Product;
98template<
typename Derived>
class DiagonalBase;
99template<
typename _DiagonalVectorType>
class DiagonalWrapper;
100template<
typename _Scalar,
int SizeAtCompileTime,
int MaxSizeAtCompileTime=SizeAtCompileTime>
class DiagonalMatrix;
101template<
typename MatrixType,
typename DiagonalType,
int ProductOrder>
class DiagonalProduct;
102template<
typename MatrixType,
int Index = 0>
class Diagonal;
103template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class PermutationMatrix;
104template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class Transpositions;
105template<
typename Derived>
class PermutationBase;
106template<
typename Derived>
class TranspositionsBase;
107template<
typename _IndicesType>
class PermutationWrapper;
108template<
typename _IndicesType>
class TranspositionsWrapper;
110template<
typename Derived,
113template<
int OuterStr
ideAtCompileTime,
int InnerStr
ideAtCompileTime>
class Stride;
114template<
int Value = Dynamic>
class InnerStride;
115template<
int Value = Dynamic>
class OuterStride;
116template<
typename MatrixType,
int MapOptions=Unaligned,
typename Str
ideType = Str
ide<0,0> >
class Map;
117template<
typename Derived>
class RefBase;
118template<
typename PlainObjectType,
int Options = 0,
119 typename StrideType =
typename internal::conditional<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,OuterStride<> >::type >
class Ref;
121template<
typename Derived>
class TriangularBase;
122template<
typename MatrixType,
unsigned int Mode>
class TriangularView;
123template<
typename MatrixType,
unsigned int Mode>
class SelfAdjointView;
124template<
typename MatrixType>
class SparseView;
125template<
typename ExpressionType>
class WithFormat;
126template<
typename MatrixType>
struct CommaInitializer;
127template<
typename Derived>
class ReturnByValue;
128template<
typename ExpressionType>
class ArrayWrapper;
129template<
typename ExpressionType>
class MatrixWrapper;
130template<
typename Derived>
class SolverBase;
131template<
typename XprType>
class InnerIterator;
134template<
typename XprType>
class generic_randaccess_stl_iterator;
135template<
typename XprType>
class pointer_based_stl_iterator;
136template<
typename XprType, DirectionType Direction>
class subvector_stl_iterator;
137template<
typename XprType, DirectionType Direction>
class subvector_stl_reverse_iterator;
138template<
typename DecompositionType>
struct kernel_retval_base;
139template<
typename DecompositionType>
struct kernel_retval;
140template<
typename DecompositionType>
struct image_retval_base;
141template<
typename DecompositionType>
struct image_retval;
145template<
typename _Scalar,
int Rows=Dynamic,
int Cols=Dynamic,
int Supers=Dynamic,
int Subs=Dynamic,
int Options=0>
class BandMatrix;
149template<
typename Lhs,
typename Rhs>
struct product_type;
151template<
bool>
struct EnableIf;
159 int ProductTag = internal::product_type<typename T::Lhs,typename T::Rhs>::ret,
160 typename LhsShape =
typename evaluator_traits<typename T::Lhs>::Shape,
161 typename RhsShape =
typename evaluator_traits<typename T::Rhs>::Shape,
162 typename LhsScalar =
typename traits<typename T::Lhs>::Scalar,
163 typename RhsScalar =
typename traits<typename T::Rhs>::Scalar
164 >
struct product_evaluator;
167template<
typename Lhs,
typename Rhs,
168 int ProductType = internal::product_type<Lhs,Rhs>::value>
169struct ProductReturnType;
172template<
typename Lhs,
typename Rhs>
struct LazyProductReturnType;
178template<
typename LhsScalar,
typename RhsScalar,
bool ConjLhs=false,
bool ConjRhs=false>
struct conj_helper;
180template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_sum_op;
181template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_difference_op;
182template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_conj_product_op;
183template<
typename LhsScalar,
typename RhsScalar=LhsScalar,
int NaNPropagation=PropagateFast>
struct scalar_min_op;
184template<
typename LhsScalar,
typename RhsScalar=LhsScalar,
int NaNPropagation=PropagateFast>
struct scalar_max_op;
185template<
typename Scalar>
struct scalar_opposite_op;
186template<
typename Scalar>
struct scalar_conjugate_op;
187template<
typename Scalar>
struct scalar_real_op;
188template<
typename Scalar>
struct scalar_imag_op;
189template<
typename Scalar>
struct scalar_abs_op;
190template<
typename Scalar>
struct scalar_abs2_op;
191template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_absolute_difference_op;
192template<
typename Scalar>
struct scalar_sqrt_op;
193template<
typename Scalar>
struct scalar_rsqrt_op;
194template<
typename Scalar>
struct scalar_exp_op;
195template<
typename Scalar>
struct scalar_log_op;
196template<
typename Scalar>
struct scalar_cos_op;
197template<
typename Scalar>
struct scalar_sin_op;
198template<
typename Scalar>
struct scalar_acos_op;
199template<
typename Scalar>
struct scalar_asin_op;
200template<
typename Scalar>
struct scalar_tan_op;
201template<
typename Scalar>
struct scalar_inverse_op;
202template<
typename Scalar>
struct scalar_square_op;
203template<
typename Scalar>
struct scalar_cube_op;
204template<
typename Scalar,
typename NewType>
struct scalar_cast_op;
205template<
typename Scalar>
struct scalar_random_op;
206template<
typename Scalar>
struct scalar_constant_op;
207template<
typename Scalar>
struct scalar_identity_op;
208template<
typename Scalar,
bool is_complex,
bool is_
integer>
struct scalar_sign_op;
209template<
typename Scalar,
typename ScalarExponent>
struct scalar_pow_op;
210template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_hypot_op;
211template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_product_op;
212template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_quotient_op;
215template<
typename Scalar>
struct scalar_lgamma_op;
216template<
typename Scalar>
struct scalar_digamma_op;
217template<
typename Scalar>
struct scalar_erf_op;
218template<
typename Scalar>
struct scalar_erfc_op;
219template<
typename Scalar>
struct scalar_ndtri_op;
220template<
typename Scalar>
struct scalar_igamma_op;
221template<
typename Scalar>
struct scalar_igammac_op;
222template<
typename Scalar>
struct scalar_zeta_op;
223template<
typename Scalar>
struct scalar_betainc_op;
226template<
typename Scalar>
struct scalar_bessel_i0_op;
227template<
typename Scalar>
struct scalar_bessel_i0e_op;
228template<
typename Scalar>
struct scalar_bessel_i1_op;
229template<
typename Scalar>
struct scalar_bessel_i1e_op;
230template<
typename Scalar>
struct scalar_bessel_j0_op;
231template<
typename Scalar>
struct scalar_bessel_y0_op;
232template<
typename Scalar>
struct scalar_bessel_j1_op;
233template<
typename Scalar>
struct scalar_bessel_y1_op;
234template<
typename Scalar>
struct scalar_bessel_k0_op;
235template<
typename Scalar>
struct scalar_bessel_k0e_op;
236template<
typename Scalar>
struct scalar_bessel_k1_op;
237template<
typename Scalar>
struct scalar_bessel_k1e_op;
245template<
typename _Scalar,
int _Rows,
int _Cols,
247#if EIGEN_GNUC_AT(3,4)
254 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
259 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
261 int _MaxRows = _Rows,
int _MaxCols = _Cols>
class Array;
262template<
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
class Select;
263template<
typename MatrixType,
typename BinaryOp,
int Direction>
class PartialReduxExpr;
264template<
typename ExpressionType,
int Direction>
class VectorwiseOp;
265template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate;
266template<
typename MatrixType,
int Direction = BothDirections>
class Reverse;
268template<
typename MatrixType>
class FullPivLU;
269template<
typename MatrixType>
class PartialPivLU;
271template<
typename MatrixType>
struct inverse_impl;
273template<
typename MatrixType>
class HouseholderQR;
274template<
typename MatrixType>
class ColPivHouseholderQR;
275template<
typename MatrixType>
class FullPivHouseholderQR;
276template<
typename MatrixType>
class CompleteOrthogonalDecomposition;
277template<
typename MatrixType>
class SVDBase;
278template<
typename MatrixType,
int QRPreconditioner = ColPivHouseholderQRPreconditioner>
class JacobiSVD;
279template<
typename MatrixType>
class BDCSVD;
280template<
typename MatrixType,
int UpLo = Lower>
class LLT;
281template<
typename MatrixType,
int UpLo = Lower>
class LDLT;
282template<
typename VectorsType,
typename CoeffsType,
int S
ide=OnTheLeft>
class HouseholderSequence;
283template<
typename Scalar>
class JacobiRotation;
286template<
typename Derived,
int _Dim>
class RotationBase;
287template<
typename Lhs,
typename Rhs>
class Cross;
288template<
typename Derived>
class QuaternionBase;
289template<
typename Scalar>
class Rotation2D;
290template<
typename Scalar>
class AngleAxis;
291template<
typename Scalar,
int Dim>
class Translation;
292template<
typename Scalar,
int Dim>
class AlignedBox;
293template<
typename Scalar,
int Options = AutoAlign>
class Quaternion;
294template<
typename Scalar,
int Dim,
int Mode,
int _Options=AutoAlign>
class Transform;
295template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class ParametrizedLine;
296template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class Hyperplane;
297template<
typename Scalar>
class UniformScaling;
298template<
typename MatrixType,
int Direction>
class Homogeneous;
301template<
typename Derived>
class SparseMatrixBase;
304template<
typename Derived>
struct MatrixExponentialReturnValue;
305template<
typename Derived>
class MatrixFunctionReturnValue;
306template<
typename Derived>
class MatrixSquareRootReturnValue;
307template<
typename Derived>
class MatrixLogarithmReturnValue;
308template<
typename Derived>
class MatrixPowerReturnValue;
309template<
typename Derived>
class MatrixComplexPowerReturnValue;
312template <
typename Scalar>
315 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
316 typedef ComplexScalar type(ComplexScalar,
int);
@ DirectAccessors
Definition Constants.h:380
@ ReadOnlyAccessors
Definition Constants.h:376
@ WriteAccessors
Definition Constants.h:378
@ DirectWriteAccessors
Definition Constants.h:382
@ ColMajor
Definition Constants.h:319
@ RowMajor
Definition Constants.h:321
@ AutoAlign
Definition Constants.h:323
const unsigned int DirectAccessBit
Definition Constants.h:155
const unsigned int LvalueBit
Definition Constants.h:144
Namespace containing all symbols from the Eigen library.
Definition B01_Experimental.dox:1