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

is this the right way to provide documentation fixes?