use Array: all; /* * This is apex/gewlfAKD, which runs 3X slower with -doawlf * (and -doivecyc) than without it. * * The Cond_3 LACFUN contains: * * _idx_sel( 0, [ x, y]); * * but CF isn't seeing it. * */ inline int[*] rhoIII(int[.] x, int y) { /* Vector reshape scalar to matrix) */ zxrho = prod(toi(x)); /* Result element count */ z = genarray([zxrho], y); /* allocate result */ z = reshape(toi(x),z); return(z); } inline int[+] indsx1(int[+] X, int [+] I1, int Yin) { /* X[;;nonscalarI;;;]<- scalarY */ z = toi(X); Y = Yin; for(i0=0; i0