Class QuadratureRule
List of QuadratureNodes which can be used to numerically evaluate an integral.
Implements
Inherited Members
Namespace: IntersectingQuadrature
Assembly: IntersectingQuadrature.dll
Syntax
public class QuadratureRule : List<QuadratureNode>, IList<QuadratureNode>, ICollection<QuadratureNode>, IReadOnlyList<QuadratureNode>, IReadOnlyCollection<QuadratureNode>, IEnumerable<QuadratureNode>, IList, ICollection, IEnumerable
Constructors
| Edit this page View SourceQuadratureRule(int)
Initializes a QuadratureRule that is empty and has the specified initial capacity.
Declaration
public QuadratureRule(int capacity)
Parameters
| Type | Name | Description |
|---|---|---|
| int | capacity | Initial capacity |
Methods
| Edit this page View SourceAllocate(int, int)
Creates a QuadratureRule containing new QuadratureNodes.
Declaration
public static QuadratureRule Allocate(int count, int dim)
Parameters
| Type | Name | Description |
|---|---|---|
| int | count | Number of QuadratureNodes |
| int | dim | Dimension of the QuadratureNodes |
Returns
| Type | Description |
|---|---|
| QuadratureRule |