2008-01-11 07:16:18 +00:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
|
|
|
|
// for linear algebra. Eigen itself is part of the KDE project.
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2006-2008 Benoit Jacob <jacob@math.jussieu.fr>
|
|
|
|
|
//
|
2008-02-28 15:44:45 +00:00
|
|
|
// Eigen is free software; you can redistribute it and/or
|
|
|
|
|
// modify it under the terms of the GNU Lesser General Public
|
2008-03-03 11:02:52 +00:00
|
|
|
// License as published by the Free Software Foundation; either
|
2008-02-28 15:44:45 +00:00
|
|
|
// version 3 of the License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// Alternatively, you can redistribute it and/or
|
|
|
|
|
// modify it under the terms of the GNU General Public License as
|
2008-03-03 11:02:52 +00:00
|
|
|
// published by the Free Software Foundation; either version 2 of
|
2008-02-28 15:44:45 +00:00
|
|
|
// the License, or (at your option) any later version.
|
2008-01-11 07:16:18 +00:00
|
|
|
//
|
|
|
|
|
// Eigen is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
2008-02-28 15:44:45 +00:00
|
|
|
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the
|
|
|
|
|
// GNU General Public License for more details.
|
2008-01-11 07:16:18 +00:00
|
|
|
//
|
2008-03-03 11:02:52 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
2008-02-28 15:44:45 +00:00
|
|
|
// License and a copy of the GNU General Public License along with
|
|
|
|
|
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
2008-01-11 07:16:18 +00:00
|
|
|
|
|
|
|
|
#ifndef EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
#define EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
|
2008-03-12 17:17:36 +00:00
|
|
|
template<typename T> struct ei_traits;
|
2008-03-21 20:26:14 +00:00
|
|
|
template<typename Lhs, typename Rhs> struct ei_product_eval_mode;
|
2008-04-03 14:17:56 +00:00
|
|
|
template<typename T> struct NumTraits;
|
2008-06-16 10:49:44 +00:00
|
|
|
template<typename Scalar, int Rows, int Cols, int MaxRows, int MaxCols, unsigned int SuggestedFlags> class ei_corrected_matrix_flags;
|
2008-03-10 17:23:11 +00:00
|
|
|
|
2008-04-14 08:20:24 +00:00
|
|
|
template<typename _Scalar, int _Rows, int _Cols,
|
2008-06-13 07:53:45 +00:00
|
|
|
int _MaxRows = _Rows, int _MaxCols = _Cols,
|
|
|
|
|
unsigned int _Flags = ei_corrected_matrix_flags<
|
|
|
|
|
_Scalar,
|
2008-06-16 10:49:44 +00:00
|
|
|
_Rows, _Cols, _MaxRows, _MaxCols,
|
2008-06-13 07:53:45 +00:00
|
|
|
EIGEN_DEFAULT_MATRIX_FLAGS
|
|
|
|
|
>::ret
|
|
|
|
|
>
|
2008-04-14 08:20:24 +00:00
|
|
|
class Matrix;
|
|
|
|
|
|
2008-05-14 08:20:15 +00:00
|
|
|
template<typename ExpressionType, unsigned int Added, unsigned int Removed> class Flagged;
|
2008-05-28 05:14:16 +00:00
|
|
|
template<typename ExpressionType> class NestByValue;
|
2008-01-11 07:16:18 +00:00
|
|
|
template<typename MatrixType> class Minor;
|
2008-02-29 13:56:40 +00:00
|
|
|
template<typename MatrixType, int BlockRows=Dynamic, int BlockCols=Dynamic> class Block;
|
2008-01-11 07:16:18 +00:00
|
|
|
template<typename MatrixType> class Transpose;
|
|
|
|
|
template<typename MatrixType> class Conjugate;
|
2008-04-24 18:35:39 +00:00
|
|
|
template<typename NullaryOp, typename MatrixType> class CwiseNullaryOp;
|
|
|
|
|
template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp;
|
|
|
|
|
template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
|
2008-04-03 11:10:17 +00:00
|
|
|
template<typename Lhs, typename Rhs, int EvalMode=ei_product_eval_mode<Lhs,Rhs>::value> class Product;
|
2008-01-11 07:16:18 +00:00
|
|
|
template<typename CoeffsVectorType> class DiagonalMatrix;
|
|
|
|
|
template<typename MatrixType> class DiagonalCoeffs;
|
|
|
|
|
template<typename MatrixType> class Map;
|
2008-03-16 14:36:25 +00:00
|
|
|
template<int Direction, typename UnaryOp, typename MatrixType> class PartialRedux;
|
2008-05-27 05:47:30 +00:00
|
|
|
template<typename MatrixType, unsigned int Mode> class Part;
|
|
|
|
|
template<typename MatrixType, unsigned int Mode> class Extract;
|
2008-05-31 18:11:48 +00:00
|
|
|
template<typename Derived, bool HasArrayFlag = int(ei_traits<Derived>::Flags) & ArrayBit> class ArrayBase {};
|
2008-06-03 07:32:12 +00:00
|
|
|
template<typename Lhs, typename Rhs> class Cross;
|
|
|
|
|
template<typename Scalar> class Quaternion;
|
2008-06-15 17:22:41 +00:00
|
|
|
template<typename Scalar> class Rotation2D;
|
|
|
|
|
template<typename Scalar> class AngleAxis;
|
|
|
|
|
template<typename Scalar,int Dim> class Transform;
|
2008-05-27 05:47:30 +00:00
|
|
|
|
2008-01-11 07:16:18 +00:00
|
|
|
|
2008-04-03 11:10:17 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_sum_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_difference_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_product_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_quotient_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_opposite_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_conjugate_op;
|
2008-06-01 17:20:18 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_real_op;
|
2008-04-03 11:10:17 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_abs_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_abs2_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_sqrt_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_exp_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_log_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_cos_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_sin_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_pow_op;
|
2008-05-31 21:35:11 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_inverse_op;
|
2008-04-03 11:10:17 +00:00
|
|
|
template<typename Scalar, typename NewType> struct ei_scalar_cast_op;
|
2008-06-16 14:54:31 +00:00
|
|
|
template<typename Scalar, bool PacketAccess> struct ei_scalar_multiple_op;
|
2008-04-03 11:10:17 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_quotient1_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_min_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_max_op;
|
2008-05-31 18:11:48 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_random_op;
|
2008-03-04 12:34:58 +00:00
|
|
|
|
2008-05-31 23:21:49 +00:00
|
|
|
template<typename Scalar>
|
2008-06-14 13:02:41 +00:00
|
|
|
void ei_cache_friendly_product(
|
2008-05-31 23:21:49 +00:00
|
|
|
int _rows, int _cols, int depth,
|
|
|
|
|
bool _lhsRowMajor, const Scalar* _lhs, int _lhsStride,
|
|
|
|
|
bool _rhsRowMajor, const Scalar* _rhs, int _rhsStride,
|
|
|
|
|
bool resRowMajor, Scalar* res, int resStride);
|
|
|
|
|
|
2008-04-14 08:20:24 +00:00
|
|
|
template<typename ExpressionType, bool CheckExistence = true> class Inverse;
|
2008-04-26 18:26:05 +00:00
|
|
|
template<typename MatrixType> class QR;
|
2008-04-14 08:20:24 +00:00
|
|
|
|
2008-01-11 07:16:18 +00:00
|
|
|
#endif // EIGEN_FORWARDDECLARATIONS_H
|