public void exporteLaTeX(File f) throws IOException{
		OutputStreamWriter destination = new OutputStreamWriter(new FileOutputStream(f));
		destination.write("\\begin{table} \\tiny \\begin{tabular}[h]{c");
		for (int i=0;i<M.length;i++){
			destination.write("|c");
		}
		destination.write("}\n ");
		destination.write("& ");
		for (int i=0;i<M.length;i++){
			if(i != M.length -1) {
				destination.write("$m_"+Integer.toString(i+1) + " (A_j)$ & ");
			} else {
				destination.write("$m_"+Integer.toString(i+1) + " (A_j)$ \\\\\n \\hline");
			}
		}
		for (int j=0;j<M[0].length;j++){
			if (j == 0) {
				destination.write("$\\emptyset$ & ");
			}
			else {
				destination.write("$A_{"+Integer.toString(j)+"}$ & ");
			}
			for (int i=0;i<M.length;i++){
				destination.write(Double.toString(M[i][j]));
				if(i != M.length -1){
					destination.write(" & ");
				}
				else {
					destination.write(" \\\\\n");
				}
			}
		}
		destination.write("\\end{tabular} \\caption{Exemple pour $c ="+Integer.toString(nombreDeClasses)+"$ et $n = "+Integer.toString(n)+"$} \\end{table}");
		destination.close();
	}