Mercurial > hg > octave-nkf
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 +++ b/liboctave/CNDArray.h @@ -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);