package org.geogebra.common.kernel.statistics;
import org.geogebra.common.kernel.Kernel;
import org.geogebra.common.kernel.commands.CmdOneOrTwoListsFunction;
import org.geogebra.common.kernel.geos.GeoElement;
import org.geogebra.common.kernel.geos.GeoList;
/**
* SampleSDX[List of points] SampleSDX[List of numbers, list of numbers]
*/
public class CmdSampleSDX extends CmdOneOrTwoListsFunction {
/**
* Create new command processor
*
* @param kernel
* kernel
*/
public CmdSampleSDX(Kernel kernel) {
super(kernel);
}
@Override
final protected GeoElement doCommand(String a, GeoList b) {
AlgoListSampleSDX algo = new AlgoListSampleSDX(cons, a, b);
return algo.getResult();
}
@Override
final protected GeoElement doCommand(String a, GeoList b, GeoList c) {
return null;
}
}