Thanks HTH, I am going through the information. The reason i need this functionality is that I have a matrix
D=(1,1,1,0,0,0,1,1,0,0,1,0) which I have stated in my program as
REAL, DIMENSION(1,12):: D
D = RESHAPE((/1,1,1,0,0,0,1,1,0,0,1,0/),(/1,12/))
I want a matrix F such that it tells me the...