Package sfc :: Package symbolic_utils :: Module integration
[hide private]
[frames] | no frames]

Module integration

source code

This module contains functions for computing integrals both symbolically and numerically.

Functions [hide private]
 
symbolic_integral(polygon, function)
This function computes the integral of the specified function over the specified polygon symbolically.
source code
 
numeric_integral(polygon, function, order)
This function computes the integral of the specified function over the specified polygon numerically.
source code
 
integral(polygon, function, integration_mode=True, integration_order=None)
A small wrapper on top of the functions symbolic_integral and numeric_integral.
source code
Function Details [hide private]

symbolic_integral(polygon, function)

source code 

This function computes the integral of the specified function over the specified polygon symbolically. The function may take as arguments the global coordinates (x,y,z) as well as coordinates on the reference polygon (xi0, xi1, xi2).

numeric_integral(polygon, function, order)

source code 

This function computes the integral of the specified function over the specified polygon numerically. The function may take as arguments the global coordinates (x,y,z) as well as coordinates on the reference polygon (xi0, xi1, xi2).