Machine Learning, Data Science, Analytics, Data Analysis.
output file, %s\n", outfile); exit(1); } fprintf(fs, "%d %d\n", nc, n); for (int i=0; i<nc; i++) { for (int j=0; j<n; j++) fprintf(fs, "%16.8lg", mu[i][j]); fprintf(fs, "\n"); } fclose(fs); //clean up: delete [] mu[0]; delete [] mu; delete [] mu_p[0]; delete [] mu_p; delete [] ave; delete [] a[0];