public UniformDistribution estimate(DoubleMinMax mm){
  return new UniformDistribution(Math.max(mm.getMin(),-Double.MAX_VALUE),Math.min(mm.getMax(),Double.MAX_VALUE));
}

public UniformDistribution estimate ( DoubleMinMax mm ) { return new UniformDistribution ( Math . max ( mm . getMin ( ) , - Double . MAX_VALUE ) , Math . min ( mm . getMax ( ) , Double . MAX_VALUE ) ) ; }
estimate parameters from minimum and maximum observed .
