DATRW++ library: seismic data I/O with multiple formats

◆ sample()

double datrw::tsoft::Datasequence::sample ( const unsigned int &  i) const
inline

return sample

Definition at line 281 of file tsoftdata.h.

References DATRW_assert, and Msamples.

282  {
283  DATRW_assert(((i<Msamples.size()) && (i>=0)),
284  "illegal sample index");
285  return Msamples[i];
286  }
#define DATRW_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:92