[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Missing functions for complex vectors
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] Missing functions for complex vectors |
Date: |
Tue, 04 Mar 2008 17:12:54 +0000 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
At Mon, 03 Mar 2008 13:50:43 +0100,
Federico Zenith wrote:
> 1) complex vectors have defined all properties mentioned on this page:
> http://www.gnu.org/software/gsl/manual/html_node/Vector-properties.html
> except isnonneg(). I am not sure what's the meaning of ispos() or
> isneg() for a vector of complex numbers, I suppose it means "both real
> AND imaginary part are positive", but this should be documented;
> furthermore, I do not understand why, if ispos() and isneg() could be
> defined, why could not isnonneg() be as well.
Thanks for the bug report! It's defined in the source but missing from
the header file. I will add the declaration.
> 2) Vector operations, defined on this page:
> http://www.gnu.org/software/gsl/manual/html_node/Vector-operations.html
> are not defined for complex types. As far as I can guess, all these
> operations would still make sense for complex numbers. What is really
> odd is, the same operations are defined for complex matrices.
Hmm, yes, that seems to be an oversight. I'll log it as a bug to be
fixed for the next release.
--
Brian Gough