Expression Templates Library (ETL)
Classes | Namespaces
generator_expr.hpp File Reference

Contains generator expressions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  etl::generator_expr< Generator >
 A generator expression. More...
 
struct  etl::etl_traits< etl::generator_expr< Generator > >
 Specialization generator_expr. More...
 

Namespaces

 etl
 Root namespace for the ETL library.
 

Detailed Description

Contains generator expressions.

A generator expression is an expression that yields any number of values, for instance random values. The indexes are not taken into account, but rather the sequence in which the functions are called. This is mostly useful for initializing matrices / vectors.