The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

276550 (2) [Avatar] Offline
#1
On page 27, there is this code:

2-by-3-by-2 tensor is:

[[[1,2], [3,4], [5,6]], [[7,8], [9,10], [11,12]]]



What drives me crazy with matrix examples is when there is ambiguity. That is, it's not clear which 2 is which 2 when you say 2 x 3 x 2 Tensor.

That is the "row" [1,2] corresponds to the first 2 or third 2?
And does [[1,2], [3,4], [5,6]] correspond to first or third 2?

I'd like to see the other dimension to be length 4, so that it's really obvious which is which. Unfortunately, it would take up more space on the page, but I think it's worth it.

Also on the same page (27), it's worth mentioning this because it's confusing: The rank of a tensor is different from the rank of a matrix.


http://mathworld.wolfram.com/TensorRank.html
http://mathworld.wolfram.com/MatrixRank.html