Hi, Is this an efficient way to swap two columns of a matrix ? e.g. 1st column with the 5th
X = rand(10,5) X[:,1], X[:,5] = X[:,5], X[:,1] Thanks, Jan Dňa pondelok, 1. decembra 2014 11:58:24 UTC+1 Ján Dolinský napísal(-a): > > It's also possible that BLAS's swap would be no more efficient than >> writing it >> with loops in julia. >> >> --Tim >> >> > Yes, I though so. I was just lazy to write it in case BLAS wrapper offers > the "swap" function but this seems not to be the case. >
