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

Cosine generator based on recursive formula x0 = c x1 - x2. More...

#include <gen.h>

Inheritance diagram for RCos< T >:
Val< T >

List of all members.

Public Member Functions

operator[] (uint32_t i) const
 Array get; generates next element.
 RCos (const T &frq=T(0), const T &amp=T(1))
 Constructor.
operator() () const
 Generate next value.
RCosset (const T &frq, const T &amp=T(1))
 Set parameters from unit freq, phase, and amplitude.
T & operator[] (uint32_t i)
 Array set; sets current value.

Public Attributes

val2
 2-previous value
c1
 1-previous coefficient
val
 Value.

Detailed Description

template<class T = double>
struct gam::gen::RCos< T >

Cosine generator based on recursive formula x0 = c x1 - x2.


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