From 3785c692948a9371dea4aa0a6d0530b833c5d4fa Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 29 Oct 2015 17:31:03 -0700 Subject: Added support for fixed sized tensors of rank 0 --- .../Eigen/CXX11/src/Tensor/TensorFixedSize.h | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h index 5f3e49e61..bf930f6b8 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h @@ -90,6 +90,14 @@ class TensorFixedSize : public TensorBase inline Scalar& coeffRef(Index firstIndex, IndexTypes... otherIndices) @@ -114,6 +122,14 @@ class TensorFixedSize : public TensorBase inline const Scalar& operator()(Index firstIndex, IndexTypes... otherIndices) const @@ -138,6 +154,13 @@ class TensorFixedSize : public TensorBase