Mercurial > hg > octave-nkf
diff liboctave/fCNDArray.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/fCNDArray.h +++ b/liboctave/fCNDArray.h @@ -91,6 +91,8 @@ FloatNDArray abs (void) const; + friend FloatComplexNDArray conj (const FloatComplexNDArray& a); + FloatComplexNDArray fourier (int dim = 1) const; FloatComplexNDArray ifourier (int dim = 1) const; @@ -137,6 +139,8 @@ : MArrayN<FloatComplex> (d, dv) { } }; +extern OCTAVE_API FloatComplexNDArray conj (const FloatComplexNDArray& a); + extern OCTAVE_API FloatComplexNDArray min (const FloatComplex& c, const FloatComplexNDArray& m); extern OCTAVE_API FloatComplexNDArray min (const FloatComplexNDArray& m, const FloatComplex& c); extern OCTAVE_API FloatComplexNDArray min (const FloatComplexNDArray& a, const FloatComplexNDArray& b);