mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-04 17:54:07 +08:00

* Added ability to map a region of the memory to a tensor * Added basic support for unary and binary coefficient wise expressions, such as addition or square root * Provided an emulation layer to make it possible to compile the code with compilers (such as nvcc) that don't support cxx11.
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
// This file is part of Eigen, a lightweight C++ template library
|
|
// for linear algebra.
|
|
//
|
|
// Copyright (C) 2013 Christian Seiler <christian@iwakd.de>
|
|
//
|
|
// 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_MODULE
|
|
#define EIGEN_CXX11_TENSOR_MODULE
|
|
|
|
#include "Eigen/src/Core/util/StaticAssert.h"
|
|
#include "unsupported/Eigen/CXX11/Core"
|
|
|
|
#include "Eigen/src/Core/util/DisableStupidWarnings.h"
|
|
|
|
/** \defgroup CXX11_Tensor_Module Tensor Module
|
|
*
|
|
* This module provides a Tensor class for storing arbitrarily indexed
|
|
* objects.
|
|
*
|
|
* \code
|
|
* #include <Eigen/CXX11/Tensor>
|
|
* \endcode
|
|
*/
|
|
|
|
#include <cstddef>
|
|
#include <cstring>
|
|
|
|
#include "Eigen/Core"
|
|
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h"
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h"
|
|
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorBase.h"
|
|
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h"
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h"
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h"
|
|
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h"
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/Tensor.h"
|
|
#include "unsupported/Eigen/CXX11/src/Tensor/TensorMap.h"
|
|
|
|
#include "Eigen/src/Core/util/ReenableStupidWarnings.h"
|
|
|
|
#endif // EIGEN_CXX11_TENSOR_MODULE
|