- or download this
#include <stdio.h>
#include <stdlib.h>
...
free(m);
}
- or download this
// mandelbrot.h
void mandel(double xmin, double xmax, int xstep, double ymin, double y
+max, int ystep, int iters);
- or download this
use warnings;
use Mandelbrot;
Mandelbrot::mandel(-2.0, 1.0, 256, -1.0, 1.0, 256, 100000);
- or download this
LIBS => ['-lgomp'], # e.g., '-lm'
CCFLAGS => '-fopenmp',
- or download this
export OMP_NUM_THREADS=2