diff options
author | jofret | 2009-06-16 07:08:02 +0000 |
---|---|---|
committer | jofret | 2009-06-16 07:08:02 +0000 |
commit | a8760a2e68c4c8646ad97d1bd396b72d1e96b547 (patch) | |
tree | 6977814b269bc59ce877ebdf2b30b24ab51e3a21 /macros | |
parent | e096caa3adfb2de7b20128be1bbc60945f6e7738 (diff) | |
download | scilab2c-a8760a2e68c4c8646ad97d1bd396b72d1e96b547.tar.gz scilab2c-a8760a2e68c4c8646ad97d1bd396b72d1e96b547.tar.bz2 scilab2c-a8760a2e68c4c8646ad97d1bd396b72d1e96b547.zip |
Validating OpLogNot
Diffstat (limited to 'macros')
-rw-r--r-- | macros/CFiles/sci2cincludes/OpLogNot.h | 42 | ||||
-rw-r--r-- | macros/findDeps/getAllInterfaces.sci | 1 |
2 files changed, 1 insertions, 42 deletions
diff --git a/macros/CFiles/sci2cincludes/OpLogNot.h b/macros/CFiles/sci2cincludes/OpLogNot.h deleted file mode 100644 index 6184265c..00000000 --- a/macros/CFiles/sci2cincludes/OpLogNot.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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<size[0]*size[1];i++) out[i]=s0OpLogNots0(in[i]);\ - } - -#define d2OpLogNotd2(in,size,out) {int i;\ - for (i=0;i<size[0]*size[1];i++) out[i]=d0OpLogNotd0(in[i]);\ - } - -#define c2OpLogNotc2(in,size,out) {int i;\ - for (i=0;i<size[0]*size[1];i++) out[i]=c0OpLogNotc0(in[i]);\ - } - -#define z2OpLogNotz2(in,size,out) {int i;\ - for (i=0;i<size[0]*size[1];i++) out[i]=z0OpLogNotz0(in[i]);\ - } - -#endif /* !__INT_OPLOGNOT_H__ */ diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci index e717466a..930d557a 100644 --- a/macros/findDeps/getAllInterfaces.sci +++ b/macros/findDeps/getAllInterfaces.sci @@ -81,6 +81,7 @@ function allInterfaces = getAllInterfaces() "src/c/statisticsFunctions/interfaces/int_variance.h" "src/c/statisticsFunctions/interfaces/int_sum.h" "src/c/operations/interfaces/int_OpEqual.h" + "src/c/operations/interfaces/int_OpLogNot.h" "src/c/operations/interfaces/int_OpLogEq.h" "src/c/operations/interfaces/int_OpLogNe.h" "src/c/operations/interfaces/int_OpLogGt.h" |