Курсовая работа: Калькулятор для матриць

double TRACE(double **X,int n)

{

int i,j;

double tt=0;

for(i=0;i<n;i++)

for(j=0;j<n;j++)

{

if(i==j)

tt+=X[i][j];

}

return tt;

}

////////////////////////////////////////////////////

/// <summary>

/// Required designer variable.

/// </summary>

System::ComponentModel::Container * components;

/// <summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

/// </summary>

void InitializeComponent(void)

{

this->label1 = new System::Windows::Forms::Label();

this->label2 = new System::Windows::Forms::Label();

this->label3 = new System::Windows::Forms::Label();

this->label4 = new System::Windows::Forms::Label();

this->label5 = new System::Windows::Forms::Label();

this->label6 = new System::Windows::Forms::Label();

К-во Просмотров: 788
Бесплатно скачать Курсовая работа: Калькулятор для матриць