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,
39 template<
typename T>
struct evaluator_traits;
41 template<
typename T>
struct evaluator;
45 template<
typename T>
struct NumTraits;
47 template<
typename Derived>
struct EigenBase;
48 template<
typename Derived>
class DenseBase;
49 template<
typename Derived>
class PlainObjectBase;
52 template<
typename Derived,
53 int Level = internal::accessors_level<Derived>::value >
54 class DenseCoeffsBase;
56 template<
typename _Scalar,
int _Rows,
int _Cols,
58 #if EIGEN_GNUC_AT(3,4) 65 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
70 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
76 template<
typename Derived>
class MatrixBase;
77 template<
typename Derived>
class ArrayBase;
79 template<
typename ExpressionType,
unsigned int Added,
unsigned int Removed>
class Flagged;
80 template<
typename ExpressionType,
template <
typename>
class StorageBase >
class NoAlias;
81 template<
typename ExpressionType>
class NestByValue;
82 template<
typename ExpressionType>
class ForceAlignedAccess;
83 template<
typename ExpressionType>
class SwapWrapper;
85 template<
typename XprType,
int BlockRows=Dynamic,
int BlockCols=Dynamic,
bool InnerPanel = false>
class Block;
87 template<
typename MatrixType,
int Size=Dynamic>
class VectorBlock;
88 template<
typename MatrixType>
class Transpose;
89 template<
typename MatrixType>
class Conjugate;
90 template<
typename NullaryOp,
typename MatrixType>
class CwiseNullaryOp;
91 template<
typename UnaryOp,
typename MatrixType>
class CwiseUnaryOp;
92 template<
typename ViewOp,
typename MatrixType>
class CwiseUnaryView;
93 template<
typename BinaryOp,
typename Lhs,
typename Rhs>
class CwiseBinaryOp;
94 template<
typename TernaryOp,
typename Arg1,
typename Arg2,
typename Arg3>
class CwiseTernaryOp;
95 template<
typename Decomposition,
typename Rhstype>
class Solve;
96 template<
typename XprType>
class Inverse;
98 template<
typename Lhs,
typename Rhs,
int Option = DefaultProduct>
class Product;
100 template<
typename Derived>
class DiagonalBase;
102 template<
typename _Scalar,
int SizeAtCompileTime,
int MaxSizeAtCompileTime=SizeAtCompileTime>
class DiagonalMatrix;
103 template<
typename MatrixType,
typename DiagonalType,
int ProductOrder>
class DiagonalProduct;
104 template<
typename MatrixType,
int Index = 0>
class Diagonal;
105 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class PermutationMatrix;
106 template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class Transpositions;
108 template<
typename Derived>
class TranspositionsBase;
110 template<
typename _IndicesType>
class TranspositionsWrapper;
112 template<
typename Derived,
115 template<
int InnerStr
ideAtCompileTime,
int OuterStr
ideAtCompileTime>
class Stride;
118 template<
typename MatrixType,
int MapOptions=Unaligned,
typename Str
ideType = Str
ide<0,0> >
class Map;
119 template<
typename Derived>
class RefBase;
120 template<
typename PlainObjectType,
int Options = 0,
121 typename StrideType =
typename internal::conditional<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,
OuterStride<> >::type >
class Ref;
124 template<
typename MatrixType,
unsigned int Mode>
class TriangularView;
125 template<
typename MatrixType,
unsigned int Mode>
class SelfAdjointView;
127 template<
typename ExpressionType>
class WithFormat;
129 template<
typename Derived>
class ReturnByValue;
133 template<
typename XprType>
class InnerIterator;
136 template<
typename DecompositionType>
struct kernel_retval_base;
137 template<
typename DecompositionType>
struct kernel_retval;
138 template<
typename DecompositionType>
struct image_retval_base;
139 template<
typename DecompositionType>
struct image_retval;
143 template<
typename _Scalar,
int Rows=Dynamic,
int Cols=Dynamic,
int Supers=Dynamic,
int Subs=Dynamic,
int Options=0>
class BandMatrix;
147 template<
typename Lhs,
typename Rhs>
struct product_type;
149 template<
bool>
struct EnableIf;
156 template<
typename T,
157 int ProductTag = internal::product_type<typename T::Lhs,typename T::Rhs>::ret,
158 typename LhsShape =
typename evaluator_traits<typename T::Lhs>::Shape,
159 typename RhsShape =
typename evaluator_traits<typename T::Rhs>::Shape,
160 typename LhsScalar =
typename traits<typename T::Lhs>::Scalar,
161 typename RhsScalar =
typename traits<typename T::Rhs>::Scalar
162 >
struct product_evaluator;
165 template<
typename Lhs,
typename Rhs,
166 int ProductType = internal::product_type<Lhs,Rhs>::value>
167 struct ProductReturnType;
170 template<
typename Lhs,
typename Rhs>
struct LazyProductReturnType;
176 template<
typename LhsScalar,
typename RhsScalar,
bool ConjLhs=false,
bool ConjRhs=false>
struct conj_helper;
178 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_sum_op;
179 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_difference_op;
180 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_conj_product_op;
181 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_min_op;
182 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_max_op;
183 template<
typename Scalar>
struct scalar_opposite_op;
184 template<
typename Scalar>
struct scalar_conjugate_op;
185 template<
typename Scalar>
struct scalar_real_op;
186 template<
typename Scalar>
struct scalar_imag_op;
187 template<
typename Scalar>
struct scalar_abs_op;
188 template<
typename Scalar>
struct scalar_abs2_op;
189 template<
typename Scalar>
struct scalar_sqrt_op;
190 template<
typename Scalar>
struct scalar_rsqrt_op;
191 template<
typename Scalar>
struct scalar_exp_op;
192 template<
typename Scalar>
struct scalar_log_op;
193 template<
typename Scalar>
struct scalar_cos_op;
194 template<
typename Scalar>
struct scalar_sin_op;
195 template<
typename Scalar>
struct scalar_acos_op;
196 template<
typename Scalar>
struct scalar_asin_op;
197 template<
typename Scalar>
struct scalar_tan_op;
198 template<
typename Scalar>
struct scalar_inverse_op;
199 template<
typename Scalar>
struct scalar_square_op;
200 template<
typename Scalar>
struct scalar_cube_op;
201 template<
typename Scalar,
typename NewType>
struct scalar_cast_op;
202 template<
typename Scalar>
struct scalar_random_op;
203 template<
typename Scalar>
struct scalar_constant_op;
204 template<
typename Scalar>
struct scalar_identity_op;
205 template<
typename Scalar,
bool iscpx>
struct scalar_sign_op;
206 template<
typename Scalar,
typename ScalarExponent>
struct scalar_pow_op;
207 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_hypot_op;
208 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_product_op;
209 template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_quotient_op;
212 template<
typename Scalar>
struct scalar_lgamma_op;
213 template<
typename Scalar>
struct scalar_digamma_op;
214 template<
typename Scalar>
struct scalar_erf_op;
215 template<
typename Scalar>
struct scalar_erfc_op;
216 template<
typename Scalar>
struct scalar_igamma_op;
217 template<
typename Scalar>
struct scalar_igammac_op;
218 template<
typename Scalar>
struct scalar_zeta_op;
219 template<
typename Scalar>
struct scalar_betainc_op;
226 template<
typename _Scalar,
int _Rows,
int _Cols,
228 #if EIGEN_GNUC_AT(3,4) 235 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
240 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
242 int _MaxRows = _Rows,
int _MaxCols = _Cols>
class Array;
243 template<
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
class Select;
246 template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate;
247 template<
typename MatrixType,
int Direction = BothDirections>
class Reverse;
252 template<
typename MatrixType>
struct inverse_impl;
258 template<
typename MatrixType,
int QRPreconditioner = ColPivHouseholderQRPreconditioner>
class JacobiSVD;
259 template<
typename MatrixType>
class BDCSVD;
260 template<
typename MatrixType,
int UpLo = Lower>
class LLT;
261 template<
typename MatrixType,
int UpLo = Lower>
class LDLT;
267 template<
typename Lhs,
typename Rhs>
class Cross;
273 template<
typename Scalar,
int Options = AutoAlign>
class Quaternion;
274 template<
typename Scalar,
int Dim,
int Mode,
int _Options=AutoAlign>
class Transform;
275 template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class ParametrizedLine;
276 template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class Hyperplane;
277 template<
typename Scalar>
class UniformScaling;
284 template<
typename Derived>
struct MatrixExponentialReturnValue;
285 template<
typename Derived>
class MatrixFunctionReturnValue;
286 template<
typename Derived>
class MatrixSquareRootReturnValue;
287 template<
typename Derived>
class MatrixLogarithmReturnValue;
288 template<
typename Derived>
class MatrixPowerReturnValue;
289 template<
typename Derived>
class MatrixComplexPowerReturnValue;
292 template <
typename Scalar>
295 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
296 typedef ComplexScalar type(ComplexScalar,
int);
302 #endif // EIGEN_FORWARDDECLARATIONS_H Generic expression of a matrix where all coefficients are defined by a functor.
Definition: CwiseNullaryOp.h:60
Robust Cholesky decomposition of a matrix with pivoting.
Definition: LDLT.h:50
Definition: Constants.h:368
Definition: Constants.h:320
Expression of the product of two arbitrary matrices or vectors.
Definition: Product.h:71
Expression of a mathematical vector or matrix as an array object.
Definition: ArrayWrapper.h:42
Householder rank-revealing QR decomposition of a matrix with full pivoting.
Definition: ForwardDeclarations.h:256
A matrix or vector expression mapping an existing array of data.
Definition: Map.h:88
Base class for triangular part in a matrix.
Definition: TriangularMatrix.h:27
Expression of the transpose of a matrix.
Definition: Transpose.h:52
const unsigned int DirectAccessBit
Definition: Constants.h:150
const unsigned int LvalueBit
Definition: Constants.h:139
Represents a diagonal matrix with its storage.
Definition: DiagonalMatrix.h:116
LU decomposition of a matrix with partial pivoting, and related features.
Definition: ForwardDeclarations.h:250
Namespace containing all symbols from the Eigen library.
Definition: Core:287
Holds strides information for Map.
Definition: Stride.h:44
Rotation given by a cosine-sine pair.
Definition: ForwardDeclarations.h:263
Generic expression of a partially reduxed matrix.
Definition: ForwardDeclarations.h:244
Pseudo expression providing partial reduction operations.
Definition: ForwardDeclarations.h:245
Complete orthogonal decomposition (COD) of a matrix.
Definition: ForwardDeclarations.h:257
An axis aligned box.
Definition: ForwardDeclarations.h:272
Base class for permutations.
Definition: PermutationMatrix.h:46
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:262
Represents a translation transformation.
Definition: ForwardDeclarations.h:271
Expression of the inverse of another expression.
Definition: Inverse.h:43
Permutation matrix.
Definition: PermutationMatrix.h:308
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Definition: CwiseUnaryView.h:58
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:87
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Definition: CwiseBinaryOp.h:77
Definition: Constants.h:366
Definition: Constants.h:324
Base class of any sparse matrices or sparse expressions.
Definition: ForwardDeclarations.h:281
A hyperplane.
Definition: ForwardDeclarations.h:276
Householder rank-revealing QR decomposition of a matrix with column-pivoting.
Definition: ForwardDeclarations.h:255
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition: LLT.h:52
Convenience specialization of Stride to specify only an inner stride See class Map for some examples...
Definition: Stride.h:90
Generic expression where a coefficient-wise ternary operator is applied to two expressions.
Definition: CwiseTernaryOp.h:84
Expression of the multiple replication of a matrix or vector.
Definition: Replicate.h:61
Definition: Constants.h:370
Common base class for compact rotation representations.
Definition: ForwardDeclarations.h:266
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
Definition: SelfAdjointView.h:49
Expression of a dense or sparse matrix with zero or too small values removed.
Definition: ForwardDeclarations.h:126
Class to view a vector of integers as a permutation matrix.
Definition: PermutationMatrix.h:514
Base class for quaternion expressions.
Definition: ForwardDeclarations.h:268
Definition: Constants.h:372
class Bidiagonal Divide and Conquer SVD
Definition: ForwardDeclarations.h:259
A matrix or vector expression mapping an existing expression.
Definition: Ref.h:190
Definition: Eigen_Colamd.h:50
Represents a rotation/orientation in a 2 dimensional space.
Definition: ForwardDeclarations.h:269
The quaternion class used to represent 3D orientations and rotations.
Definition: ForwardDeclarations.h:273
LU decomposition of a matrix with complete pivoting, and related features.
Definition: ForwardDeclarations.h:249
Householder QR decomposition of a matrix.
Definition: ForwardDeclarations.h:254
General-purpose arrays with easy API for coefficient-wise operations.
Definition: Array.h:45
Definition: Constants.h:322
Two-sided Jacobi SVD decomposition of a rectangular matrix.
Definition: ForwardDeclarations.h:258
Expression of a triangular part in a matrix.
Definition: TriangularMatrix.h:186
Expression of a diagonal matrix.
Definition: DiagonalMatrix.h:245
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
Definition: Diagonal.h:63
Pseudo expression representing a solving operation.
Definition: Solve.h:62
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition: CwiseUnaryOp.h:55
Convenience specialization of Stride to specify only an outer stride See class Map for some examples...
Definition: Stride.h:101
Expression of the reverse of a vector or matrix.
Definition: Reverse.h:63
A base class for matrix decomposition and solvers.
Definition: SolverBase.h:41
A parametrized line.
Definition: ForwardDeclarations.h:275
Represents a 3D rotation as a rotation angle around an arbitrary 3D axis.
Definition: ForwardDeclarations.h:270
Represents a sequence of transpositions (row/column interchange)
Definition: Transpositions.h:158
Expression of one (or a set of) homogeneous vector(s)
Definition: ForwardDeclarations.h:278
Expression of a coefficient wise version of the C++ ternary operator ?:
Definition: Select.h:52