public static float[] Uniform(int sizeRow, int sizeColumn) { var res = new float[sizeRow * sizeColumn]; Parallel.For(0, res.Length, i => { res[i] = Random.RandFloat(-1.0f); }); return(res); }