Update of bug #22478 (project gsl):

                Severity:              3 - Normal => 4 - Important          

    _______________________________________________________

Follow-up Comment #1:

From: "Liam Healy" <[EMAIL PROTECTED]>
To: "Help GSL" <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
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/



_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to