diff liboctave/CNDArray.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/CNDArray.h
+++ b/liboctave/CNDArray.h
@@ -156,13 +156,7 @@
 
 extern OCTAVE_API ComplexNDArray conj (const ComplexNDArray& a);
 
-extern OCTAVE_API ComplexNDArray min (const Complex& c, const ComplexNDArray& m);
-extern OCTAVE_API ComplexNDArray min (const ComplexNDArray& m, const Complex& c);
-extern OCTAVE_API ComplexNDArray min (const ComplexNDArray& a, const ComplexNDArray& b);
-
-extern OCTAVE_API ComplexNDArray max (const Complex& c, const ComplexNDArray& m);
-extern OCTAVE_API ComplexNDArray max (const ComplexNDArray& m, const Complex& c);
-extern OCTAVE_API ComplexNDArray max (const ComplexNDArray& a, const ComplexNDArray& b);
+MINMAX_DECLS (ComplexNDArray, Complex, OCTAVE_API)
 
 NDS_CMP_OP_DECLS (ComplexNDArray, Complex, OCTAVE_API)
 NDS_BOOL_OP_DECLS (ComplexNDArray, Complex, OCTAVE_API)