110,537
社区成员
发帖
与我相关
我的任务
分享
public class Matrix
{
private double[,] arrMatrix;
public Matrix(int x, int y)
{
arrMatrix =new double[x,y];
}
public void SetValue(int x,int y,double value)
{
this.arrMatrix[x, y] = value;
}
public double GetValue(int x, int y)
{
return this.arrMatrix[x, y];
}
}
double[,] arr = new double[3,5]; //二维数组初始化