diff options
author | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
commit | 06337f0dc8114c70fd0c7767083971a0d091750a (patch) | |
tree | 446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /src/c/matrixOperations/transpose/ztransposea.c | |
parent | c2e305c3b82ed944d57402dd515b3d5839a31980 (diff) | |
download | scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2 scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.zip |
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'src/c/matrixOperations/transpose/ztransposea.c')
-rw-r--r-- | src/c/matrixOperations/transpose/ztransposea.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c/matrixOperations/transpose/ztransposea.c b/src/c/matrixOperations/transpose/ztransposea.c index e42d74d2..c0e91844 100644 --- a/src/c/matrixOperations/transpose/ztransposea.c +++ b/src/c/matrixOperations/transpose/ztransposea.c @@ -17,11 +17,11 @@ void ztransposea ( doubleComplex* in , int lines , int columns, doubleComplex* o int i = 0 ; int j = 0 ; - for(i = 0 ; i < lines ; i++) + for(i = 0 ; i<lines ; i++) { - for(j = 0 ; j < columns ; j++) + for(j = 0 ; j < columns ; j++) - out[j+i*columns] = in[i+j*lines]; + out[j+i*columns] = in[i+j*lines]; } } |