// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <[email protected]> // // 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/. #ifndef EIGEN_CXX11_TENSOR_TENSOR_ASSIGN_H #define EIGEN_CXX11_TENSOR_TENSOR_ASSIGN_H // IWYU pragma: private #include "./InternalHeaderCheck.h" namespace Eigen { /** \class TensorAssign * \ingroup CXX11_Tensor_Module * * \brief The tensor assignment class. * * This class is represents the assignment of the values resulting from the evaluation of * the rhs expression to the memory locations denoted by the lhs expression. */ namespace internal { traits<TensorAssignOp<LhsXprType, RhsXprType>>; eval<TensorAssignOp<LhsXprType, RhsXprType>, Eigen::Dense>; nested<TensorAssignOp<LhsXprType, RhsXprType>, 1, typename eval<TensorAssignOp<LhsXprType, RhsXprType>>::type>; } // end namespace internal template <typename LhsXprType, typename RhsXprType> class TensorAssignOp : public TensorBase<TensorAssignOp<LhsXprType, RhsXprType> > { … }; TensorEvaluator<const TensorAssignOp<LeftArgType, RightArgType>, Device>; } // namespace Eigen #endif // EIGEN_CXX11_TENSOR_TENSOR_ASSIGN_H