libgravix2  0.1.0
A fast simulation of attractive forces acting on point-like particles embedded onto the surface of a sphere.
helpers.h File Reference

Compilation of helper functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double grvx_sinc (double)
 Computes \(\sin(x) / x\). More...
 

Detailed Description

Compilation of helper functions.

Function Documentation

◆ grvx_sinc()

double grvx_sinc ( double  x)

Computes \(\sin(x) / x\).

Save calculation of \(\sin(x) / x\). In particular, this function returns 1.0 for \(x=0\).

Parameters
x\(x\).
Returns
\(\sin(x) / x\).