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