diff options
author | simon | 2008-07-28 09:37:43 +0000 |
---|---|---|
committer | simon | 2008-07-28 09:37:43 +0000 |
commit | 96d72e22c73a591f924a3b334658cc7edb28dda1 (patch) | |
tree | 2d6baff1a045d0fb9b9278dc98f5704d3028b3eb /src/matrixOperations/transpose/ctransposea.c | |
parent | ad900ecb538d71ffe96daa76ee1f45060b637f24 (diff) | |
download | scilab2c-96d72e22c73a591f924a3b334658cc7edb28dda1.tar.gz scilab2c-96d72e22c73a591f924a3b334658cc7edb28dda1.tar.bz2 scilab2c-96d72e22c73a591f924a3b334658cc7edb28dda1.zip |
updated complex transpose functions ( because they were doing hermitian transpose instead of normal one )
Diffstat (limited to 'src/matrixOperations/transpose/ctransposea.c')
-rw-r--r-- | src/matrixOperations/transpose/ctransposea.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/matrixOperations/transpose/ctransposea.c b/src/matrixOperations/transpose/ctransposea.c index 74291cf9..ed4c34bc 100644 --- a/src/matrixOperations/transpose/ctransposea.c +++ b/src/matrixOperations/transpose/ctransposea.c @@ -21,8 +21,8 @@ void ctransposea ( floatComplex* in , int lines1 , int column1, floatComplex* ou for(index = 0 ; index < lines1 * column1 ; index++) { newCoord = index % column1 * lines1 + ( index / column1); - /* Hermitian transpose*/ - out[newCoord] = FloatComplex ( creals( in[index]) , -cimags ( in[index])); + + out[newCoord] = FloatComplex ( creals( in[index]) , cimags ( in[index])); } } |