diff options
author | torset | 2009-02-18 09:48:12 +0000 |
---|---|---|
committer | torset | 2009-02-18 09:48:12 +0000 |
commit | 5040709312891b9c6b130baa82f66e7959fb6cb8 (patch) | |
tree | da2d2334c70190139464a41304ef00d2f10ee4e6 /src/statisticsFunctions/interfaces/int_statMax.h | |
parent | 853aa42539de40bdcf220c0066b89e6da5d38936 (diff) | |
download | scilab2c-5040709312891b9c6b130baa82f66e7959fb6cb8.tar.gz scilab2c-5040709312891b9c6b130baa82f66e7959fb6cb8.tar.bz2 scilab2c-5040709312891b9c6b130baa82f66e7959fb6cb8.zip |
Add min and max in statisticsFunctions
Diffstat (limited to 'src/statisticsFunctions/interfaces/int_statMax.h')
-rw-r--r-- | src/statisticsFunctions/interfaces/int_statMax.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/statisticsFunctions/interfaces/int_statMax.h b/src/statisticsFunctions/interfaces/int_statMax.h new file mode 100644 index 00000000..0c0033e7 --- /dev/null +++ b/src/statisticsFunctions/interfaces/int_statMax.h @@ -0,0 +1,37 @@ +/* + * 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_STATMAX_H__ +#define __INT_STATMAX_H__ + +#define s0maxs0(in) smaxs(in) + +#define d0maxd0(in) dmaxs(in) + +#define s2maxs2(in,size,out) smaxa(in, size[0]*size[1], out) + +#define d2maxd2(in,size,out) dmaxa(in, size[0]*size[1], out) + + + +#define s0s0maxs0(in1,in2) smaxs(in1) + +#define d0d0maxd0(in1,in2) dmaxs(in1) + +#define s2s0maxs2(in1,size,in2,out) (in2==2) ? scolumnmaxa(in1, size[0], size[1], out) : srowmaxa(in1, size[0], size[1], out) + +#define d2d0maxd2(in1,size,in2,out) (in2==2) ? dcolumnmaxa(in1, size[0], size[1], out) : drowmaxa(in1, size[0], size[1], out) + + +#endif /* !__INT_STATMAX_H__ */ |