Class ix_grid (o2scl)

O2scl : Class List

class ix_grid : public o2scl::index_spec

For a tensor_grid object, interpolate a grid.

Public Functions

inline ix_grid(size_t ix, double start, double finish, size_t bins, bool log = false)

Create an ix_grid object from the specified inputs.

inline ix_grid(index_spec &is)

Create an ix_grid object from a index_spec object.

Public Members

double &begin

The first grid point.

double &end

The last grid point.

size_t &n_bins

The number of intervals between grid points.

size_t &log_flag

True for a logarithmic grid.