|
| RVar () |
| An empty reduction variable.
|
|
| RVar (const std::string &n) |
| Construct an RVar with the given name.
|
|
| RVar (Internal::ReductionDomain domain, int index) |
| Construct a reduction variable with the given name and bounds.
|
|
Expr | min () const |
| The minimum value that this variable will take on.
|
|
Expr | extent () const |
| The number that this variable will take on.
|
|
Internal::ReductionDomain | domain () const |
| The reduction domain this is associated with.
|
|
const std::string & | name () const |
| The name of this reduction variable.
|
|
| operator Expr () const |
| Reduction variables can be used as expressions.
|
|
A reduction variable represents a single dimension of a reduction domain (RDom).
Don't construct them directly, instead construct an RDom, and use RDom::operator[] to get at the variables. For single-dimensional reduction domains, you can just cast a single-dimensional RDom to an RVar.
Definition at line 29 of file RDom.h.