Class uniform_grid_end (o2scl)

O2scl : Class List

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

Linear grid with fixed number of bins and fixed endpoint.

Public Functions

inline uniform_grid_end(data_t start, data_t end, size_t n_bins)

Create a grid with n_bins bins starting at start and end.

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

inline uniform_grid_end()

Default constructor.