doc/library/tensor/basic.txt: add alloc() to the list of ways of creating a tensor
Merge pull request #1478 from micklat/master

doc/library/tensor/basic.txt: add alloc() to the list of ways of creating a tensor