From b837c41882b1cfa2263bfde9537be1ebcd0c9998 Mon Sep 17 00:00:00 2001 From: torset Date: Wed, 14 Jan 2009 09:35:00 +0000 Subject: add the interface for operation (interfaces for the operations with matrix in the two input are in matrixOperations) --- src/operations/interface/int_OpMinus.h | 75 ++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/operations/interface/int_OpMinus.h (limited to 'src/operations/interface/int_OpMinus.h') diff --git a/src/operations/interface/int_OpMinus.h b/src/operations/interface/int_OpMinus.h new file mode 100644 index 00000000..6d925c3d --- /dev/null +++ b/src/operations/interface/int_OpMinus.h @@ -0,0 +1,75 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * 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 + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_OPMINUS_H__ +#define __INT_OPMINUS_H__ + +/* Scalar - Scalar */ + +#define s0s0OpMinuss0(in1,in2) sdiffs(in1,in2) + +#define d0d0OpMinusd0(in1,in2) ddiffs(in1,in2) + +#define c0c0OpMinusc0(in1,in2) cdiffs(in1,in2) + +#define z0z0OpMinusz0(in1,in2) zdiffs(in1,in2) + +#define s0c0OpMinusc0(in1,in2) cdiffs(FloatComplex(in1,0),in2) + +#define c0s0OpMinusc0(in1,in2) cdiffs(in1,FloatComplex(in2,0)) + +#define d0z0OpMinusz0(in1,in2) zdiffs(DoubleComplex(in1,0),in2) + +#define z0d0OpMinusz0(in1,in2) zdiffs(in1,DoubleComplex(in2,0)) + + +/* Scalar - Matrix */ + +#define s0s2OpMinuss2(in1,in2,size,out) for(int i=0;i