TMtxByte.ColExchange Method

function ColExchange(i: Integer; j: Integer): TMtxInt;

Exchange matrix columns.

#NameTypeDescription
1iInteger
2jInteger

Result: stored in self (calling object), returns self for chaining

Remarks:

Exchange the i-tj and j-th columns of the calling matrix in-place. An exception is raised if matrix bounds are overrun.