public static double multiply(double[] feature, double[] weight) {
		double sum = 0.0;
		assert feature.length == weight.length;
		
		for (int index = 0; index < feature.length; index++) {
			sum += feature[index] * weight[index];
		}
		
		return sum;
	}