From 7ad37606dd256f049060aa3cc535a04b924c35c8 Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 24 Nov 2016 12:31:43 -0800 Subject: Fixed the documentation of Scalar Tensors --- unsupported/Eigen/CXX11/src/Tensor/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/README.md') diff --git a/unsupported/Eigen/CXX11/src/Tensor/README.md b/unsupported/Eigen/CXX11/src/Tensor/README.md index 02146527b..fbb7f3bfc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/README.md +++ b/unsupported/Eigen/CXX11/src/Tensor/README.md @@ -1737,11 +1737,9 @@ TODO ## Representation of scalar values -Scalar values are often represented by tensors of size 1 and rank 1. It would be -more logical and user friendly to use tensors of rank 0 instead. For example -Tensor::maximum() currently returns a Tensor. Similarly, the inner -product of 2 1d tensors (through contractions) returns a 1d tensor. In the -future these operations might be updated to return 0d tensors instead. +Scalar values are often represented by tensors of size 1 and rank 0.For example +Tensor::maximum() currently returns a Tensor. Similarly, the inner +product of 2 1d tensors (through contractions) returns a 0d tensor. ## Limitations -- cgit v1.2.3