Canoe
Comprehensive Atmosphere N' Ocean Engine
core.h File Reference
#include "math.h"

Go to the source code of this file.

Classes

struct  float_triplet
 

Functions

double sqr (double x)
 
double cub (double x)
 
double min (double x1, double x2, double x3)
 
double max (double x1, double x2, double x3)
 
double allmax (double *a, int n)
 
double allmin (double *a, int n)
 
int sign (double x)
 
int fcmp (double x1, double x2)
 
double rad2deg (double phi)
 
double deg2rad (double phi)
 
double km2m (double x)
 
double m2km (double x)
 
double day2sec (double x)
 
double sec2day (double x)
 
double au2m (double x)
 
double m2au (double x)
 

Function Documentation

◆ sqr()

double sqr ( double  x)
inline

Definition at line 14 of file core.h.

◆ cub()

double cub ( double  x)
inline

Definition at line 15 of file core.h.

◆ min()

double min ( double  x1,
double  x2,
double  x3 
)
inline

Definition at line 16 of file core.h.

◆ max()

double max ( double  x1,
double  x2,
double  x3 
)
inline

Definition at line 19 of file core.h.

◆ allmax()

double allmax ( double *  a,
int  n 
)
inline

Definition at line 22 of file core.h.

◆ allmin()

double allmin ( double *  a,
int  n 
)
inline

Definition at line 28 of file core.h.

◆ sign()

int sign ( double  x)
inline

Definition at line 34 of file core.h.

◆ fcmp()

int fcmp ( double  x1,
double  x2 
)

Definition at line 34 of file fcmp.c.

◆ rad2deg()

double rad2deg ( double  phi)
inline

Definition at line 40 of file core.h.

◆ deg2rad()

double deg2rad ( double  phi)
inline

Definition at line 41 of file core.h.

◆ km2m()

double km2m ( double  x)
inline

Definition at line 43 of file core.h.

◆ m2km()

double m2km ( double  x)
inline

Definition at line 44 of file core.h.

◆ day2sec()

double day2sec ( double  x)
inline

Definition at line 46 of file core.h.

◆ sec2day()

double sec2day ( double  x)
inline

Definition at line 47 of file core.h.

◆ au2m()

double au2m ( double  x)
inline

Definition at line 49 of file core.h.

◆ m2au()

double m2au ( double  x)
inline

Definition at line 50 of file core.h.