2008-01-11 07:16:18 +00:00
|
|
|
// This file is part of Eigen, a lightweight C++ template library
|
2009-05-22 20:25:33 +02:00
|
|
|
// for linear algebra.
|
2008-01-11 07:16:18 +00:00
|
|
|
//
|
2010-02-18 20:42:38 -05:00
|
|
|
// Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com>
|
2010-06-24 23:21:58 +02:00
|
|
|
// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
|
2008-01-11 07:16:18 +00:00
|
|
|
//
|
2012-07-13 14:42:47 -04:00
|
|
|
// This Source Code Form is subject to the terms of the Mozilla
|
|
|
|
|
// Public License v. 2.0. If a copy of the MPL was not distributed
|
|
|
|
|
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2008-01-11 07:16:18 +00:00
|
|
|
|
|
|
|
|
#ifndef EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
#define EIGEN_FORWARDDECLARATIONS_H
|
|
|
|
|
|
2023-08-21 16:25:22 +00:00
|
|
|
// IWYU pragma: private
|
2021-09-10 19:12:26 +00:00
|
|
|
#include "../InternalHeaderCheck.h"
|
|
|
|
|
|
2012-04-15 11:06:28 +01:00
|
|
|
namespace Eigen {
|
2010-10-25 10:15:22 -04:00
|
|
|
namespace internal {
|
2010-12-22 17:45:37 -05:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename T>
|
|
|
|
|
struct traits;
|
2008-03-10 17:23:11 +00:00
|
|
|
|
2010-12-22 17:45:37 -05:00
|
|
|
// here we say once and for all that traits<const T> == traits<T>
|
|
|
|
|
// When constness must affect traits, it has to be constness on template parameters on which T itself depends.
|
|
|
|
|
// For example, traits<Map<const T> > != traits<Map<T> >, but
|
|
|
|
|
// traits<const Map<T> > == traits<Map<T> >
|
|
|
|
|
template <typename T>
|
|
|
|
|
struct traits<const T> : traits<T> {};
|
|
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename Derived>
|
|
|
|
|
struct has_direct_access {
|
|
|
|
|
enum { ret = (traits<Derived>::Flags & DirectAccessBit) ? 1 : 0 };
|
2010-05-08 13:45:31 -04:00
|
|
|
};
|
2010-12-10 02:09:58 -05:00
|
|
|
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
struct accessors_level {
|
|
|
|
|
enum {
|
|
|
|
|
has_direct_access = (traits<Derived>::Flags & DirectAccessBit) ? 1 : 0,
|
|
|
|
|
has_write_access = (traits<Derived>::Flags & LvalueBit) ? 1 : 0,
|
|
|
|
|
value = has_direct_access ? (has_write_access ? DirectWriteAccessors : DirectAccessors)
|
|
|
|
|
: (has_write_access ? WriteAccessors : ReadOnlyAccessors)
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2013-12-03 17:17:53 +01:00
|
|
|
template <typename T>
|
|
|
|
|
struct evaluator_traits;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2014-06-20 15:39:38 +02:00
|
|
|
template <typename T>
|
|
|
|
|
struct evaluator;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
} // end namespace internal
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename T>
|
|
|
|
|
struct NumTraits;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-02-20 15:26:02 +01:00
|
|
|
template <typename Derived>
|
|
|
|
|
struct EigenBase;
|
2010-05-19 16:44:28 +02:00
|
|
|
template <typename Derived>
|
|
|
|
|
class DenseBase;
|
2010-12-22 17:45:37 -05:00
|
|
|
template <typename Derived>
|
|
|
|
|
class PlainObjectBase;
|
2019-02-07 15:21:35 +01:00
|
|
|
template <typename Derived, int Level>
|
|
|
|
|
class DenseCoeffsBase;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Scalar_, int Rows_, int Cols_,
|
|
|
|
|
int Options_ = AutoAlign | ((Rows_ == 1 && Cols_ != 1) ? Eigen::RowMajor
|
|
|
|
|
: (Cols_ == 1 && Rows_ != 1) ? Eigen::ColMajor
|
2010-03-09 00:16:07 -05:00
|
|
|
: EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION),
|
2021-08-04 22:41:52 +00:00
|
|
|
int MaxRows_ = Rows_, int MaxCols_ = Cols_>
|
2010-03-09 00:16:07 -05:00
|
|
|
class Matrix;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-03-09 00:16:07 -05:00
|
|
|
template <typename Derived>
|
2010-04-16 10:13:32 -04:00
|
|
|
class MatrixBase;
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
class ArrayBase;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2008-05-14 08:20:15 +00:00
|
|
|
template <typename ExpressionType, unsigned int Added, unsigned int Removed>
|
|
|
|
|
class Flagged;
|
2009-11-17 16:04:19 +01:00
|
|
|
template <typename ExpressionType, template <typename> class StorageBase>
|
|
|
|
|
class NoAlias;
|
2008-08-05 21:55:57 +00:00
|
|
|
template <typename ExpressionType>
|
2008-05-28 05:14:16 +00:00
|
|
|
class NestByValue;
|
|
|
|
|
template <typename ExpressionType>
|
2009-11-20 16:30:14 +01:00
|
|
|
class ForceAlignedAccess;
|
|
|
|
|
template <typename ExpressionType>
|
2008-08-05 21:55:57 +00:00
|
|
|
class SwapWrapper;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2012-11-16 09:00:27 +01:00
|
|
|
template <typename XprType, int BlockRows = Dynamic, int BlockCols = Dynamic, bool InnerPanel = false>
|
|
|
|
|
class Block;
|
2017-01-06 00:01:44 +01:00
|
|
|
template <typename XprType, typename RowIndices, typename ColIndices>
|
|
|
|
|
class IndexedView;
|
2017-01-29 14:57:45 +01:00
|
|
|
template <typename XprType, int Rows = Dynamic, int Cols = Dynamic, int Order = 0>
|
|
|
|
|
class Reshaped;
|
2024-03-28 18:43:50 +00:00
|
|
|
template <typename FirstType, typename SizeType, typename IncrType>
|
|
|
|
|
class ArithmeticSequence;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2009-11-20 16:30:14 +01:00
|
|
|
template <typename MatrixType, int Size = Dynamic>
|
|
|
|
|
class VectorBlock;
|
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;
|
2016-06-02 17:04:19 -07:00
|
|
|
template <typename TernaryOp, typename Arg1, typename Arg2, typename Arg3>
|
|
|
|
|
class CwiseTernaryOp;
|
2014-02-19 11:33:29 +01:00
|
|
|
template <typename Decomposition, typename Rhstype>
|
|
|
|
|
class Solve;
|
2014-02-20 14:18:24 +01:00
|
|
|
template <typename XprType>
|
|
|
|
|
class Inverse;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2013-11-29 17:50:59 +01:00
|
|
|
template <typename Lhs, typename Rhs, int Option = DefaultProduct>
|
|
|
|
|
class Product;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2009-06-28 21:27:37 +02:00
|
|
|
template <typename Derived>
|
|
|
|
|
class DiagonalBase;
|
2022-01-10 20:53:29 +00:00
|
|
|
template <typename DiagonalVectorType_>
|
|
|
|
|
class DiagonalWrapper;
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Scalar_, int SizeAtCompileTime, int MaxSizeAtCompileTime = SizeAtCompileTime>
|
|
|
|
|
class DiagonalMatrix;
|
2009-06-29 04:01:31 +02:00
|
|
|
template <typename MatrixType, typename DiagonalType, int ProductOrder>
|
|
|
|
|
class DiagonalProduct;
|
2010-12-22 17:45:37 -05:00
|
|
|
template <typename MatrixType, int Index = 0>
|
|
|
|
|
class Diagonal;
|
2022-09-08 20:44:40 +00:00
|
|
|
template <typename Derived>
|
|
|
|
|
class SkewSymmetricBase;
|
|
|
|
|
template <typename VectorType_>
|
|
|
|
|
class SkewSymmetricWrapper;
|
|
|
|
|
template <typename Scalar_>
|
|
|
|
|
class SkewSymmetricMatrix3;
|
2011-01-26 16:33:23 +01:00
|
|
|
template <int SizeAtCompileTime, int MaxSizeAtCompileTime = SizeAtCompileTime, typename IndexType = int>
|
|
|
|
|
class PermutationMatrix;
|
|
|
|
|
template <int SizeAtCompileTime, int MaxSizeAtCompileTime = SizeAtCompileTime, typename IndexType = int>
|
|
|
|
|
class Transpositions;
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
class PermutationBase;
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
class TranspositionsBase;
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename IndicesType_>
|
|
|
|
|
class PermutationWrapper;
|
|
|
|
|
template <typename IndicesType_>
|
|
|
|
|
class TranspositionsWrapper;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-12-10 02:09:58 -05:00
|
|
|
template <typename Derived,
|
|
|
|
|
int Level = internal::accessors_level<Derived>::has_write_access ? WriteAccessors : ReadOnlyAccessors>
|
|
|
|
|
class MapBase;
|
2020-04-30 01:43:05 +00:00
|
|
|
template <int OuterStrideAtCompileTime, int InnerStrideAtCompileTime>
|
|
|
|
|
class Stride;
|
2014-02-18 11:03:59 +01:00
|
|
|
template <int Value = Dynamic>
|
|
|
|
|
class InnerStride;
|
|
|
|
|
template <int Value = Dynamic>
|
|
|
|
|
class OuterStride;
|
2010-04-26 16:59:04 +02:00
|
|
|
template <typename MatrixType, int MapOptions = Unaligned, typename StrideType = Stride<0, 0>>
|
|
|
|
|
class Map;
|
2014-02-18 11:03:59 +01:00
|
|
|
template <typename Derived>
|
|
|
|
|
class RefBase;
|
|
|
|
|
template <typename PlainObjectType, int Options = 0,
|
2022-03-16 16:43:40 +00:00
|
|
|
typename StrideType =
|
|
|
|
|
typename std::conditional_t<PlainObjectType::IsVectorAtCompileTime, InnerStride<1>, OuterStride<>>>
|
|
|
|
|
class Ref;
|
2022-01-05 19:24:46 +00:00
|
|
|
template <typename ViewOp, typename MatrixType, typename StrideType = Stride<0, 0>>
|
|
|
|
|
class CwiseUnaryView;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2009-07-06 23:43:20 +02:00
|
|
|
template <typename Derived>
|
|
|
|
|
class TriangularBase;
|
2022-11-15 22:39:42 +00:00
|
|
|
template <typename MatrixType, unsigned int Mode>
|
2009-07-06 23:43:20 +02:00
|
|
|
class TriangularView;
|
|
|
|
|
template <typename MatrixType, unsigned int Mode>
|
|
|
|
|
class SelfAdjointView;
|
2025-08-12 16:55:05 +00:00
|
|
|
template <typename Derived>
|
|
|
|
|
class RealView;
|
2009-07-06 23:43:20 +02:00
|
|
|
template <typename MatrixType>
|
2016-01-30 14:43:21 +01:00
|
|
|
class SparseView;
|
2008-08-21 13:17:21 +00:00
|
|
|
template <typename ExpressionType>
|
|
|
|
|
class WithFormat;
|
2008-09-13 18:51:51 +00:00
|
|
|
template <typename MatrixType>
|
|
|
|
|
struct CommaInitializer;
|
2009-09-22 12:20:45 -04:00
|
|
|
template <typename Derived>
|
|
|
|
|
class ReturnByValue;
|
2011-04-22 22:36:45 +01:00
|
|
|
template <typename ExpressionType>
|
2009-12-04 23:17:14 +01:00
|
|
|
class ArrayWrapper;
|
|
|
|
|
template <typename ExpressionType>
|
2011-04-22 22:36:45 +01:00
|
|
|
class MatrixWrapper;
|
2015-12-01 14:38:47 +01:00
|
|
|
template <typename Derived>
|
|
|
|
|
class SolverBase;
|
2014-09-29 13:36:57 +02:00
|
|
|
template <typename XprType>
|
|
|
|
|
class InnerIterator;
|
2008-09-13 18:51:51 +00:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
namespace internal {
|
2018-10-03 15:13:15 +02:00
|
|
|
template <typename XprType>
|
|
|
|
|
class generic_randaccess_stl_iterator;
|
|
|
|
|
template <typename XprType>
|
|
|
|
|
class pointer_based_stl_iterator;
|
2018-10-05 23:11:21 +02:00
|
|
|
template <typename XprType, DirectionType Direction>
|
|
|
|
|
class subvector_stl_iterator;
|
2020-05-14 22:38:20 +00:00
|
|
|
template <typename XprType, DirectionType Direction>
|
|
|
|
|
class subvector_stl_reverse_iterator;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename DecompositionType>
|
|
|
|
|
struct kernel_retval_base;
|
|
|
|
|
template <typename DecompositionType>
|
|
|
|
|
struct kernel_retval;
|
|
|
|
|
template <typename DecompositionType>
|
|
|
|
|
struct image_retval_base;
|
|
|
|
|
template <typename DecompositionType>
|
|
|
|
|
struct image_retval;
|
|
|
|
|
} // end namespace internal
|
2009-11-03 02:18:10 -05:00
|
|
|
|
2010-12-25 17:17:10 -05:00
|
|
|
namespace internal {
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Scalar_, int Rows = Dynamic, int Cols = Dynamic, int Supers = Dynamic, int Subs = Dynamic,
|
|
|
|
|
int Options = 0>
|
|
|
|
|
class BandMatrix;
|
2010-12-25 17:17:10 -05:00
|
|
|
}
|
2008-05-27 05:47:30 +00:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
namespace internal {
|
|
|
|
|
template <typename Lhs, typename Rhs>
|
|
|
|
|
struct product_type;
|
2015-06-19 17:25:13 +02:00
|
|
|
|
|
|
|
|
template <bool>
|
|
|
|
|
struct EnableIf;
|
|
|
|
|
|
2014-03-12 13:34:11 +01:00
|
|
|
/** \internal
|
|
|
|
|
* \class product_evaluator
|
|
|
|
|
* Products need their own evaluator with more template arguments allowing for
|
|
|
|
|
* easier partial template specializations.
|
|
|
|
|
*/
|
|
|
|
|
template <typename T, int ProductTag = internal::product_type<typename T::Lhs, typename T::Rhs>::ret,
|
|
|
|
|
typename LhsShape = typename evaluator_traits<typename T::Lhs>::Shape,
|
|
|
|
|
typename RhsShape = typename evaluator_traits<typename T::Rhs>::Shape,
|
2014-07-20 15:16:34 +02:00
|
|
|
typename LhsScalar = typename traits<typename T::Lhs>::Scalar,
|
2015-10-14 10:14:47 +02:00
|
|
|
typename RhsScalar = typename traits<typename T::Rhs>::Scalar>
|
2014-03-12 13:34:11 +01:00
|
|
|
struct product_evaluator;
|
2010-10-25 10:15:22 -04:00
|
|
|
} // namespace internal
|
|
|
|
|
|
|
|
|
|
template <typename Lhs, typename Rhs, int ProductType = internal::product_type<Lhs, Rhs>::value>
|
2009-08-05 15:23:35 +02:00
|
|
|
struct ProductReturnType;
|
2008-01-11 07:16:18 +00:00
|
|
|
|
2010-08-25 13:09:56 +02:00
|
|
|
// this is a workaround for sun CC
|
|
|
|
|
template <typename Lhs, typename Rhs>
|
|
|
|
|
struct LazyProductReturnType;
|
|
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
namespace internal {
|
|
|
|
|
|
2010-07-06 19:10:24 +02:00
|
|
|
// Provides scalar/packet-wise product and product with accumulation
|
|
|
|
|
// with optional conjugation of the arguments.
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename LhsScalar, typename RhsScalar, bool ConjLhs = false, bool ConjRhs = false>
|
|
|
|
|
struct conj_helper;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2012-07-27 11:56:20 +02:00
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
2016-06-13 16:17:23 +02:00
|
|
|
struct scalar_sum_op;
|
|
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_difference_op;
|
|
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_conj_product_op;
|
|
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar, int NaNPropagation = PropagateFast>
|
2020-10-07 19:05:18 +00:00
|
|
|
struct scalar_min_op;
|
|
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar, int NaNPropagation = PropagateFast>
|
|
|
|
|
struct scalar_max_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_opposite_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_conjugate_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_real_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_imag_op;
|
2023-02-18 01:23:47 +00:00
|
|
|
template <typename Scalar>
|
2010-10-25 10:15:22 -04:00
|
|
|
struct scalar_abs_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_abs2_op;
|
2020-03-19 17:45:20 +00:00
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_absolute_difference_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_sqrt_op;
|
2023-10-25 03:06:13 +00:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_cbrt_op;
|
2015-02-26 09:42:41 -08:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_rsqrt_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_exp_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_log_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_cos_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_sin_op;
|
2011-02-17 18:23:04 +01:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_acos_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_asin_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_tan_op;
|
2023-01-26 17:38:21 +00:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_atan_op;
|
|
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_atan2_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_inverse_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_square_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_cube_op;
|
|
|
|
|
template <typename Scalar, typename NewType>
|
|
|
|
|
struct scalar_cast_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_random_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_constant_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_identity_op;
|
2022-08-09 19:54:57 +00:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_sign_op;
|
2022-08-26 17:29:02 -04:00
|
|
|
template <typename Scalar, typename ScalarExponent>
|
|
|
|
|
struct scalar_pow_op;
|
|
|
|
|
template <typename Scalar, typename ScalarExponent, bool BaseIsInteger, bool ExponentIsInteger, bool BaseIsComplex,
|
|
|
|
|
bool ExponentIsComplex>
|
2022-08-16 21:32:36 +00:00
|
|
|
struct scalar_unary_pow_op;
|
2016-06-10 15:05:43 +02:00
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_hypot_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_product_op;
|
2012-07-27 11:56:20 +02:00
|
|
|
template <typename LhsScalar, typename RhsScalar = LhsScalar>
|
|
|
|
|
struct scalar_quotient_op;
|
2023-02-18 01:23:47 +00:00
|
|
|
// logical and bitwise operations
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_boolean_and_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_boolean_or_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_boolean_xor_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_boolean_not_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bitwise_and_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bitwise_or_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bitwise_xor_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bitwise_not_op;
|
2010-10-25 10:15:22 -04:00
|
|
|
|
2016-07-08 11:13:55 +02:00
|
|
|
// SpecialFunctions module
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_lgamma_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_digamma_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_erf_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_erfc_op;
|
2019-08-12 19:26:29 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_ndtri_op;
|
2016-07-08 11:13:55 +02:00
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_igamma_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_igammac_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_zeta_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_betainc_op;
|
|
|
|
|
|
2019-09-14 12:16:47 -04:00
|
|
|
// Bessel functions in SpecialFunctions module
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_i0_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_i0e_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_i1_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_i1e_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_j0_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_y0_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_j1_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_y1_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_k0_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_k0e_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_k1_op;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
struct scalar_bessel_k1e_op;
|
2023-11-29 11:12:48 +00:00
|
|
|
|
2010-10-25 10:15:22 -04:00
|
|
|
} // end namespace internal
|
2009-03-26 12:50:24 +00:00
|
|
|
|
2008-08-23 19:41:00 +00:00
|
|
|
struct IOFormat;
|
2008-08-21 13:17:21 +00:00
|
|
|
|
2008-09-03 17:16:28 +00:00
|
|
|
// Array module
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Scalar_, int Rows_, int Cols_,
|
|
|
|
|
int Options_ = AutoAlign | ((Rows_ == 1 && Cols_ != 1) ? Eigen::RowMajor
|
|
|
|
|
: (Cols_ == 1 && Rows_ != 1) ? Eigen::ColMajor
|
2010-03-19 02:12:23 -04:00
|
|
|
: EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION),
|
2021-08-04 22:41:52 +00:00
|
|
|
int MaxRows_ = Rows_, int MaxCols_ = Cols_>
|
|
|
|
|
class Array;
|
2008-09-03 17:16:28 +00:00
|
|
|
template <typename MatrixType, typename BinaryOp, int Direction>
|
|
|
|
|
class PartialReduxExpr;
|
2009-06-10 11:20:30 +02:00
|
|
|
template <typename ExpressionType, int Direction>
|
|
|
|
|
class VectorwiseOp;
|
2009-03-05 10:25:22 +00:00
|
|
|
template <typename MatrixType, int RowFactor, int ColFactor>
|
|
|
|
|
class Replicate;
|
|
|
|
|
template <typename MatrixType, int Direction = BothDirections>
|
|
|
|
|
class Reverse;
|
2008-09-03 17:16:28 +00:00
|
|
|
|
2023-02-01 16:52:20 +00:00
|
|
|
#if defined(EIGEN_USE_LAPACKE) && defined(lapack_int)
|
2023-01-13 03:23:17 +00:00
|
|
|
// Lapacke interface requires StorageIndex to be lapack_int
|
|
|
|
|
typedef lapack_int DefaultPermutationIndex;
|
|
|
|
|
#else
|
|
|
|
|
typedef int DefaultPermutationIndex;
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-03-07 20:28:05 +00:00
|
|
|
template <typename MatrixType, typename PermutationIndex = DefaultPermutationIndex>
|
|
|
|
|
class FullPivLU;
|
|
|
|
|
template <typename MatrixType, typename PermutationIndex = DefaultPermutationIndex>
|
|
|
|
|
class PartialPivLU;
|
2010-10-25 10:15:22 -04:00
|
|
|
namespace internal {
|
|
|
|
|
template <typename MatrixType>
|
|
|
|
|
struct inverse_impl;
|
|
|
|
|
}
|
2009-07-06 17:12:10 +02:00
|
|
|
template <typename MatrixType>
|
|
|
|
|
class HouseholderQR;
|
2023-01-13 03:23:17 +00:00
|
|
|
template <typename MatrixType, typename PermutationIndex = DefaultPermutationIndex>
|
|
|
|
|
class ColPivHouseholderQR;
|
|
|
|
|
template <typename MatrixType, typename PermutationIndex = DefaultPermutationIndex>
|
|
|
|
|
class FullPivHouseholderQR;
|
|
|
|
|
template <typename MatrixType, typename PermutationIndex = DefaultPermutationIndex>
|
|
|
|
|
class CompleteOrthogonalDecomposition;
|
2019-01-17 01:17:39 +01:00
|
|
|
template <typename MatrixType>
|
|
|
|
|
class SVDBase;
|
2022-02-02 00:15:44 +00:00
|
|
|
template <typename MatrixType, int Options = 0>
|
|
|
|
|
class JacobiSVD;
|
|
|
|
|
template <typename MatrixType, int Options = 0>
|
|
|
|
|
class BDCSVD;
|
2010-01-07 21:15:32 +01:00
|
|
|
template <typename MatrixType, int UpLo = Lower>
|
|
|
|
|
class LLT;
|
2010-06-03 22:22:14 +02:00
|
|
|
template <typename MatrixType, int UpLo = Lower>
|
|
|
|
|
class LDLT;
|
2010-01-14 19:16:49 -05:00
|
|
|
template <typename VectorsType, typename CoeffsType, int Side = OnTheLeft>
|
|
|
|
|
class HouseholderSequence;
|
2010-10-19 21:56:26 -04:00
|
|
|
template <typename Scalar>
|
|
|
|
|
class JacobiRotation;
|
2008-04-14 08:20:24 +00:00
|
|
|
|
2008-06-21 15:01:49 +00:00
|
|
|
// Geometry module:
|
2022-11-15 22:39:42 +00:00
|
|
|
namespace internal {
|
|
|
|
|
template <typename Derived, typename OtherDerived, int Size = MatrixBase<Derived>::SizeAtCompileTime>
|
|
|
|
|
struct cross_impl;
|
|
|
|
|
}
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Derived, int Dim_>
|
|
|
|
|
class RotationBase;
|
2009-10-27 13:19:16 +00:00
|
|
|
template <typename Derived>
|
|
|
|
|
class QuaternionBase;
|
2008-06-21 15:01:49 +00:00
|
|
|
template <typename Scalar>
|
|
|
|
|
class Rotation2D;
|
|
|
|
|
template <typename Scalar>
|
|
|
|
|
class AngleAxis;
|
2011-01-24 11:21:58 -05:00
|
|
|
template <typename Scalar, int Dim>
|
|
|
|
|
class Translation;
|
2015-06-15 15:01:20 +02:00
|
|
|
template <typename Scalar, int Dim>
|
|
|
|
|
class AlignedBox;
|
2011-01-27 11:21:38 -05:00
|
|
|
template <typename Scalar, int Options = AutoAlign>
|
|
|
|
|
class Quaternion;
|
2021-08-04 22:41:52 +00:00
|
|
|
template <typename Scalar, int Dim, int Mode, int Options_ = AutoAlign>
|
|
|
|
|
class Transform;
|
2022-01-10 20:53:29 +00:00
|
|
|
template <typename Scalar_, int AmbientDim_, int Options = AutoAlign>
|
|
|
|
|
class ParametrizedLine;
|
|
|
|
|
template <typename Scalar_, int AmbientDim_, int Options = AutoAlign>
|
|
|
|
|
class Hyperplane;
|
2009-01-28 16:26:06 +00:00
|
|
|
template <typename Scalar>
|
|
|
|
|
class UniformScaling;
|
2009-03-05 10:25:22 +00:00
|
|
|
template <typename MatrixType, int Direction>
|
|
|
|
|
class Homogeneous;
|
2008-06-21 15:01:49 +00:00
|
|
|
|
2015-11-04 17:42:07 +01:00
|
|
|
// Sparse module:
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
class SparseMatrixBase;
|
|
|
|
|
|
2010-03-16 17:26:55 +00:00
|
|
|
// MatrixFunctions module
|
|
|
|
|
template <typename Derived>
|
|
|
|
|
struct MatrixExponentialReturnValue;
|
2010-04-26 13:31:16 +02:00
|
|
|
template <typename Derived>
|
|
|
|
|
class MatrixFunctionReturnValue;
|
2011-05-09 22:20:20 +01:00
|
|
|
template <typename Derived>
|
|
|
|
|
class MatrixSquareRootReturnValue;
|
2011-06-07 14:44:43 +01:00
|
|
|
template <typename Derived>
|
|
|
|
|
class MatrixLogarithmReturnValue;
|
2012-08-28 01:55:13 +08:00
|
|
|
template <typename Derived>
|
|
|
|
|
class MatrixPowerReturnValue;
|
2013-07-05 00:28:28 +08:00
|
|
|
template <typename Derived>
|
|
|
|
|
class MatrixComplexPowerReturnValue;
|
2010-10-25 10:15:22 -04:00
|
|
|
|
|
|
|
|
namespace internal {
|
2010-03-16 17:26:55 +00:00
|
|
|
template <typename Scalar>
|
2010-10-25 10:15:22 -04:00
|
|
|
struct stem_function {
|
2025-02-12 11:21:44 -08:00
|
|
|
typedef internal::make_complex_t<Scalar> ComplexScalar;
|
2010-03-16 17:26:55 +00:00
|
|
|
typedef ComplexScalar type(ComplexScalar, int);
|
|
|
|
|
};
|
2010-10-25 10:15:22 -04:00
|
|
|
} // namespace internal
|
2010-03-16 17:26:55 +00:00
|
|
|
|
2024-05-20 23:42:51 +00:00
|
|
|
template <typename XprType, typename Device>
|
|
|
|
|
struct DeviceWrapper;
|
|
|
|
|
|
2024-12-14 14:25:04 +00:00
|
|
|
namespace internal {
|
|
|
|
|
template <typename Xpr>
|
|
|
|
|
struct eigen_fill_helper;
|
|
|
|
|
template <typename Xpr, bool use_fill = eigen_fill_helper<Xpr>::value>
|
|
|
|
|
struct eigen_fill_impl;
|
|
|
|
|
template <typename Xpr>
|
|
|
|
|
struct eigen_memset_helper;
|
|
|
|
|
template <typename Xpr, bool use_memset = eigen_memset_helper<Xpr>::value>
|
|
|
|
|
struct eigen_zero_impl;
|
2025-04-12 00:31:10 +00:00
|
|
|
|
|
|
|
|
template <typename Packet>
|
|
|
|
|
struct has_packet_segment : std::false_type {};
|
2025-11-08 13:36:43 +00:00
|
|
|
|
|
|
|
|
template <typename T>
|
|
|
|
|
struct complex_array_access;
|
2024-12-14 14:25:04 +00:00
|
|
|
} // namespace internal
|
|
|
|
|
|
2012-04-15 11:06:28 +01:00
|
|
|
} // end namespace Eigen
|
|
|
|
|
|
2008-01-11 07:16:18 +00:00
|
|
|
#endif // EIGEN_FORWARDDECLARATIONS_H
|