class FieldsFromTuple implements Extractor<Tuple, double[]> {

	@Override
	public double[] extract(Tuple in) {
		double[] out = new double[indexes.length];
		for (int i = 0; i < indexes.length; i++) {
			out[i] = (Double) in.getField(indexes[i]);
		}
		return out;
	}

	public  FieldsFromTuple(int... indexes);

}