| |
- methodsnm.intrule.IntRule(builtins.object)
-
- IntRule1D
-
- GaussJacobiRule
- GaussLegendreRule
- MidPointRule
- NP_GaussLegendreRule
- NewtonCotesRule
- SP_GaussJacobiRule
class GaussJacobiRule(IntRule1D) |
|
GaussJacobiRule(n, alpha, beta, interval=(0, 1))
Class for the Gauss-Jacobi rule for 1D numerical integration. |
|
- Method resolution order:
- GaussJacobiRule
- IntRule1D
- methodsnm.intrule.IntRule
- builtins.object
Methods defined here:
- __init__(self, n, alpha, beta, interval=(0, 1))
- Initializes the Gauss-Jacobi rule with the given interval and number of nodes.
Parameters:
n (int): The number of nodes to use for integration.
interval (tuple): The interval to integrate over.
alpha, beta (float): The parameters of the Jacobi polynomial.
Data and other attributes inherited from IntRule1D:
- interval = None
Methods inherited from methodsnm.intrule.IntRule:
- __str__(self)
- Return str(self).
- integrate(self, f)
Data descriptors inherited from methodsnm.intrule.IntRule:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
Data and other attributes inherited from methodsnm.intrule.IntRule:
- exactness_degree = None
- nodes = None
- weights = None
|
class SP_GaussJacobiRule(IntRule1D) |
|
SP_GaussJacobiRule(n, alpha, beta, interval=(0, 1))
Wrapper class for the Gauss-Jacobi rule for 1D numerical integration of numpy. |
|
- Method resolution order:
- SP_GaussJacobiRule
- IntRule1D
- methodsnm.intrule.IntRule
- builtins.object
Methods defined here:
- __init__(self, n, alpha, beta, interval=(0, 1))
- Initializes the Gauss-Legendre rule with the given interval and number of nodes.
Parameters:
n (int): The number of nodes to use for integration.
interval (tuple): The interval to integrate over.
alpha, beta (float): The parameters of the Jacobi polynomial.
Data and other attributes inherited from IntRule1D:
- interval = None
Methods inherited from methodsnm.intrule.IntRule:
- __str__(self)
- Return str(self).
- integrate(self, f)
Data descriptors inherited from methodsnm.intrule.IntRule:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
Data and other attributes inherited from methodsnm.intrule.IntRule:
- exactness_degree = None
- nodes = None
- weights = None
| |