scale preserve in MatrixOP operation

hello,

As in the question, in the matrixOp operation, I want to keep the dimension scales of the original matrix in the newly generated one. for example, transpose,  ReverseCols

MatrixOp /O image_T = image^t
MatrixOp /O  image_TS = image^t

MatrixOp /O image_TSC = ReverseCols(image)

/S does not seem to be an option for my question.

matrixOp & image scales preserve (1.48 MB)

system information

IGORVERS:9.03

BUILD:40059

IGORKIND:pro64

OS:Microsoft Windows 10 Pro (22H2)

OSVERSION:10.0.19045.2965

I would not rely on MatrixOP to get your scales right. I think one reason is that the operation can completely alter the size and order of your data, so it is more often than not useless to slap on scales. Anyway, if you are sure that your scales are the very same, simply do:

CopyScales source, destination

However, in your case you transpose or reverse the data, so you would need to use the appropriate SetScale commands to adapt for your new data direction. I don't think MatrixOP can do that for you automatically (I might be wrong). By the way, this topic came up before, but so far we haven't heard any official comment on the purpose of the /S flag:

https://www.wavemetrics.com/forum/general/scaling-subset-extracted-2d-s…