#include <cstdio>
#include <math.h>
static const int M = 30;
static const int N = 2 * M;
int main(int argc, char *argv[])
{
try {
af::Window myWindow(800, 800,
"3D Surface example: ArrayFire");
std::cout << x.
dims() << y.
dims() << std::endl;
static float t=0;
while(!myWindow.
close()) {
t+=0.07;
}
fprintf(stderr,
"%s\n", e.
what());
throw;
}
return 0;
}