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-03-10 17:23:11 +00:00
|
|
|
|
2008-03-30 18:43:22 +00:00
|
|
|
template<typename _Scalar, int _Rows, int _Cols, unsigned int _Flags, int _MaxRows, int _MaxCols> class Matrix;
|
2008-01-11 07:16:18 +00:00
|
|
|
template<typename MatrixType> class MatrixRef;
|
|
|
|
|
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-03-03 10:52:44 +00:00
|
|
|
template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
|
|
|
|
|
template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp;
|
2008-03-21 20:26:14 +00:00
|
|
|
template<typename Lhs, typename Rhs, int EvalMode=ei_product_eval_mode<Lhs,Rhs>::EvalMode > class Product;
|
2008-01-11 07:16:18 +00:00
|
|
|
template<typename MatrixType> class Random;
|
|
|
|
|
template<typename MatrixType> class Zero;
|
|
|
|
|
template<typename MatrixType> class Ones;
|
|
|
|
|
template<typename CoeffsVectorType> class DiagonalMatrix;
|
|
|
|
|
template<typename MatrixType> class DiagonalCoeffs;
|
|
|
|
|
template<typename MatrixType> class Identity;
|
|
|
|
|
template<typename MatrixType> class Map;
|
2008-01-15 13:55:47 +00:00
|
|
|
template<typename Derived> class Eval;
|
2008-03-09 16:13:47 +00:00
|
|
|
template<typename Derived> class EvalOMP;
|
2008-03-16 14:36:25 +00:00
|
|
|
template<int Direction, typename UnaryOp, typename MatrixType> class PartialRedux;
|
2008-01-11 07:16:18 +00:00
|
|
|
|
2008-03-13 09:33:26 +00:00
|
|
|
struct ei_scalar_sum_op;
|
|
|
|
|
struct ei_scalar_difference_op;
|
|
|
|
|
struct ei_scalar_product_op;
|
|
|
|
|
struct ei_scalar_quotient_op;
|
|
|
|
|
struct ei_scalar_opposite_op;
|
|
|
|
|
struct ei_scalar_conjugate_op;
|
|
|
|
|
struct ei_scalar_abs_op;
|
2008-03-14 10:38:37 +00:00
|
|
|
struct ei_scalar_abs2_op;
|
|
|
|
|
struct ei_scalar_sqrt_op;
|
|
|
|
|
struct ei_scalar_exp_op;
|
|
|
|
|
struct ei_scalar_log_op;
|
|
|
|
|
struct ei_scalar_cos_op;
|
|
|
|
|
struct ei_scalar_sin_op;
|
2008-03-21 20:26:14 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_pow_op;
|
2008-03-13 09:33:26 +00:00
|
|
|
template<typename NewType> struct ei_scalar_cast_op;
|
|
|
|
|
template<typename Scalar> struct ei_scalar_multiple_op;
|
2008-03-21 20:26:14 +00:00
|
|
|
template<typename Scalar> struct ei_scalar_quotient1_op;
|
2008-03-16 14:36:25 +00:00
|
|
|
struct ei_scalar_min_op;
|
|
|
|
|
struct ei_scalar_max_op;
|
2008-03-04 12:34:58 +00:00
|
|
|
|
2008-03-13 20:36:01 +00:00
|
|
|
template<typename T> struct ei_xpr_copy
|
2008-01-11 07:16:18 +00:00
|
|
|
{
|
|
|
|
|
typedef T Type;
|
|
|
|
|
};
|
|
|
|
|
|
2008-03-30 18:43:22 +00:00
|
|
|
template<typename _Scalar, int _Rows, int _Cols, unsigned int _Flags, int _MaxRows, int _MaxCols>
|
|
|
|
|
struct ei_xpr_copy<Matrix<_Scalar, _Rows, _Cols, _Flags, _MaxRows, _MaxCols> >
|
2008-01-11 07:16:18 +00:00
|
|
|
{
|
2008-03-30 18:43:22 +00:00
|
|
|
typedef const Matrix<_Scalar, _Rows, _Cols, _Flags, _MaxRows, _MaxCols> & Type;
|
2008-01-11 07:16:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // EIGEN_FORWARDDECLARATIONS_H
|