From 3f52712f806fbd80d66dfdcaff401e5cf94dcca4 Mon Sep 17 00:00:00 2001 From: yash1112 Date: Fri, 7 Jul 2017 21:20:49 +0530 Subject: sci2c arduino updated --- src/c/operations/interfaces/int_OpMinus.h | 248 ++++++++++++++++++++++++++++++ 1 file changed, 248 insertions(+) create mode 100644 src/c/operations/interfaces/int_OpMinus.h (limited to 'src/c/operations/interfaces/int_OpMinus.h') diff --git a/src/c/operations/interfaces/int_OpMinus.h b/src/c/operations/interfaces/int_OpMinus.h new file mode 100644 index 00000000..2ea8a521 --- /dev/null +++ b/src/c/operations/interfaces/int_OpMinus.h @@ -0,0 +1,248 @@ +/* + * 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 */ + +#define s0OpMinuss0(in) -in + +#define d0OpMinusd0(in) -in + +#define c0OpMinusc0(in) FloatComplex(-creals(in), -cimags(in)) + +#define z0OpMinusz0(in) DoubleComplex(-zreals(in), -zimags(in)) + +#define u80OpMinusu80(in) -(int8)in + +#define i80OpMinusi80(in) -in + +#define u160OpMinusu160(in) -(int16)in + +#define i160OpMinusi160(in) -in + +/* - Matrix */ + +#define s2OpMinuss2(in, size, out) {int i=0; \ + for (i=0;i