Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Delay2< T > Class Template Reference

Two element delay. More...

#include <Delay.h>

Inheritance diagram for Delay2< T >:
DelayShift< 2, T >

List of all members.

Public Member Functions

 Delay2 (const T &v=T())
 Delay2 (const T &v2, const T &v1)
T & operator[] (uint32_t i)
 Set nth delayed element.
const T & operator[] (uint32_t i) const
 Get nth delayed element.
T * elems ()
 Get elements.
operator() (const T &v) const
 Input element and return Nth delayed element.

Static Public Member Functions

static uint32_t size ()
 Get size of delay.

Detailed Description

template<class T = gam::real>
class gam::Delay2< T >

Two element delay.


Constructor & Destructor Documentation

Delay2 ( const T &  v = T())
Parameters:
[in]vInitial value of elements
Delay2 ( const T &  v2,
const T &  v1 
)
Parameters:
[in]v2Initial value of 2nd delayed element
[in]v1Initial value of 1st delayed element

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