bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #22478] Missing functions for complex vectors


From: Brian Gough
Subject: [Bug-gsl] [bug #22478] Missing functions for complex vectors
Date: Wed, 17 Sep 2008 17:01:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080716 Fedora/false StumbleUpon/1.73 SeaMonkey/1.1.11

Update of bug #22478 (project gsl):

                Severity:              3 - Normal => 4 - Important          

    _______________________________________________________

Follow-up Comment #1:

From: "Liam Healy" <address@hidden>
To: "Help GSL" <address@hidden>
Cc: 
Subject: [Help-gsl] Complex vector arithmetic
Date: Sun, 14 Sep 2008 17:58:17 -0400

I notice that some vector functions on complex numbers do not exist,
though I can't think of a reason for this.  For example, these do not exist:

gsl_vector_complex_add
gsl_vector_complex_float_add
gsl_vector_complex_long_double_add

but all real types do, as well as the corresponding matrix functions:

gsl_matrix_complex_add
gsl_matrix_complex_float_add
gsl_matrix_complex_long_double_add

I made a table of arithmetic functions and definitions I could find in
the library:
                    real vector real matrix     complex vector  complex matrix
_add                yes         yes             no                 yes
_sub                yes         yes             no                 yes
_mul                yes         no              no                 no
_mul_elements       no          yes             no                 yes
_div                yes         no              no                 no
_div_elements       no          yes             no                 yes
_scale              yes         no              no                 yes
_add_constant       yes         no              no                 yes

I can see that _mul_elements or _dev_elements is used only for
matrices and _mul or _div used only for vectors, but I cannot see why
vectors do not have definitions for complex types but matrices do.

Is there a reason for the absence of definitions for complex vectors?

(GSL 1.11 on Debian Lenny amd64)


Liam


_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22478>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]