scimba_torch.integration.mesh_based_quadrature¶
Implements the rectangle method for cube-like domains.
Classes
| 
 | Implements the rectangle method for cube-like domains. | 
- class RectangleMethod(domain, **kwargs)[source]¶
- Bases: - object- Implements the rectangle method for cube-like domains. - This sampler manages a primary volumetric sampler. At the moment, boundary samplers are not supported. - Parameters:
- domain ( - Cuboid) – The volumetric domain to sample.
- **kwargs ( - Any) – Additional configuration options.
 
 - domain¶
- The volumetric domain to be sampled. 
 - sample(n)[source]¶
- Get equidistant points in the domain. - Parameters:
- n ( - int) – The number of points.
- Return type:
- Returns:
- The points.