Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > Methods: Chapters 2, 11, and 18

Thread Tools Display Modes
Old 07-26-2010, 03:41 PM
Nathan Shin Nathan Shin is offline
Registered User
Join Date: Jul 2010
Posts: 3
Interface to calling the Jacobi function

Has anyone made a calling routine to call this Jacobi function?

My questions are :

1. How did you set up s and tau in the ROTATE definition;
2. How did you use **a to input the matrix

#define ROTATE(a,i,j,k,l) g=a[i][j];h=a[k][l];a[i][j]=g-s*(h+g*tau);a[k][l]=h+s*(g-h*tau);

void jacobi(float **a, int n, float d[], float **v, int *nrot)

Thank you in advance.

Nathan Shin
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 09:30 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.