From 278f666bab0c72be2073841f9dae6b6546d19162 Mon Sep 17 00:00:00 2001 From: torset Date: Thu, 13 Nov 2008 15:42:54 +0000 Subject: added division element by element --- src/operations/division/zrdiva.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/operations/division/zrdiva.c (limited to 'src/operations/division/zrdiva.c') diff --git a/src/operations/division/zrdiva.c b/src/operations/division/zrdiva.c new file mode 100644 index 00000000..ef097f2d --- /dev/null +++ b/src/operations/division/zrdiva.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 zrdiva (doubleComplex* in1, int size1, doubleComplex* in2, int size2, doubleComplex* out ){ + int i=0; + for (i=0;i