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

// 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_STRIDING_H
#define EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H

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

namespace Eigen {

/** \class TensorStriding
 * \ingroup CXX11_Tensor_Module
 *
 * \brief Tensor striding class.
 *
 *
 */
namespace internal {
traits<TensorStridingOp<Strides, XprType>>;

eval<TensorStridingOp<Strides, XprType>, Eigen::Dense>;

nested<TensorStridingOp<Strides, XprType>, 1, typename eval<TensorStridingOp<Strides, XprType>>::type>;

}  // end namespace internal

template <typename Strides, typename XprType>
class TensorStridingOp : public TensorBase<TensorStridingOp<Strides, XprType> > {};

// Eval as rvalue
TensorEvaluator<const TensorStridingOp<Strides, ArgType>, Device>;

// Eval as lvalue
TensorEvaluator<TensorStridingOp<Strides, ArgType>, Device>;

}  // end namespace Eigen

#endif  // EIGEN_CXX11_TENSOR_TENSOR_STRIDING_H