Learn R Programming

HDiR (version 1.1.3)

sphere.integration: Numerical integration on the unit sphere

Description

This function calculates the integral of a function \(f\) on the unit sphere.

Usage

sphere.integration(f, mesh = 40, deg = 3)

Value

A numeric value of the integral.

Arguments

f

Function to be integrated.

mesh

Triangular mesh to be used. More details can be found in the description of sphere.hdr function.

deg

Degree of the quadrature rules for triangles. More details can be found in the description of sphere.hdr function.

Author

Andrés Prieto, Rosa M. Crujeiras and Paula Saavedra-Nieves.