Canoe
Comprehensive Atmosphere N' Ocean Engine
spline.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "core.h"
#include "linalg.h"

Go to the source code of this file.

Macros

#define WITHOUT_PIVOTING   0
 
#define WITH_PIVOTING   1
 

Functions

void spline (int n, struct float_triplet *table, double y1_bot, double y1_top)
 
double splint (double xx, struct float_triplet *table, double dx)
 

Macro Definition Documentation

◆ WITHOUT_PIVOTING

#define WITHOUT_PIVOTING   0

Definition at line 7 of file spline.c.

◆ WITH_PIVOTING

#define WITH_PIVOTING   1

Definition at line 8 of file spline.c.

Function Documentation

◆ spline()

void spline ( int  n,
struct float_triplet table,
double  y1_bot,
double  y1_top 
)

Definition at line 21 of file spline.c.

◆ splint()

double splint ( double  xx,
struct float_triplet table,
double  dx 
)

Definition at line 152 of file spline.c.