mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
beginning to fold in HOD code with jeremy tinker's approval
This commit is contained in:
parent
d8108d3a8e
commit
44cd0eb71f
95 changed files with 21950 additions and 0 deletions
13
c_tools/hod/splie2.c
Normal file
13
c_tools/hod/splie2.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
#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]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue