dreye.d_equally_spaced#
- dreye.d_equally_spaced(n, d, one_inclusive=True)[source]#
Creates equally spaced samples in d dimensions.
- Parameters:
- nint
Number of samples per dimension.
- dint
Number of dimensions.
- one_inclusivebool, optional
If True, the samples will include the end point 1. If False, the samples will not include the end point 1. Default is True.
- Returns:
- samplesarray-like (n^d, d)
The equally spaced samples in d dimensions.