Sampling from a Laplace distribution.
[y] = laplace(dims,flipS) - generates a matrix with random variables
distributed according to a Laplace distribution with parameter
lambda=1.
Function parameters:
dims - the dimensions of the returning matrix y.
flipS- an indicator to switch between symmetric and nonsymmetric noises (default is 1).
ogp, ogptrain, c_reg_exp, demogp_reg
Copyright (c) Lehel Csató (2001-2004)