docs: public static WeightDistance_F32 distance( WeightType type , float param , boolean safe ) {
  
  		if( safe )
  			throw new IllegalArgumentException("Safe distributons not implemented yet");
  
  		switch( type ) {
  			case GAUSSIAN_SQ:
  				return new WeightDistanceSqGaussian_F32(param);
  
  			case UNIFORM:
  				return new WeightDistanceUniform_F32(param);
  		}
  
  		throw new IllegalArgumentException("Unknown type "+type);
  	}