class FloatVectorUtil {

	public static float magnitude(float[] vector) {
		float magnitude = 0;
		for (float value : vector) {
			magnitude += value * value;
		}
		return (float) Math.sqrt(magnitude);
	}

	private  FloatVectorUtil();

}