chromium/third_party/eigen3/src/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h

// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2015 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_GENERATOR_H
#define EIGEN_CXX11_TENSOR_TENSOR_GENERATOR_H

// IWYU pragma: private
#include "./InternalHeaderCheck.h"

namespace Eigen {

/** \class TensorGeneratorOp
 * \ingroup CXX11_Tensor_Module
 *
 * \brief Tensor generator class.
 *
 *
 */
namespace internal {
traits<TensorGeneratorOp<Generator, XprType>>;

eval<TensorGeneratorOp<Generator, XprType>, Eigen::Dense>;

nested<TensorGeneratorOp<Generator, XprType>, 1, typename eval<TensorGeneratorOp<Generator, XprType>>::type>;

}  // end namespace internal

template <typename Generator, typename XprType>
class TensorGeneratorOp : public TensorBase<TensorGeneratorOp<Generator, XprType>, ReadOnlyAccessors> {};

// Eval as rvalue
TensorEvaluator<const TensorGeneratorOp<Generator, ArgType>, Device>;

}  // end namespace Eigen

#endif  // EIGEN_CXX11_TENSOR_TENSOR_GENERATOR_H