* @param sdy double y-value standard deviation of the samples
*/
public static void generate2dSamples(int num, double mx, double my,
double sdx, double sdy) {
double[] params = { mx, my, sdx, sdy };
sampleParams.add(new DenseVector(params));
System.out.println("Generating " + num + " samples m=[" + mx + ", " + my
+ "] sd=[" + sdx + ", " + sdy + "]");
for (int i = 0; i < num; i++)
sampleData.add(new DenseVector(new double[] {
UncommonDistributions.rNorm(mx, sdx),
UncommonDistributions.rNorm(my, sdy) }));
}