diff liboctave/fNDArray.h @ 10329:83fa590b8a09

simplify min/max definitions in liboctave
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 17 Feb 2010 10:40:36 +0100
parents cbc402e64d83
children 12884915a8e4
line wrap: on
line diff
--- a/liboctave/fNDArray.h	Wed Feb 17 08:43:53 2010 +0100
+++ b/liboctave/fNDArray.h	Wed Feb 17 10:40:36 2010 +0100
@@ -167,13 +167,7 @@
 extern OCTAVE_API FloatNDArray real (const FloatComplexNDArray& a);
 extern OCTAVE_API FloatNDArray imag (const FloatComplexNDArray& a);
 
-extern OCTAVE_API FloatNDArray min (float d, const FloatNDArray& m);
-extern OCTAVE_API FloatNDArray min (const FloatNDArray& m, float d);
-extern OCTAVE_API FloatNDArray min (const FloatNDArray& a, const FloatNDArray& b);
-
-extern OCTAVE_API FloatNDArray max (float d, const FloatNDArray& m);
-extern OCTAVE_API FloatNDArray max (const FloatNDArray& m, float d);
-extern OCTAVE_API FloatNDArray max (const FloatNDArray& a, const FloatNDArray& b);
+MINMAX_DECLS (FloatNDArray, float, OCTAVE_API)
 
 NDS_CMP_OP_DECLS (FloatNDArray, float, OCTAVE_API)
 NDS_BOOL_OP_DECLS (FloatNDArray, float, OCTAVE_API)