Search:

Type: Posts; User: figura

Search: Search took 0.00 seconds.

  1. Thread: Complex Number

    by figura
    Replies
    12
    Views
    10,399

    Suppose I did not know their size, which is not...

    Suppose I did not know their size, which is not the case in this example, so I've allocated arrays dynamically, and this is my example:



    #include <stdio.h>
    #include <complex.h>
    #include...
  2. Thread: Complex Number

    by figura
    Replies
    12
    Views
    10,399

    anduril462, sorry I think I did not expressed...

    anduril462, sorry I think I did not expressed myself in the right way. I can do these operations with other number types, and with things I read, now I saw that the allocation is the same.My question...
  3. Thread: Complex Number

    by figura
    Replies
    12
    Views
    10,399

    anduril462, your guess was wrong, my problens are...

    anduril462, your guess was wrong, my problens are with complex type.
    Please, I would like to know how fill a complex arrary when the elements are in ohter array.

    thanks
  4. Thread: Complex Number

    by figura
    Replies
    12
    Views
    10,399

    Complex Number

    Please, I am beginner and I need to work with complex matrices in C, but do not know how to work with that type. I have an idea of how working with complex numbers, it would just declare a variable...
  5. Replies
    3
    Views
    834

    Help with Function

    Please,does anyone knows a function in free libraries to compute a matrix which every terms are:

    e^(-iBC)


    where:

    -i means complex
    B and C are terms that I know
  6. Replies
    12
    Views
    1,589

    The code already complies before but gave...

    The code already complies before but gave problems when running, but now WORKED !!!!!

    I changed two things:
    when I was allocating the matrix was



    if (v[i]=NULL)
  7. Replies
    12
    Views
    1,589

    Please, help me if you can.

    Please, help me if you can.
  8. Replies
    12
    Views
    1,589

    When I printed the vector vetout I could see it....

    When I printed the vector vetout I could see it.

    So what should I do?
  9. Replies
    12
    Views
    1,589

    Sorry, this isn't the problem, in the original...

    Sorry, this isn't the problem, in the original code p is defined like float *p, with *y and **A in the main, I just forgot to put here.

    I'd allocated vetout in the begin of the function...
  10. Replies
    12
    Views
    1,589

    Return of the multiplication function

    Hello, I'm beginner in C, use kdevelop -> Qt: 3.3.6 KDE: 3.5.4-Red Hat 25.el5.centos.1 KDevelop: 3.3.4
    and the compiler is gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)

    My doubt is that I made a...
Results 1 to 10 of 10