SilverScreen Solid Modeler

Transpose method

Transpose method

Previous topic Next topic  

Transpose method

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

void Transpose()

 

 

 

 

 




Synopsis

using SilverSharp;

 

The Transpose method swaps every row and column in a matrix.

 

 

Parameters

none

 

 

Return Value

none

 

 

Remarks

A matrix transposition swaps cell [1,2] with cell [2,1], swaps cell [1,3] with cell [3,1], and so on.

 

If the following matrix were transposed:

 

[ 1  2  3  4]

[ 5  6  7  8]

[ 9 10 11 12]

[13 14 15 16]

 

It would become:

 

[ 1  5  9 13]

[ 2  6 10 14]

[ 3  7 11 15]

[ 4  8 12 16]

 

 

See Also

MATRIX