Class ix_gridw (o2scl)

O2scl : Class List

class ix_gridw : public o2scl::index_spec

For a tensor_grid object, interpolate a grid with a fixed width.

Public Functions

inline ix_gridw(size_t ix, double start, double finish, double wid, bool log = false)

Create an ix_gridw object from the specified inputs.

inline ix_gridw(index_spec &is)

Create an ix_gridw object from a index_spec object.

Public Members

double &begin

The first grid point.

double &end

The last grid point.

double &width

The size of the interval between grid points.

size_t &log_flag

True for a logarithmic grid.