A = new double[m*m];
B = new double[m*m];
C = new double[m*m];
// 或者如下
//A = (double*)malloc(m*m*sizeof(double));
//B = (double*)malloc(m*m*sizeof(double));
//C = (double*)malloc(m*m*sizeof(double));
// TtlbMatrix.h
// Part of Ttlb Library, in namespace ttlb
// Copyright: Ttlb(Tang Tao), 2003
// Includes Matrix manipulations
#ifndef _TTLB_MATRIX_H
#define _TTLB_MATRIX_H
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <memory>
#include <cassert>
#include <typeinfo>
#include <cstring>
using std::ostream;
using std::cout;
using std::endl;
using std::swap;
using std::setw;
using std::setprecision;
// 不用声明 std::strcmp