Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Seq< N, T, G > Class Template Reference

Fixed-sized array with a sequence generator. More...

#include <gen.h>

Inheritance diagram for Seq< N, T, G >:
Multi< N, T >

List of all members.

Public Member Functions

operator() ()
 Generate next array element.
G & tap ()
 Get reference to index generator.
T & operator[] (uint32_t i)
 Set element at index with no bounds checking.
const T & operator[] (uint32_t i) const
 Get element at index with no bounds checking.
void zero ()
 Zeros all elements.

Static Public Member Functions

static uint32_t size ()
 Returns size of array.

Detailed Description

template<uint32_t N, class T = gam::real, class G = gen::RAdd1<uint32_t>>
class gam::gen::Seq< N, T, G >

Fixed-sized array with a sequence generator.


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