diff options
author | Sandeep Gupta | 2017-06-21 12:42:02 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-06-21 12:42:02 +0530 |
commit | 33e4ef72e7f712eb34a0a87e7b45fcca7d08393c (patch) | |
tree | f504c068fe6763f6cf32735e9107cc357c2655a7 /2.3-1/src/c/matrixOperations/transpose | |
parent | bbd59785a0607149aca4b809d6e43a4b64e2d797 (diff) | |
parent | 0051253bc224286c118c080c79eaed5bf611bd35 (diff) | |
download | Scilab2C-33e4ef72e7f712eb34a0a87e7b45fcca7d08393c.tar.gz Scilab2C-33e4ef72e7f712eb34a0a87e7b45fcca7d08393c.tar.bz2 Scilab2C-33e4ef72e7f712eb34a0a87e7b45fcca7d08393c.zip |
Updated - Linear Algebra
Diffstat (limited to '2.3-1/src/c/matrixOperations/transpose')
-rw-r--r-- | 2.3-1/src/c/matrixOperations/transpose/ztransposea.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/2.3-1/src/c/matrixOperations/transpose/ztransposea.c b/2.3-1/src/c/matrixOperations/transpose/ztransposea.c index c0e91844..e42d74d2 100644 --- a/2.3-1/src/c/matrixOperations/transpose/ztransposea.c +++ b/2.3-1/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]; } } |