/* Library for check isomorphic graph * * Usage: * iso_check (number_of_vertex, graph) */ #include #include #include #include "nrutil.h" int equat (const int num_mol_agl, float *c, const int rang, float *sol) { int i, j, k, imax; float max, res; for (i=0; i max) { max = fabs (c[j*num_mol_agl+i]); imax = j; } for (j=0; j<=num_mol_agl; j++) { res = c[i*num_mol_agl+j]; c[i*num_mol_agl+j] = c[imax*num_mol_agl+j]; c[imax*num_mol_agl+j] = res; } for (j=0; j dmax) dmax = d[i]; for (i=0; i