x=lab.new([value],[value],...) returns a vector x initialized with the given values.

x=lab.new({[value],[value],...},{[value],[value],...},...) returns a matrix x initialized with the given values.

> print(lab.new(1,2,3))

 1
 2
 3
[torch.Tensor of dimension 3]

> print(lab.new({1,2},{3,4},{5,6}))

 1  2
 3  4
 5  6
[torch.Tensor of dimension 3x2]