def _randdm(pnts):
if pnts >= <NUM_LIT:2>:<EOL><INDENT>D = np.random.rand(pnts * (pnts - <NUM_LIT:1>) / <NUM_LIT:2>)<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL><DEDENT>return D<EOL>
Generates a random distance matrix stored in condensed form. A
        pnts * (pnts - 1) / 2 sized vector is returned.