Search:

Type: Posts; User: sqytoad

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    22
    Views
    9,821

    Oh, all right. Well, everything works now. ...

    Oh, all right.
    Well, everything works now. Seriously, thanks a lot for your patience.
  2. Replies
    22
    Views
    9,821

    Yeah, it did. (Assuming you meant the same...

    Yeah, it did. (Assuming you meant the same sequence of 5 different numbers, twice.)

    Why do you have the L after 123?
    Because that makes sense to me...I wasn't really doing much different.
  3. Replies
    22
    Views
    9,821

    I'm sorry, I have been really confusing. I've...

    I'm sorry, I have been really confusing.
    I've been messing with one of their sample programs, and it basically goes through like this.
    T = gsl_rng_taus2;
    r = gsl_rng_alloc (T);
    printf ("%e\n",...
  4. Replies
    22
    Views
    9,821

    Right, but I guess I don't know how to make the...

    Right, but I guess I don't know how to make the result actually depend on s...
  5. Replies
    22
    Views
    9,821

    Hey, so actually it seems you can use this...

    Hey, so actually it seems you can use this function, as well, to change the seed:
    void gsl_rng_set (const gsl_rng * r, unsigned long int s).
    From this page...
  6. Replies
    22
    Views
    9,821

    Thank you SO much.

    Thank you SO much.
  7. Replies
    22
    Views
    9,821

    All right, thanks. Do I need to figure out how...

    All right, thanks.
    Do I need to figure out how to run/compile completely from the command-prompt window, or is there a way to change them and still run it like I'm used to?

    (And how do you do it...
  8. Replies
    22
    Views
    9,821

    Oh, that actually explains some of my confusion...

    Oh, that actually explains some of my confusion from reading about this stuff... :S
    I'm using dev-C++.
  9. Replies
    22
    Views
    9,821

    Oh, sorry, tabstop, my bad. lol I'm not 100%...

    Oh, sorry, tabstop, my bad. lol I'm not 100% sure it's not a box for the compiler, but I'm definitely not using the one in compiler options. I'll look and see again if there's another box...
  10. Replies
    22
    Views
    9,821

    Yeah, that's where I've been looking, but I...

    Yeah, that's where I've been looking, but I wasn't sure exactly how to change them...
  11. Replies
    22
    Views
    9,821

    I guess I can't tell for sure. I've gotten...

    I guess I can't tell for sure. I've gotten pretty confused because I've been trying to figure everything out at once. I think I was assuming for running the program...
    This is where I was looking...
  12. Replies
    22
    Views
    9,821

    gsl seeding random number generator

    Hi, I'm trying to use gsl to provide random numbers for my program. I can get the basic defaults to work, but I was trying to get this part:
    "By setting the two variables on the command line we can...
  13. Replies
    5
    Views
    1,539

    I was trying something along these lines... It...

    I was trying something along these lines...
    It would maybe do the first number correctly, but then I'm not sure what it was doing. I really didn't get that far.

    (This is simplified, delta is...
  14. Replies
    5
    Views
    1,539

    Well, if you could tell me a better way to update...

    Well, if you could tell me a better way to update the scan to that value, I'd be fine with that. But I'm doing this with a huge list, so it's not like I can just type it in each time like in my...
  15. Replies
    5
    Views
    1,539

    appending output file...

    Hi, I'm wondering if someone can help get me started on this. I sat down to do it and realized I couldn't. lol
    This is what I'm trying to do:
    I have an output file that I want to append. The...
  16. Replies
    7
    Views
    1,556

    Are you still having a problem? Because it...

    Are you still having a problem? Because it should work if you took out those two semicolons.
    Is something else wrong?
  17. Replies
    16
    Views
    2,187

    Yeah, I was just using it as a placeholder for...

    Yeah, I was just using it as a placeholder for while I was working on it. I think I misunderstood what you were saying at first, so I wanted to really make sure I got what you were saying now that I...
  18. Replies
    7
    Views
    1,556

    if ( number == 1 || 3 || 5 )***;***{ ...

    if ( number == 1 || 3 || 5 )***;***{
    printf("i dont like odd numbers\n");
    }
    else if ( number == 2 )***;*** {


    You shouldn't have the semicolons that I put *** around above. You just...
  19. Replies
    16
    Views
    2,187

    The problem is I'm still a little confused about...

    The problem is I'm still a little confused about how to use what you're saying.
    So instead of having my condition be a[i]/a[i-1] I would have a[i]/previous_value?
  20. Replies
    16
    Views
    2,187

    What I'm saying is that if a value doesn't meet...

    What I'm saying is that if a value doesn't meet the condition, I want to ignore it - completely. So that it's not used in the next cycle of the loop.
    Let me try and go through this better.
    This is...
  21. Replies
    16
    Views
    2,187

    C_ntua - sorry, I'm not sure what you mean, could...

    C_ntua - sorry, I'm not sure what you mean, could you explain a little more? Why would a while loop be better?
  22. Replies
    16
    Views
    2,187

    All right, let me talk through this to see if I...

    All right, let me talk through this to see if I getting it...still not sure.
    -My main condition is if array[i]>array[i-1]-

    So should I start out by making previous_value = array[i-1]?

    Then go...
  23. Replies
    16
    Views
    2,187

    Then how do i incorporate it into the loop? I...

    Then how do i incorporate it into the loop? I was thinking of something like that, but I couldn't figure out how to define it.
  24. Replies
    16
    Views
    2,187

    not sure how to say this...

    I have a loop going with an array - say array[i] for i=0 to i<10 - with conditions, and if the conditions aren't met at a value in the array, I want to ignore the value. I have array[i-1] in the...
  25. Replies
    13
    Views
    1,865

    @#$%!! I can't believe I didn't notice that! :(...

    @#$%!! I can't believe I didn't notice that! :( :( I'd been looking for that for so long, that was all I thought it could be...
    I guess I'd stared at it so long I'd convinced myself it was fine....
Results 1 to 25 of 32
Page 1 of 2 1 2