Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes
qucs::history Class Reference

#include <history.h>

Public Member Functions

 history ()
 history (nr_double_t)
 history (const history &)
 ~history ()
void append (nr_double_t)
void truncate (int)
void truncate (nr_double_t)
void setAge (nr_double_t a)
nr_double_t getAge (void)
int getSize (void)
nr_double_t duration (void)
nr_double_t last (void)
nr_double_t first (void)
int leftidx (void)
int unused (void)
void drop (void)
void setTvector (tvector< nr_double_t > *v)
tvector< nr_double_t > * getTvector (void)
void self (void)
nr_double_t interpol (nr_double_t, int, bool)
nr_double_t nearest (nr_double_t, bool interpolate=true)
int seek (nr_double_t, int, int, nr_double_t &, int)
nr_double_t getTfromidx (int)
nr_double_t getValfromidx (int)

Private Attributes

bool sign
nr_double_t age
tvector< nr_double_t > * values
tvector< nr_double_t > * t

Detailed Description

Definition at line 30 of file history.h.

Constructor & Destructor Documentation

qucs::history::history ( )

Definition at line 43 of file history.cpp.

qucs::history::history ( nr_double_t  )
qucs::history::history ( const history h)

Definition at line 50 of file history.cpp.

qucs::history::~history ( )

Definition at line 57 of file history.cpp.

Member Function Documentation

void qucs::history::append ( nr_double_t  val)

Definition at line 62 of file history.cpp.

void qucs::history::drop ( void  )

Definition at line 124 of file history.cpp.

nr_double_t qucs::history::duration ( void  )

Definition at line 118 of file history.cpp.

nr_double_t qucs::history::first ( void  )

Definition at line 108 of file history.cpp.

nr_double_t qucs::history::getAge ( void  )

Definition at line 43 of file history.h.

int qucs::history::getSize ( void  )

Definition at line 230 of file history.cpp.

nr_double_t qucs::history::getTfromidx ( int  idx)

Definition at line 206 of file history.cpp.

tvector<nr_double_t>* qucs::history::getTvector ( void  )

Definition at line 53 of file history.h.

nr_double_t qucs::history::getValfromidx ( int  idx)

Definition at line 218 of file history.cpp.

nr_double_t qucs::history::interpol ( nr_double_t  tval,
int  idx,
bool  left 

Definition at line 138 of file history.cpp.

nr_double_t qucs::history::last ( void  )

Definition at line 113 of file history.cpp.

int qucs::history::leftidx ( void  )

Definition at line 93 of file history.cpp.

nr_double_t qucs::history::nearest ( nr_double_t  tval,
bool  interpolate = true 

Definition at line 160 of file history.cpp.

int qucs::history::seek ( nr_double_t  tval,
int  l,
int  r,
nr_double_t &  diff,
int  idx 

Definition at line 179 of file history.cpp.

void qucs::history::self ( void  )

Definition at line 54 of file history.h.

void qucs::history::setAge ( nr_double_t  a)

Definition at line 42 of file history.h.

void qucs::history::setTvector ( tvector< nr_double_t > *  v)

Definition at line 52 of file history.h.

void qucs::history::truncate ( int  n)

Definition at line 69 of file history.cpp.

void qucs::history::truncate ( nr_double_t  tcut)

Definition at line 77 of file history.cpp.

int qucs::history::unused ( void  )

Definition at line 101 of file history.cpp.

Field Documentation

nr_double_t qucs::history::age

Definition at line 64 of file history.h.

bool qucs::history::sign

Definition at line 63 of file history.h.

tvector<nr_double_t>* qucs::history::t

Definition at line 66 of file history.h.

tvector<nr_double_t>* qucs::history::values

Definition at line 65 of file history.h.

The documentation for this class was generated from the following files: