code: public static double distanceWithDivisionSquared(double[] pointA, double dA) {
  		double distance = 0.0;
  		for (int i = 0; i < pointA.length; i++) {
  			double d = pointA[i] / dA;
  			distance += d * d;
  		}
  		return distance;
  	}
docs: Calculates the squared Euclidean length of a point divided by a scalar.
  
  @param pointA
  point
  @param dA
  scalar
  @return the squared Euclidean length