Class uniform_grid_end_width (o2scl)

O2scl : Class List

template<class data_t = double>
class uniform_grid_end_width : public o2scl::uniform_grid<double>

Linear grid with fixed endpoint and fixed bin size.

Public Functions

inline uniform_grid_end_width(data_t start, data_t end, data_t width)

Create a grid with bins of size width starting at start and ending at end.

The value of n_bins must be larger than zero and start must not be the same as end.

inline uniform_grid_end_width()

Default constructor.