TMtx.ColExchange Method

TMtx ColExchange(Int32 i, Int32 j)

Exchange matrix columns.

#NameTypeDescription
1iInt32
2jInt32

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.

See Also: TMtx.RowExchange, TMtx.ColPermute, TMtx.RowPermute