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;
52template<
typename Derived,
53 int Level = internal::accessors_level<Derived>::value >
56template<
typename _Scalar,
int _Rows,
int _Cols,
65 : !(_Cols==1 && _Rows!=1) ? EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION
70 : EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ),
79template<
typename ExpressionType,
unsigned int Added,
unsigned int Removed>
class Flagged;
80template<
typename ExpressionType,
template <
typename>
class StorageBase >
class NoAlias;
83template<
typename ExpressionType>
class SwapWrapper;
85template<
typename XprType,
int BlockRows=Dynamic,
int BlockCols=Dynamic,
bool InnerPanel = false>
class Block;
87template<
typename MatrixType,
int Size=Dynamic>
class VectorBlock;
89template<
typename MatrixType>
class Conjugate;
93template<
typename BinaryOp,
typename Lhs,
typename Rhs>
class CwiseBinaryOp;
94template<
typename TernaryOp,
typename Arg1,
typename Arg2,
typename Arg3>
class CwiseTernaryOp;
95template<
typename Decomposition,
typename Rhstype>
class Solve;
98template<
typename Lhs,
typename Rhs,
int Option = DefaultProduct>
class Product;
100template<
typename Derived>
class DiagonalBase;
102template<
typename _Scalar,
int SizeAtCompileTime,
int MaxSizeAtCompileTime=SizeAtCompileTime>
class DiagonalMatrix;
103template<
typename MatrixType,
typename DiagonalType,
int ProductOrder>
class DiagonalProduct;
104template<
typename MatrixType,
int Index = 0>
class Diagonal;
105template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class PermutationMatrix;
106template<
int SizeAtCompileTime,
int MaxSizeAtCompileTime = SizeAtCompileTime,
typename IndexType=
int>
class Transpositions;
108template<
typename Derived>
class TranspositionsBase;
110template<
typename _IndicesType>
class TranspositionsWrapper;
112template<
typename Derived,
115template<
int InnerStr
ideAtCompileTime,
int OuterStr
ideAtCompileTime>
class Stride;
118template<
typename MatrixType,
int MapOptions=Unaligned,
typename Str
ideType = Str
ide<0,0> >
class Map;
119template<
typename Derived>
class RefBase;
120template<
typename PlainObjectType,
int Options = 0,
121 typename StrideType =
typename internal::conditional<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,
OuterStride<> >::type >
class Ref;
126template<
typename MatrixType>
class SparseView;
129template<
typename Derived>
class ReturnByValue;
133template<
typename XprType>
class InnerIterator;
136template<
typename DecompositionType>
struct kernel_retval_base;
137template<
typename DecompositionType>
struct kernel_retval;
138template<
typename DecompositionType>
struct image_retval_base;
139template<
typename DecompositionType>
struct image_retval;
143template<
typename _Scalar,
int Rows=Dynamic,
int Cols=Dynamic,
int Supers=Dynamic,
int Subs=Dynamic,
int Options=0>
class BandMatrix;
147template<
typename Lhs,
typename Rhs>
struct product_type;
149template<
bool>
struct EnableIf;
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;
165template<
typename Lhs,
typename Rhs,
166 int ProductType = internal::product_type<Lhs,Rhs>::value>
167struct ProductReturnType;
170template<
typename Lhs,
typename Rhs>
struct LazyProductReturnType;
176template<
typename LhsScalar,
typename RhsScalar,
bool ConjLhs=false,
bool ConjRhs=false>
struct conj_helper;
178template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_sum_op;
179template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_difference_op;
180template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_conj_product_op;
181template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_min_op;
182template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_max_op;
183template<
typename Scalar>
struct scalar_opposite_op;
184template<
typename Scalar>
struct scalar_conjugate_op;
185template<
typename Scalar>
struct scalar_real_op;
186template<
typename Scalar>
struct scalar_imag_op;
187template<
typename Scalar>
struct scalar_abs_op;
188template<
typename Scalar>
struct scalar_abs2_op;
189template<
typename Scalar>
struct scalar_sqrt_op;
190template<
typename Scalar>
struct scalar_rsqrt_op;
191template<
typename Scalar>
struct scalar_exp_op;
192template<
typename Scalar>
struct scalar_log_op;
193template<
typename Scalar>
struct scalar_cos_op;
194template<
typename Scalar>
struct scalar_sin_op;
195template<
typename Scalar>
struct scalar_acos_op;
196template<
typename Scalar>
struct scalar_asin_op;
197template<
typename Scalar>
struct scalar_tan_op;
198template<
typename Scalar>
struct scalar_inverse_op;
199template<
typename Scalar>
struct scalar_square_op;
200template<
typename Scalar>
struct scalar_cube_op;
201template<
typename Scalar,
typename NewType>
struct scalar_cast_op;
202template<
typename Scalar>
struct scalar_random_op;
203template<
typename Scalar>
struct scalar_constant_op;
204template<
typename Scalar>
struct scalar_identity_op;
205template<
typename Scalar,
bool iscpx>
struct scalar_sign_op;
206template<
typename Scalar,
typename ScalarExponent>
struct scalar_pow_op;
207template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_hypot_op;
208template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_product_op;
209template<
typename LhsScalar,
typename RhsScalar=LhsScalar>
struct scalar_quotient_op;
212template<
typename Scalar>
struct scalar_lgamma_op;
213template<
typename Scalar>
struct scalar_digamma_op;
214template<
typename Scalar>
struct scalar_erf_op;
215template<
typename Scalar>
struct scalar_erfc_op;
216template<
typename Scalar>
struct scalar_igamma_op;
217template<
typename Scalar>
struct scalar_igammac_op;
218template<
typename Scalar>
struct scalar_zeta_op;
219template<
typename Scalar>
struct scalar_betainc_op;
226template<
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;
243template<
typename ConditionMatrixType,
typename ThenMatrixType,
typename ElseMatrixType>
class Select;
244template<
typename MatrixType,
typename BinaryOp,
int Direction>
class PartialReduxExpr;
245template<
typename ExpressionType,
int Direction>
class VectorwiseOp;
246template<
typename MatrixType,
int RowFactor,
int ColFactor>
class Replicate;
247template<
typename MatrixType,
int Direction = BothDirections>
class Reverse;
249template<
typename MatrixType>
class FullPivLU;
252template<
typename MatrixType>
struct inverse_impl;
258template<
typename MatrixType,
int QRPreconditioner = ColPivHouseholderQRPreconditioner>
class JacobiSVD;
259template<
typename MatrixType>
class BDCSVD;
260template<
typename MatrixType,
int UpLo = Lower>
class LLT;
261template<
typename MatrixType,
int UpLo = Lower>
class LDLT;
262template<
typename VectorsType,
typename CoeffsType,
int S
ide=OnTheLeft>
class HouseholderSequence;
267template<
typename Lhs,
typename Rhs>
class Cross;
270template<
typename Scalar>
class AngleAxis;
271template<
typename Scalar,
int Dim>
class Translation;
272template<
typename Scalar,
int Dim>
class AlignedBox;
273template<
typename Scalar,
int Options = AutoAlign>
class Quaternion;
274template<
typename Scalar,
int Dim,
int Mode,
int _Options=AutoAlign>
class Transform;
275template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class ParametrizedLine;
276template <
typename _Scalar,
int _AmbientDim,
int Options=AutoAlign>
class Hyperplane;
277template<
typename Scalar>
class UniformScaling;
278template<
typename MatrixType,
int Direction>
class Homogeneous;
284template<
typename Derived>
struct MatrixExponentialReturnValue;
285template<
typename Derived>
class MatrixFunctionReturnValue;
286template<
typename Derived>
class MatrixSquareRootReturnValue;
287template<
typename Derived>
class MatrixLogarithmReturnValue;
288template<
typename Derived>
class MatrixPowerReturnValue;
289template<
typename Derived>
class MatrixComplexPowerReturnValue;
292template <
typename Scalar>
295 typedef std::complex<typename NumTraits<Scalar>::Real> ComplexScalar;
296 typedef ComplexScalar type(ComplexScalar,
int);
An axis aligned box.
Definition AlignedBox.h:31
Represents a 3D rotation as a rotation angle around an arbitrary 3D axis.
Definition AngleAxis.h:50
Base class for all 1D and 2D array, and related expressions.
Definition ForwardDeclarations.h:77
Expression of a mathematical vector or matrix as an array object.
Definition ForwardDeclarations.h:130
General-purpose arrays with easy API for coefficient-wise operations.
Definition ForwardDeclarations.h:242
class Bidiagonal Divide and Conquer SVD
Definition BDCSVD.h:68
Expression of a fixed-size or dynamic-size block.
Definition ForwardDeclarations.h:85
Householder rank-revealing QR decomposition of a matrix with column-pivoting.
Definition ColPivHouseholderQR.h:49
Complete orthogonal decomposition (COD) of a matrix.
Definition CompleteOrthogonalDecomposition.h:48
Generic expression where a coefficient-wise binary operator is applied to two expressions.
Definition ForwardDeclarations.h:93
Generic expression of a matrix where all coefficients are defined by a functor.
Definition ForwardDeclarations.h:90
Generic expression where a coefficient-wise ternary operator is applied to two expressions.
Definition ForwardDeclarations.h:94
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition ForwardDeclarations.h:91
Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector.
Definition ForwardDeclarations.h:92
Base class for all dense matrices, vectors, and arrays.
Definition ForwardDeclarations.h:48
Represents a diagonal matrix with its storage.
Definition ForwardDeclarations.h:102
Expression of a diagonal matrix.
Definition ForwardDeclarations.h:101
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
Definition ForwardDeclarations.h:104
Enforce aligned packet loads and stores regardless of what is requested.
Definition ForwardDeclarations.h:82
Householder rank-revealing QR decomposition of a matrix with full pivoting.
Definition FullPivHouseholderQR.h:58
LU decomposition of a matrix with complete pivoting, and related features.
Definition FullPivLU.h:61
Expression of one (or a set of) homogeneous vector(s)
Definition Homogeneous.h:62
Householder QR decomposition of a matrix.
Definition HouseholderQR.h:45
Sequence of Householder reflections acting on subspaces with decreasing size.
Definition HouseholderSequence.h:121
A hyperplane.
Definition Hyperplane.h:35
Convenience specialization of Stride to specify only an inner stride See class Map for some examples.
Definition ForwardDeclarations.h:116
Expression of the inverse of another expression.
Definition ForwardDeclarations.h:96
Rotation given by a cosine-sine pair.
Definition Jacobi.h:35
Two-sided Jacobi SVD decomposition of a rectangular matrix.
Definition JacobiSVD.h:485
Robust Cholesky decomposition of a matrix with pivoting.
Definition ForwardDeclarations.h:261
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition ForwardDeclarations.h:260
A matrix or vector expression mapping an existing array of data.
Definition ForwardDeclarations.h:118
Base class for all dense matrices, vectors, and expressions.
Definition ForwardDeclarations.h:76
Expression of an array as a mathematical vector or matrix.
Definition ForwardDeclarations.h:131
The matrix class, also used for vectors and row-vectors.
Definition ForwardDeclarations.h:74
Expression which must be nested by value.
Definition ForwardDeclarations.h:81
Pseudo expression providing an operator = assuming no aliasing.
Definition ForwardDeclarations.h:80
Convenience specialization of Stride to specify only an outer stride See class Map for some examples.
Definition ForwardDeclarations.h:117
A parametrized line.
Definition ParametrizedLine.h:31
LU decomposition of a matrix with partial pivoting, and related features.
Definition PartialPivLU.h:77
Generic expression of a partially reduxed matrix.
Definition VectorwiseOp.h:58
Base class for permutations.
Definition ForwardDeclarations.h:107
Permutation matrix.
Definition ForwardDeclarations.h:105
Class to view a vector of integers as a permutation matrix.
Definition ForwardDeclarations.h:109
Dense storage base class for matrices and arrays.
Definition ForwardDeclarations.h:49
Expression of the product of two arbitrary matrices or vectors.
Definition ForwardDeclarations.h:98
Base class for quaternion expressions.
Definition Quaternion.h:36
The quaternion class used to represent 3D orientations and rotations.
Definition Quaternion.h:228
A matrix or vector expression mapping an existing expression.
Definition ForwardDeclarations.h:121
Expression of the multiple replication of a matrix or vector.
Definition ForwardDeclarations.h:246
Expression of the reverse of a vector or matrix.
Definition ForwardDeclarations.h:247
Represents a rotation/orientation in a 2 dimensional space.
Definition Rotation2D.h:42
Common base class for compact rotation representations.
Definition RotationBase.h:30
Expression of a coefficient wise version of the C++ ternary operator ?:
Definition ForwardDeclarations.h:243
Expression of a selfadjoint matrix from a triangular part of a dense matrix.
Definition ForwardDeclarations.h:125
Pseudo expression representing a solving operation.
Definition ForwardDeclarations.h:95
A base class for matrix decomposition and solvers.
Definition ForwardDeclarations.h:132
Base class of any sparse matrices or sparse expressions.
Definition SparseMatrixBase.h:28
Holds strides information for Map.
Definition ForwardDeclarations.h:115
Represents a translation transformation.
Definition Translation.h:31
Expression of the transpose of a matrix.
Definition ForwardDeclarations.h:88
Represents a sequence of transpositions (row/column interchange)
Definition ForwardDeclarations.h:106
Base class for triangular part in a matrix.
Definition ForwardDeclarations.h:123
Expression of a triangular part in a matrix.
Definition ForwardDeclarations.h:124
Expression of a fixed-size or dynamic-size sub-vector.
Definition VectorBlock.h:60
Pseudo expression providing partial reduction operations.
Definition VectorwiseOp.h:157
@ DirectAccessors
Definition Constants.h:370
@ ReadOnlyAccessors
Definition Constants.h:366
@ WriteAccessors
Definition Constants.h:368
@ DirectWriteAccessors
Definition Constants.h:372
@ ColMajor
Definition Constants.h:320
@ RowMajor
Definition Constants.h:322
@ AutoAlign
Definition Constants.h:324
const unsigned int DirectAccessBit
Definition Constants.h:150
const unsigned int LvalueBit
Definition Constants.h:139
Namespace containing all symbols from the Eigen library.
Definition Core:287
Helper class used by the comma initializer operator.
Definition ForwardDeclarations.h:128
Definition ForwardDeclarations.h:47
Holds information about the various numeric (i.e. scalar) types allowed by Eigen.
Definition ForwardDeclarations.h:45