Go to the documentation of this file.00001 #pragma once
00002
00003 #ifdef __cplusplus
00004
00005 #include "defines.h"
00006 namespace af {
00007
00147
00148 AFAPI array gfor(double n);
00150 AFAPI array gfor(double first, double last);
00152 AFAPI array gfor(double first, double inc, double last);
00153
00204 AFAPI array local(const array& variable);
00205
00206
00208
00209 #define gfor(var,...) for (var = af::gfor(__VA_ARGS__); af::gfor_toggle(); )
00210
00211 AFAPI bool gfor_toggle();
00212
00213 };
00214 #endif // __cplusplus