diff options
author | torset | 2008-11-13 15:42:54 +0000 |
---|---|---|
committer | torset | 2008-11-13 15:42:54 +0000 |
commit | 278f666bab0c72be2073841f9dae6b6546d19162 (patch) | |
tree | 8f8dffe9f454eea5728953a2c2411c9744490625 /src/operations/division/cldiva.c | |
parent | d839b178843672b7175fd1c607553437c395456c (diff) | |
download | scilab2c-278f666bab0c72be2073841f9dae6b6546d19162.tar.gz scilab2c-278f666bab0c72be2073841f9dae6b6546d19162.tar.bz2 scilab2c-278f666bab0c72be2073841f9dae6b6546d19162.zip |
added division element by element
Diffstat (limited to 'src/operations/division/cldiva.c')
-rw-r--r-- | src/operations/division/cldiva.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/operations/division/cldiva.c b/src/operations/division/cldiva.c new file mode 100644 index 00000000..396e34e8 --- /dev/null +++ b/src/operations/division/cldiva.c @@ -0,0 +1,22 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Arnaud TORSET + * + * 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 "division.h" + +void cldiva (floatComplex* in1, int size1, floatComplex* in2, int size2, floatComplex* out ){ + int i=0; + for (i=0;i<size1;i++){ + out[i]=cldivs(in1[i],in2[i]); + } + for (i=0;i<size2;i++){} +} |