Search:

Type: Posts; User: lordbubonicus

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    1,770

    Thanks very much. I thought it might be something...

    Thanks very much. I thought it might be something like that, but was unsure. You've really helped me a lot with this.
  2. Replies
    14
    Views
    1,770

    Swoopy: The numbering of the for loops doesn't...

    Swoopy: The numbering of the for loops doesn't seem to have any effect if I change it. However, you're probably right that it should begin at 0 so I'll do so.

    Any idea why the printf statements...
  3. Replies
    14
    Views
    1,770

    Update again, I've fixed the segmentation fault...

    Update again, I've fixed the segmentation fault and my program appears to be working now. I say appears, becasue I'm currently still trying to test it.
  4. Replies
    14
    Views
    1,770

    Ok, after some further error checking it seems...

    Ok, after some further error checking it seems as though the segmentation fault lies somewhere in this section of code:


    But I'm still stumped as to what's causing it.
  5. Replies
    14
    Views
    1,770

    Thanks for the help Swoopy. However: The...

    Thanks for the help Swoopy. However:

    The second parameter to padme does have to be a pointer, as that's what my specification says and I'm not allowed to alter it. Also, if I try your suggestions...
  6. Replies
    14
    Views
    1,770

    Ok, I've had a breakthrough - strange how it...

    Ok, I've had a breakthrough - strange how it happens isn't it. I've now fixed the problem with the array sizes. I realised that
    *two_numdata=arraysize;
    was the wrong way round for what I wanted....
  7. Replies
    14
    Views
    1,770

    well a couple of weeks have passed, and due to a...

    well a couple of weeks have passed, and due to a group project that I'm working on for my course the programming has taken a bit of a back seat. I've not really progressed, and I'm still having...
  8. Replies
    14
    Views
    1,770

    Thanks very much Salem, as usual you've helped me...

    Thanks very much Salem, as usual you've helped me greatly.

    The reason for outputptr is that in the final version of the code, with the FFT added, it will be used. But at this stage it's not...
  9. Replies
    14
    Views
    1,770

    Working up to an FFT

    Hi everyone,

    The community here has been very helpful to me with my previous problems, so I hope that you can offer some advice with this.

    I've been set a problem involving a Fast Fourier...
  10. Replies
    5
    Views
    2,750

    Problem solved

    Thanks very much for the help Salem.

    In the end I used a different algortihm for the integral, but still had problems with the short form. So I forced the program to compute the answer using the...
  11. Replies
    5
    Views
    2,750

    The difference from the expected result is in the...

    The difference from the expected result is in the value of d_w - the value I obtain of 69.75 is just over half of the expected value of 127.33. I'm not concerned about the differenc in the value of...
  12. Replies
    5
    Views
    2,750

    Problem with Dawson's integral

    Hi everybody,

    I'm writing a program to evaluate Dawson's integral and use it to calculate some parameters for a theoretical particle beam. I'm using the function Dawson from Numerical recipes in C...
  13. Replies
    3
    Views
    2,094

    I don't really have any code for the...

    I don't really have any code for the differentiation at the moment, I'm just looking for starting points. Hence why I didn't post any.

    When I say smooths, I mean that it tries to remove some of...
  14. Replies
    3
    Views
    2,094

    numerical differentiation of data

    Hi there,

    I'm currently working on a program that takes a set of data and smooths it using an n-point running average, with mirrored end points. I then need the program to differentiate the...
  15. Thanks you very much. That's solved that problem....

    Thanks you very much. That's solved that problem. I can't believe I missed that.

    Although i'm still getting a value of Inf for the value of the integral. Is that likely to be because I'm...
  16. Problem with for loop calling external function

    Hello everyone,

    I've been reading these boards for a week or so and have gained some useful pointers from it. However I am still having trouble with the program that I am currently trying to...
Results 1 to 16 of 16