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

// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2013 Christian Seiler <[email protected]>
// Copyright (C) 2014-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_TENSORSTORAGE_H
#define EIGEN_CXX11_TENSOR_TENSORSTORAGE_H

#ifdef EIGEN_TENSOR_STORAGE_CTOR_PLUGIN
#define EIGEN_INTERNAL_TENSOR_STORAGE_CTOR_PLUGIN
#else
#define EIGEN_INTERNAL_TENSOR_STORAGE_CTOR_PLUGIN
#endif

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

namespace Eigen {

/** \internal
 *
 * \class TensorStorage
 * \ingroup CXX11_Tensor_Module
 *
 * \brief Stores the data of a tensor
 *
 * This class stores the data of fixed-size, dynamic-size or mixed tensors
 * in a way as compact as possible.
 *
 * \sa Tensor
 */
template <typename T, typename Dimensions, int Options>
class TensorStorage;

// Pure fixed-size storage
template <typename T, typename FixedDimensions, int Options_>
class TensorStorage {};

// pure dynamic
TensorStorage<T, DSizes<IndexType, NumIndices_>, Options_>;

}  // end namespace Eigen

#endif  // EIGEN_CXX11_TENSOR_TENSORSTORAGE_H