add numerical recipes library
This commit is contained in:
8
lib/nr/ansi/recipes/fpoly.c
Normal file
8
lib/nr/ansi/recipes/fpoly.c
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
void fpoly(float x, float p[], int np)
|
||||
{
|
||||
int j;
|
||||
|
||||
p[1]=1.0;
|
||||
for (j=2;j<=np;j++) p[j]=p[j-1]*x;
|
||||
}
|
||||
Reference in New Issue
Block a user