add numerical recipes library
This commit is contained in:
9
lib/nr/ansi/recipes/matsub.c
Normal file
9
lib/nr/ansi/recipes/matsub.c
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
void matsub(double **a, double **b, double **c, int n)
|
||||
{
|
||||
int i,j;
|
||||
|
||||
for (j=1;j<=n;j++)
|
||||
for (i=1;i<=n;i++)
|
||||
c[i][j]=a[i][j]-b[i][j];
|
||||
}
|
||||
Reference in New Issue
Block a user