private double preNorm(NumberVector v, final int start, final int end) {
    double agg = 0.;
    for(int d = start; d < end; d++) {
      final double xd = v.doubleValue(d);
      final double delta = xd >= 0. ? xd : -xd;
      agg += MathUtil.powi(delta, intp);
    }
    return agg;
  }
private double preNorm ( NumberVector v , final int start , final int end ) { double agg = 0. ; for ( int d = start ; d < end ; d ++ ) { final double xd = v . doubleValue ( d ) ; final double delta = xd >= 0. ? xd : - xd ; agg += MathUtil . powi ( delta , intp ) ; } return agg ; }
Compute unscaled norm in a range of dimensions.

@param v Data object
@param start First dimension
@param end Exclusive last dimension
@return Aggregated values.