1-04-09から1日間の記事一覧

AllRGB Annealing code

#include <stdio.h> #include <stdlib.h> #include <strings.h> #include <math.h> // Bits per plane. Must be even and <=8, namely either 2, 4, 6, 8 #define CBIT 4 // temperature range #define BMAX 10.0 #define BMIN (1e-2) // steps #define TDIV 1000 #define MAXS 1000 // Penalty for</math.h></strings.h></stdlib.h></stdio.h>…