mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
13 lines
299 B
C
13 lines
299 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
void splie2(double x1a[], double x2a[], double **ya, int m, int n, double **y2a)
|
|
{
|
|
void spline(double x[], double y[], int n, double yp1,
|
|
double ypn, double y2[]);
|
|
int j;
|
|
|
|
for (j=1;j<=m;j++)
|
|
{
|
|
spline(x2a,ya[j],n,1.0e30,1.0e30,y2a[j]);
|
|
}
|
|
}
|