def noncentral_chi_square(df, nconc, shape=[]): """noncentral_chi_square(df, nconc) or chi_square(df, nconc, [n, m, ...]) returns array of noncentral chi squared distributed random numbers with df degrees of freedom and noncentrality parameter.""" if shape == []: shape = None return mt.noncentral_chisquare(df, nconc, shape)