Search:

Type: Posts; User: Marv

Search: Search took 0.01 seconds.

  1. Thread: LAPCK and CLAPACK

    by Marv
    Replies
    0
    Views
    1,858

    LAPCK and CLAPACK

    Hello All

    I am returning to some numerical programming in C after a bit of time away. I have a question about the use of LAPACK and CLAPACK these days. CLAPACK has not had a release since 2000 as...
  2. Replies
    10
    Views
    2,764

    Thanks all

    Thanks all
  3. Replies
    10
    Views
    2,764

    Itsme86 wrote: What indication do you have...

    Itsme86 wrote:



    What indication do you have that the declarations as given by stdint.h wont be
    completely portable?

    Thanks
  4. Replies
    10
    Views
    2,764

    Some compliers, I am told, regard an int as 16...

    Some compliers, I am told, regard an int as 16 bits others as 32 bits. There are portable
    means of declaring variables and I can't recall what they are (haven't been C coding for a while).
  5. Replies
    10
    Views
    2,764

    portable declarations

    Hi everyone

    Where can I find a list of portable declarations for ints and floats?
  6. Replies
    15
    Views
    5,209

    Thanks for the help everyone.

    Thanks for the help everyone.
  7. Replies
    15
    Views
    5,209

    Those have all been good suggestions....

    Those have all been good suggestions. Unfortunately I do not have control (or little control) over how the file is initially written.

    I think I will follow Swoopy and Salem's idea about reading a...
  8. Replies
    15
    Views
    5,209

    Thanks for the replies But these files are...

    Thanks for the replies

    But these files are big. Reading an int at a time and making the assignment to the elements of a float array will take a lot more time than using fread to read the big block...
  9. Replies
    15
    Views
    5,209

    efficient binary file read

    Hello

    I would like to read a binary file contain short (16 bit) ints into an array. However, I would like that
    array to be of type float (32 bit). Presently I am simply reading the file into an...
  10. Replies
    15
    Views
    8,114

    Dave_sinkula Thanks. I guess could just start...

    Dave_sinkula

    Thanks. I guess could just start with that code and edit it. I was really hoping for something well tested but i can't be
    too picky.
  11. Replies
    15
    Views
    8,114

    Thanks citizen

    Thanks citizen
  12. Replies
    15
    Views
    8,114

    Choice to should read (2) indexing into a...

    Choice to should read

    (2) indexing into a dynamically allocated 4D array (created using brewbeck's method or some 4D version of the NumRec in C code) using usual array syntax.
  13. Replies
    15
    Views
    8,114

    Does anybody know which would be faster: (1)...

    Does anybody know which would be faster:

    (1) indexing into a 1D array with the macro suggested by anon or
    (2) indexing into a 4D array using usual array syntax.

    Thanks again
  14. Replies
    15
    Views
    8,114

    Thanks robatino That was my first inclination...

    Thanks robatino

    That was my first inclination but as I write code for my particular project I am finding that indexing into a
    1D array to mimick a 4D array just gets difficult to read (and debug).
  15. Replies
    15
    Views
    8,114

    Brewbuck Also "Numerical Recipes in C" (which...

    Brewbuck

    Also "Numerical Recipes in C" (which does up to 3D dyn alloc) does not do so many calls to calloc. It
    has three calls only (one for each dim).
  16. Replies
    15
    Views
    8,114

    Brewbuck Thanks for the very speedy reply! I...

    Brewbuck

    Thanks for the very speedy reply! I will give ypour code a try and make my own function to free
    the memory. I was sort of hoping that someone could point me to a good web resource for...
  17. Replies
    15
    Views
    8,114

    dynamically allocating 4D arrays

    Hello

    Does anybody have or no where I can find code for dynamic allocation of 4D arrays.

    Thank you
Results 1 to 17 of 18