public static void standard(DMatrix1Row A, DMatrix1Row A_tran)
    {
        int index = 0;
        for( int i = 0; i < A_tran.numRows; i++ ) {
            int index2 = i;

            int end = index + A_tran.numCols;
            while( index < end ) {
                A_tran.data[index++ ] = A.data[ index2 ];
                index2 += A.numCols;
            }
        }
    }
public static void standard ( DMatrix1Row A , DMatrix1Row A_tran ) { int index = 0 ; for ( int i = 0 ; i < A_tran . numRows ; i ++ ) { int index2 = i ; int end = index + A_tran . numCols ; while ( index < end ) { A_tran . data [ index ++ ] = A . data [ index2 ] ; index2 += A . numCols ; } } }
A straight forward transpose.  Good for small non-square matrices.

@param A Original matrix.  Not modified.
@param A_tran Transposed matrix.  Modified.