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

Recursive add generator that generates lines. More...

#include <gen.h>

Inheritance diagram for RAdd< T >:
Val< T > RAddWrap< T > Sin< T >

List of all members.

Public Member Functions

operator[] (uint32_t i) const
 Array get; generates next element.
 RAdd (const T &add=T(1), const T &val=T(0))
const T & operator() () const
 Generate next value.
const T & recede () const
 Go back one step.
void line (T begin, T end, T length)
 Set to generate line between points (0, begin) and (length, end)
void line (T end, T length)
 Set to generate line between points (0, val) and (length, end)
void constant (T v)
 Set to generate constant value.
T & operator[] (uint32_t i)
 Array set; sets current value.

Public Attributes

add
 Addition amount.
val
 Value.

Detailed Description

template<class T = gam::real>
struct gam::gen::RAdd< T >

Recursive add generator that generates lines.


Constructor & Destructor Documentation

RAdd ( const T &  add = T(1),
const T &  val = T(0) 
)
Parameters:
[in]addaddition amount
[in]valcurrent value

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