From 9daca3350c8869dbfca27d00e47ba7904afca142 Mon Sep 17 00:00:00 2001 From: torset Date: Fri, 14 Nov 2008 09:57:03 +0000 Subject: added multiplication element by element --- src/operations/multiplication/smula.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/operations/multiplication/smula.c (limited to 'src/operations/multiplication/smula.c') diff --git a/src/operations/multiplication/smula.c b/src/operations/multiplication/smula.c new file mode 100644 index 00000000..e4e366b2 --- /dev/null +++ b/src/operations/multiplication/smula.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 "multiplication.h" + +void smula(float* in1, int size1, float* in2, int size2, float* out){ + int i=0; + for (i=0;i