y=lab.std(x) returns a tensor y of the standard deviation of the elements in each column of x.

lab.std(x) normalizes by (n-1) where n is the number of elements. This makes lab.sum(lab.pow(lab.std(x),2)) the best unbiased estimate of the variance if x is a sample from a normal distribution.

y=lab.std(x,true) performs the std operation normalizing by n instead of n-1.

y=lab.std(x,false) performs the std operation normalizing by n-1.

y=lab.std(x,flag,n) performs the std operation over the dimension n.