2008-01-11 15:16:18 +08: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 23:44:45 +08: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 19:02:52 +08:00
|
|
|
// License as published by the Free Software Foundation; either
|
2008-02-28 23:44:45 +08: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 19:02:52 +08:00
|
|
|
// published by the Free Software Foundation; either version 2 of
|
2008-02-28 23:44:45 +08:00
|
|
|
// the License, or (at your option) any later version.
|
2008-01-11 15:16:18 +08: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 23:44:45 +08:00
|
|
|
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License or the
|
|
|
|
|
// GNU General Public License for more details.
|
2008-01-11 15:16:18 +08:00
|
|
|
//
|
2008-03-03 19:02:52 +08:00
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
2008-02-28 23:44:45 +08: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 15:16:18 +08:00
|
|
|
|
|
|
|
|
#ifndef EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
#define EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
|
2008-03-11 01:23:11 +08:00
|
|
|
template<typename T> struct Scalar;
|
|
|
|
|
|
2008-01-14 03:55:23 +08:00
|
|
|
template<typename _Scalar, int _Rows, int _Cols, int _StorageOrder, int _MaxRows, int _MaxCols> class Matrix;
|
2008-01-11 15:16:18 +08:00
|
|
|
template<typename MatrixType> class MatrixRef;
|
|
|
|
|
template<typename MatrixType> class Row;
|
|
|
|
|
template<typename MatrixType> class Column;
|
|
|
|
|
template<typename MatrixType> class Minor;
|
2008-02-29 21:56:40 +08:00
|
|
|
template<typename MatrixType, int BlockRows=Dynamic, int BlockCols=Dynamic> class Block;
|
2008-01-11 15:16:18 +08:00
|
|
|
template<typename MatrixType> class Transpose;
|
|
|
|
|
template<typename MatrixType> class Conjugate;
|
2008-03-03 18:52:44 +08:00
|
|
|
template<typename BinaryOp, typename Lhs, typename Rhs> class CwiseBinaryOp;
|
|
|
|
|
template<typename UnaryOp, typename MatrixType> class CwiseUnaryOp;
|
2008-01-11 15:16:18 +08:00
|
|
|
template<typename Lhs, typename Rhs> class Product;
|
|
|
|
|
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 21:55:47 +08:00
|
|
|
template<typename Derived> class Eval;
|
2008-03-10 00:13:47 +08:00
|
|
|
template<typename Derived> class EvalOMP;
|
2008-01-11 15:16:18 +08:00
|
|
|
|
2008-03-04 20:34:58 +08:00
|
|
|
struct ScalarProductOp;
|
|
|
|
|
struct ScalarQuotientOp;
|
|
|
|
|
struct ScalarOppositeOp;
|
|
|
|
|
struct ScalarConjugateOp;
|
|
|
|
|
struct ScalarAbsOp;
|
2008-03-06 19:36:27 +08:00
|
|
|
template<typename NewType> struct ScalarCastOp;
|
|
|
|
|
template<typename Scalar> struct ScalarMultipleOp;
|
2008-03-04 20:34:58 +08:00
|
|
|
|
2008-01-11 15:16:18 +08:00
|
|
|
template<typename T> struct Reference
|
|
|
|
|
{
|
|
|
|
|
typedef T Type;
|
|
|
|
|
};
|
|
|
|
|
|
2008-01-14 03:55:23 +08:00
|
|
|
template<typename _Scalar, int _Rows, int _Cols, int _StorageOrder, int _MaxRows, int _MaxCols>
|
|
|
|
|
struct Reference<Matrix<_Scalar, _Rows, _Cols, _StorageOrder, _MaxRows, _MaxCols> >
|
2008-01-11 15:16:18 +08:00
|
|
|
{
|
2008-01-14 03:55:23 +08:00
|
|
|
typedef MatrixRef<Matrix<_Scalar, _Rows, _Cols, _StorageOrder, _MaxRows, _MaxCols> > Type;
|
2008-01-11 15:16:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // EIGEN_FORWARDDECLARATIONS_H
|