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...
Type: Posts; User: iamc
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...
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...
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...
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.
...
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...
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...
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....