From db464f35f5a10b58d9ed1085e0b462689adee583 Mon Sep 17 00:00:00 2001 From: Siddhesh Wani Date: Mon, 25 May 2015 14:46:31 +0530 Subject: Original Version --- src/c/operations/interfaces/int_OpLogNot.h | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/c/operations/interfaces/int_OpLogNot.h (limited to 'src/c/operations/interfaces/int_OpLogNot.h') diff --git a/src/c/operations/interfaces/int_OpLogNot.h b/src/c/operations/interfaces/int_OpLogNot.h new file mode 100644 index 0000000..6184265 --- /dev/null +++ b/src/c/operations/interfaces/int_OpLogNot.h @@ -0,0 +1,42 @@ +/* + * 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_OPLOGNOT_H__ +#define __INT_OPLOGNOT_H__ + +#define s0OpLogNots0(in) (in==0) ? (float)1 : (float)0 + +#define d0OpLogNotd0(in) (in==0) ? (double)1 : (double)0 + +#define c0OpLogNotc0(in) (creals(in)==0) ? FloatComplex(1,0) : FloatComplex(0,0) + +#define z0OpLogNotz0(in) (zreals(in)==0) ? DoubleComplex(1,0) : DoubleComplex(0,0) + +#define s2OpLogNots2(in,size,out) {int i;\ + for (i=0;i