question: return a cumulative distribution from a discrete distribution concode_field_sep double[] m_weightingValues concode_elem_sep double m_minStdDev concode_elem_sep double[] m_globalMeansOrModes concode_elem_sep int m_kernelBandwidth concode_elem_sep long serialVersionUID concode_elem_sep double m_laplaceConst concode_elem_sep double[] m_Min concode_elem_sep boolean[] m_weightingDimensions concode_elem_sep Instances m_instances concode_elem_sep double m_normConst concode_elem_sep Random m_random concode_elem_sep double[][] m_kernelParams concode_elem_sep int m_seed concode_elem_sep double[] m_standardDeviations concode_elem_sep double[] m_Max concode_field_sep double[] getWeights concode_elem_sep void updateMinMax concode_elem_sep double distance concode_elem_sep void setKernelBandwidth concode_elem_sep double normalDens concode_elem_sep double norm concode_elem_sep int getNumGeneratingModels concode_elem_sep void computeParams concode_elem_sep double[][] generateInstances concode_elem_sep void setWeightingValues concode_elem_sep void setWeightingDimensions concode_elem_sep void buildGenerator concode_elem_sep int getKernelBandwidth concode_elem_sep void setSeed
target: double [ ] function ( double [ ] arg0 ) { double [ ] loc0 = new double [ arg0 . length ] ; double loc1 = 0 ; for ( int loc2 = 0 ; loc2 < arg0 . length ; loc2 ++ ) { loc1 += arg0 [ loc2 ] ; loc0 [ loc2 ] = loc1 ; } return loc0 ; }