
function write_interpolation_formula() {
	var interpolation_formula = document.getElementById("interpolation_formula");

	if(points_for_interpolation.length == 0) {
		interpolation_formula.innerHTML = "No data &ndash; no interpoaltion.";
		return;
	}


	formula_html = "<table><tr>";   // A x = B
	formula_html += "<td class=\"open_matrix\"></td>";
	formula_html += "<td>";
	formula_html += "<table>"; // A
	for(var i = 0; i < points_for_interpolation.length; ++i) {
		formula_html += "<tr>";
		for(var j = 0; j