seemps.analysis.mesh.Interval#

class seemps.analysis.mesh.Interval(start, stop, size)[source]#

Interval Abstract Base Class.

This class represents implicitly a univariate discretization along size points within two endpoints start and stop. The elements of an Interval can be indexed as in i[0], i[1],… up to i[size-1] and they can be converted to other sequences, as in list(i), or iterated over.

Parameters:
startfloat

The initial point of the interval.

stopfloat

The ending point of the interval.

sizeint

The discretization size, i.e. number of points of the interval within start and stop.