#include "stdafx.h"
#include <math.h>
// 解线性方程组的直接法
void
PS(
double
A[],
int
n,
char
*name);
void
GaussXiaoQu()
{
printf
(
"高斯直接消元法:\n"
);
double
a[3][3] = {
{2,4,-2},{1,-1,5},{4,1,-2}};
double
b[3] = {6,0,2};
double
x[3];
int
n = 3;