diff options
author | simon | 2008-07-28 09:23:27 +0000 |
---|---|---|
committer | simon | 2008-07-28 09:23:27 +0000 |
commit | ad900ecb538d71ffe96daa76ee1f45060b637f24 (patch) | |
tree | 158bdf0bcff23893a83235eceb1e51c632ebc55a /src/elementaryFunctions/conj/zconja.c | |
parent | ef90694fb4daf222808e6f43d8ab0751a6b3aa5f (diff) | |
download | scilab2c-ad900ecb538d71ffe96daa76ee1f45060b637f24.tar.gz scilab2c-ad900ecb538d71ffe96daa76ee1f45060b637f24.tar.bz2 scilab2c-ad900ecb538d71ffe96daa76ee1f45060b637f24.zip |
added conjugate functions
Diffstat (limited to 'src/elementaryFunctions/conj/zconja.c')
-rw-r--r-- | src/elementaryFunctions/conj/zconja.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/elementaryFunctions/conj/zconja.c b/src/elementaryFunctions/conj/zconja.c new file mode 100644 index 00000000..4f937f3c --- /dev/null +++ b/src/elementaryFunctions/conj/zconja.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Allan SIMON + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#include "conj.h" + +void zconja ( doubleComplex* in , int size, doubleComplex* out ){ + + int i = 0 ; + + for ( i =0 ; i < size ; i++ ) + out[i] = zconjs ( in[i]); + +} |