Go to the source code of this file.
Functions | |
| bool | point_inside_sphere (double *x, int n) |
| Checks if a point is contained inside an unit sphere. | |
This function is used as an initial example for Monte-Carlo integration.
|
||||||||||||
|
Checks if a point is contained inside an unit sphere.
|
1.3.9.1