Search:

Type: Posts; User: iamc

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    1,799

    Surface fitting using NR function svdfit ( )

    Hi,

    I want to fit a surface i.e. W(x,y) using svdfit() provided by "Numerical Recipes in C".

    svdfit() is written for curve fitting and not for surface fitting. But one can use svdfit(), as...
  2. Replies
    1
    Views
    5,846

    How to find inverse of a sparse matrix ?

    Hi,

    There are Numerical recipes (For C) functions namely ludcmp() and lubksb() to invert the matrix. I used them for a simple 3x3 matrix. I got the inverse. Then I mulitiplied that inverse with...
  3. I got my mistake for "warning: assignment from...

    I got my mistake for "warning: assignment from incompatible pointer type".
    I should have used ivector( ) instead of vector( ).
    ivector( ) is for "int" and vector( ) is for "float".


    But should...
  4. Warning messages and Numerical Recipes functions in C

    Hi,

    ____________(1)______________________

    I am using some "Numerical Recipes in C" routines in my C code.
    (I am using ludcmp() & lubksb().)
    These are used to find inverse of a matrix.
    ...
  5. Replies
    15
    Views
    2,797

    I REPEAT: I AM USING "NUMERICAL RECIPES IN C"...

    I REPEAT: I AM USING "NUMERICAL RECIPES IN C" FUNCTIONS.
    THESE FUNCTIONS ARE MEANT FOR UNIT-OFFSET. i.e.
    INSTEAD OF STARTING THE INDEX OF 1D ARRAY FROM [0] ( OR FOR 2D [0][0]), THEY WILL START...
  6. Replies
    15
    Views
    2,797

    These can be found in "Numerical Recipes in C". ...

    These can be found in "Numerical Recipes in C".

    This is matrix( ):


    float **matrix(long nrl, long nrh, long ncl, long nch)
    /* allocate a float matrix with subscript range...
  7. Replies
    15
    Views
    2,797

    filling 2D array with the help of 1D array

    Hi,

    (I am using vector() and matrix() functions from "Numerical recipes in C".)

    There are 100 numbers to be stored in 2D array of 10 rows and 10 columns.
    100 numbers are stored in a 1D array....
Results 1 to 7 of 7