diff liboctave/CNDArray.h @ 8650:a1ae2aae903e

abs,real,imag,conj: use code from mx-inlines rather than the generic map
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 02 Feb 2009 15:35:32 +0100
parents 935be827eaf8
children b756ce0002db
line wrap: on
line diff
--- a/liboctave/CNDArray.h	Sun Feb 01 20:40:10 2009 +0100
+++ b/liboctave/CNDArray.h	Mon Feb 02 15:35:32 2009 +0100
@@ -91,6 +91,8 @@
   
   NDArray abs (void) const;
 
+  friend ComplexNDArray conj (const ComplexNDArray& a);
+
   ComplexNDArray fourier (int dim = 1) const;
   ComplexNDArray ifourier (int dim = 1) const;
 
@@ -137,6 +139,8 @@
     : MArrayN<Complex> (d, dv) { }
 };
 
+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);