Форум программистов, компьютерный форум, киберфорум
C++/CLI Windows Forms
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.61/41: Рейтинг темы: голосов - 41, средняя оценка - 4.61
2 / 2 / 1
Регистрация: 09.12.2008
Сообщений: 14

РСЛУ метод Гаусса-жордана (Windows forms)

15.11.2009, 20:00. Показов 7659. Ответов 5
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Решение систем линейных уравнений методом гаусса-жордана.

Выбирается первая колонка слева, в которой есть хоть одно отличное от нуля значение.
Если самое верхнее число в этой колонке есть нуль, то меняется вся первая строка матрицы с другой строкой матрицы, где в этой колонке нет нуля.
Все элементы первой строки делятся на верхний элемент выбранной колонки.
Из оставшихся строк вычитается первая строка, умноженная на первый элемент соответствующей строки, с целью получить первым элементом каждой строки (кроме первой) нуль.
Далее проводим такую же процедуру с матрицей, получающейся из исходной матрицы после вычёркивания первой строки и первого столбца.
После повторения этой процедуры n − 1 раз получаем верхнюю треугольную матрицу
Вычитаем из предпоследней строки последнюю строку, умноженную на соответствующий коэффициент, с тем, чтобы в предпоследней строке осталась только 1 на главной диагонали.
Повторяем предыдущий шаг для последующих строк. В итоге получаем единичную матрицу и решение на месте свободного вектора (с ним необходимо проводить все те же преобразования).
Чтобы получить обратную матрицу, нужно применить все операции в том же порядке к единичной матрице.

Это взято с википедии, там же есть примеры как решать по математической части.



Всё это усложняет Windows Forms. Непонятно, как при помощи numericUpDown1 изменять размерность квадратной матрицы А и вектора b и ищи ответа, вектора X. имееться пример экзешника программы, которая в итоге должна получиться, и свой пример разработки

C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
#pragma once
#include "about.h"
#include "teoria.h"
 
namespace Яучусь {
 
    using namespace System;
    using namespace System::ComponentModel;
    using namespace System::Collections;
    using namespace System::Windows::Forms;
    using namespace System::Data;
    using namespace System::Drawing;
 
    /// <summary>
    /// Сводка для Form1
    ///
    /// Внимание! При изменении имени этого класса необходимо также изменить
    ///          свойство имени файла ресурсов ("Resource File Name") для средства компиляции управляемого ресурса,
    ///          связанного со всеми файлами с расширением .resx, от которых зависит данный класс. В противном случае,
    ///          конструкторы не смогут правильно работать с локализованными
    ///          ресурсами, сопоставленными данной форме.
    /// </summary>
    public ref class Form1 : public System::Windows::Forms::Form
    {
    public:
        Form1(void)
        {
            InitializeComponent();
            //
            //TODO: добавьте код конструктора
            //
        }
 
    protected:
        /// <summary>
        /// Освободить все используемые ресурсы.
        /// </summary>
        ~Form1()
        {
            if (components)
            {
                delete components;
            }
        }
    private: System::Windows::Forms::MenuStrip^  menuStrip1;
    protected: 
    private: System::Windows::Forms::ToolStripMenuItem^  менюToolStripMenuItem;
    private: System::Windows::Forms::ToolStripMenuItem^  справкаToolStripMenuItem;
    private: System::Windows::Forms::ToolStripMenuItem^  оПрограммеToolStripMenuItem;
    private: System::Windows::Forms::ToolStripMenuItem^  оПрограммеToolStripMenuItem1;
    private: System::Windows::Forms::ToolStripMenuItem^  выходToolStripMenuItem;
    private: System::Windows::Forms::Button^  button1;
    private: System::Windows::Forms::Button^  button2;
    private: System::Windows::Forms::Button^  button3;
    private: System::Windows::Forms::Button^  button4;
    private: System::Windows::Forms::NumericUpDown^  numericUpDown1;
    private: System::Windows::Forms::Label^  label1;
    private: System::Windows::Forms::DataGridView^  dataGridView1;
 
 
 
    private: System::Windows::Forms::Label^  label2;
    private: System::Windows::Forms::Label^  label3;
 
 
    private: System::Windows::Forms::DataGridView^  dataGridView3;
    private: System::Windows::Forms::Label^  label4;
 
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column5;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column1;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column2;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column3;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column4;
    private: System::Windows::Forms::DataGridView^  dataGridView2;
 
 
 
 
 
 
 
 
    protected: 
 
 
 
 
 
 
    private: System::ComponentModel::IContainer^  components;
 
    private:
        /// <summary>
        /// Требуется переменная конструктора.
        /// </summary>
 
 
#pragma region Windows Form Designer generated code
        /// <summary>
        /// Обязательный метод для поддержки конструктора - не изменяйте
        /// содержимое данного метода при помощи редактора кода.
        /// </summary>
        void InitializeComponent(void)
        {
            this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
            this->менюToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->выходToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->справкаToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->оПрограммеToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->оПрограммеToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
            this->button1 = (gcnew System::Windows::Forms::Button());
            this->button2 = (gcnew System::Windows::Forms::Button());
            this->button3 = (gcnew System::Windows::Forms::Button());
            this->button4 = (gcnew System::Windows::Forms::Button());
            this->numericUpDown1 = (gcnew System::Windows::Forms::NumericUpDown());
            this->label1 = (gcnew System::Windows::Forms::Label());
            this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
            this->Column1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->Column2 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->Column3 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->label2 = (gcnew System::Windows::Forms::Label());
            this->label3 = (gcnew System::Windows::Forms::Label());
            this->dataGridView3 = (gcnew System::Windows::Forms::DataGridView());
            this->Column5 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->label4 = (gcnew System::Windows::Forms::Label());
            this->Column4 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->dataGridView2 = (gcnew System::Windows::Forms::DataGridView());
            this->menuStrip1->SuspendLayout();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->BeginInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView3))->BeginInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView2))->BeginInit();
            this->SuspendLayout();
            // 
            // menuStrip1
            // 
            this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->менюToolStripMenuItem, 
                this->справкаToolStripMenuItem});
            this->menuStrip1->Location = System::Drawing::Point(0, 0);
            this->menuStrip1->Name = L"menuStrip1";
            this->menuStrip1->Size = System::Drawing::Size(681, 24);
            this->menuStrip1->TabIndex = 0;
            this->menuStrip1->Text = L"menuStrip1";
            // 
            // менюToolStripMenuItem
            // 
            this->менюToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->выходToolStripMenuItem});
            this->менюToolStripMenuItem->Name = L"менюToolStripMenuItem";
            this->менюToolStripMenuItem->Size = System::Drawing::Size(47, 20);
            this->менюToolStripMenuItem->Text = L"Меню";
            // 
            // выходToolStripMenuItem
            // 
            this->выходToolStripMenuItem->Name = L"выходToolStripMenuItem";
            this->выходToolStripMenuItem->ShortcutKeys = static_cast<System::Windows::Forms::Keys>((System::Windows::Forms::Keys::Alt | System::Windows::Forms::Keys::F4));
            this->выходToolStripMenuItem->Size = System::Drawing::Size(153, 22);
            this->выходToolStripMenuItem->Text = L"Выход";
            this->выходToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::выходToolStripMenuItem_Click);
            // 
            // справкаToolStripMenuItem
            // 
            this->справкаToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->оПрограммеToolStripMenuItem, 
                this->оПрограммеToolStripMenuItem1});
            this->справкаToolStripMenuItem->Name = L"справкаToolStripMenuItem";
            this->справкаToolStripMenuItem->Size = System::Drawing::Size(62, 20);
            this->справкаToolStripMenuItem->Text = L"Справка";
            // 
            // оПрограммеToolStripMenuItem
            // 
            this->оПрограммеToolStripMenuItem->Name = L"оПрограммеToolStripMenuItem";
            this->оПрограммеToolStripMenuItem->Size = System::Drawing::Size(192, 22);
            this->оПрограммеToolStripMenuItem->Text = L"Теоритическая часть";
            this->оПрограммеToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::оПрограммеToolStripMenuItem_Click);
            // 
            // оПрограммеToolStripMenuItem1
            // 
            this->оПрограммеToolStripMenuItem1->Name = L"оПрограммеToolStripMenuItem1";
            this->оПрограммеToolStripMenuItem1->Size = System::Drawing::Size(192, 22);
            this->оПрограммеToolStripMenuItem1->Text = L"О программе";
            this->оПрограммеToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::оПрограммеToolStripMenuItem1_Click);
            // 
            // button1
            // 
            this->button1->Location = System::Drawing::Point(0, 27);
            this->button1->Name = L"button1";
            this->button1->Size = System::Drawing::Size(172, 23);
            this->button1->TabIndex = 1;
            this->button1->Text = L"Ввод из файла матрицы А";
            this->button1->UseVisualStyleBackColor = true;
            // 
            // button2
            // 
            this->button2->Location = System::Drawing::Point(0, 56);
            this->button2->Name = L"button2";
            this->button2->Size = System::Drawing::Size(172, 23);
            this->button2->TabIndex = 2;
            this->button2->Text = L"Ввод из файла вектора b";
            this->button2->UseVisualStyleBackColor = true;
            // 
            // button3
            // 
            this->button3->Location = System::Drawing::Point(0, 85);
            this->button3->Name = L"button3";
            this->button3->Size = System::Drawing::Size(90, 23);
            this->button3->TabIndex = 3;
            this->button3->Text = L"Запись в файл";
            this->button3->UseVisualStyleBackColor = true;
            // 
            // button4
            // 
            this->button4->Location = System::Drawing::Point(97, 85);
            this->button4->Name = L"button4";
            this->button4->Size = System::Drawing::Size(75, 23);
            this->button4->TabIndex = 4;
            this->button4->Text = L"Решить";
            this->button4->UseVisualStyleBackColor = true;
            // 
            // numericUpDown1
            // 
            this->numericUpDown1->Location = System::Drawing::Point(308, 30);
            this->numericUpDown1->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {10, 0, 0, 0});
            this->numericUpDown1->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) {2, 0, 0, 0});
            this->numericUpDown1->Name = L"numericUpDown1";
            this->numericUpDown1->Size = System::Drawing::Size(39, 20);
            this->numericUpDown1->TabIndex = 5;
            this->numericUpDown1->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) {3, 0, 0, 0});
            // 
            // label1
            // 
            this->label1->AutoSize = true;
            this->label1->Location = System::Drawing::Point(179, 35);
            this->label1->Name = L"label1";
            this->label1->Size = System::Drawing::Size(123, 13);
            this->label1->TabIndex = 6;
            this->label1->Text = L"Размерность матрицы";
            // 
            // dataGridView1
            // 
            this->dataGridView1->AllowDrop = true;
            this->dataGridView1->BackgroundColor = System::Drawing::SystemColors::ControlLightLight;
            this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
            this->dataGridView1->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(3) {this->Column1, 
                this->Column2, this->Column3});
            this->dataGridView1->Location = System::Drawing::Point(42, 114);
            this->dataGridView1->Name = L"dataGridView1";
            this->dataGridView1->Size = System::Drawing::Size(222, 132);
            this->dataGridView1->TabIndex = 7;
            // 
            // Column1
            // 
            this->Column1->HeaderText = L"1";
            this->Column1->Name = L"Column1";
            this->Column1->Resizable = System::Windows::Forms::DataGridViewTriState::True;
            this->Column1->Width = 50;
            // 
            // Column2
            // 
            this->Column2->HeaderText = L"2";
            this->Column2->Name = L"Column2";
            this->Column2->Resizable = System::Windows::Forms::DataGridViewTriState::True;
            this->Column2->Width = 50;
            // 
            // Column3
            // 
            this->Column3->HeaderText = L"3";
            this->Column3->Name = L"Column3";
            this->Column3->Width = 50;
            // 
            // label2
            // 
            this->label2->AutoSize = true;
            this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
                static_cast<System::Byte>(204)));
            this->label2->Location = System::Drawing::Point(0, 168);
            this->label2->Name = L"label2";
            this->label2->Size = System::Drawing::Size(36, 24);
            this->label2->TabIndex = 8;
            this->label2->Text = L"A=";
            // 
            // label3
            // 
            this->label3->AutoSize = true;
            this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
                static_cast<System::Byte>(204)));
            this->label3->Location = System::Drawing::Point(270, 168);
            this->label3->Name = L"label3";
            this->label3->Size = System::Drawing::Size(32, 24);
            this->label3->TabIndex = 9;
            this->label3->Text = L"b=";
            // 
            // dataGridView3
            // 
            this->dataGridView3->AllowUserToOrderColumns = true;
            this->dataGridView3->BackgroundColor = System::Drawing::SystemColors::ActiveCaptionText;
            this->dataGridView3->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
            this->dataGridView3->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(1) {this->Column5});
            this->dataGridView3->Location = System::Drawing::Point(454, 114);
            this->dataGridView3->Name = L"dataGridView3";
            this->dataGridView3->Size = System::Drawing::Size(97, 132);
            this->dataGridView3->TabIndex = 11;
            // 
            // Column5
            // 
            this->Column5->HeaderText = L"";
            this->Column5->Name = L"Column5";
            this->Column5->Width = 50;
            // 
            // label4
            // 
            this->label4->AutoSize = true;
            this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
                static_cast<System::Byte>(204)));
            this->label4->Location = System::Drawing::Point(411, 168);
            this->label4->Name = L"label4";
            this->label4->Size = System::Drawing::Size(37, 24);
            this->label4->TabIndex = 12;
            this->label4->Text = L"X=";
            // 
            // Column4
            // 
            this->Column4->HeaderText = L"";
            this->Column4->Name = L"Column4";
            this->Column4->Width = 50;
            // 
            // dataGridView2
            // 
            this->dataGridView2->BackgroundColor = System::Drawing::SystemColors::ActiveCaptionText;
            this->dataGridView2->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
            this->dataGridView2->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(1) {this->Column4});
            this->dataGridView2->Location = System::Drawing::Point(308, 114);
            this->dataGridView2->Name = L"dataGridView2";
            this->dataGridView2->Size = System::Drawing::Size(97, 132);
            this->dataGridView2->TabIndex = 10;
            // 
            // Form1
            // 
            this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::None;
            this->ClientSize = System::Drawing::Size(681, 512);
            this->Controls->Add(this->label4);
            this->Controls->Add(this->dataGridView3);
            this->Controls->Add(this->dataGridView2);
            this->Controls->Add(this->label3);
            this->Controls->Add(this->label2);
            this->Controls->Add(this->dataGridView1);
            this->Controls->Add(this->label1);
            this->Controls->Add(this->numericUpDown1);
            this->Controls->Add(this->button4);
            this->Controls->Add(this->button3);
            this->Controls->Add(this->button2);
            this->Controls->Add(this->button1);
            this->Controls->Add(this->menuStrip1);
            this->MainMenuStrip = this->menuStrip1;
            this->Name = L"Form1";
            this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
            this->Text = L"РСЛУ";
            this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
            this->menuStrip1->ResumeLayout(false);
            this->menuStrip1->PerformLayout();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->EndInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView3))->EndInit();
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView2))->EndInit();
            this->ResumeLayout(false);
            this->PerformLayout();
 
        }
#pragma endregion
    private: System::Void оПрограммеToolStripMenuItem1_Click(System::Object^  sender, System::EventArgs^  e) 
             {
                 about^ab=gcnew about();
                 ab->ShowDialog();
             }
private: System::Void оПрограммеToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) 
         {
             teoria^te=gcnew teoria();
             te->ShowDialog();
         }
private: System::Void выходToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) 
         {
             this->Close();
         }
private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
         }
};
}
Примеры разработок прилогаються.
Буду блогадарен за любую помощь.
Вложения
Тип файла: rar метод Гауса Жордана.rar (4.54 Мб, 372 просмотров)
0
IT_Exp
Эксперт
34794 / 4073 / 2104
Регистрация: 17.06.2006
Сообщений: 32,602
Блог
15.11.2009, 20:00
Ответы с готовыми решениями:

Метод Жордана - Гаусса
Здравствуйте!!! Можете объяснить, надо было единичную матрицу создать, но не понял условие if для чего оно? придерживался такому алгоритму:...

Метод Жордана-Гаусса
Как решить,не знаю.....просто методом Гаусса не много понял,а как этот делать не знаю!!! помогите пожалуйста!!!!!!!! Вот матрица:...

Метод Гаусса-Жордана
Метод Гаусса-Жордана найти решение системы уравнений: \left\{\begin{matrix}3X_1+X_2+2X_3+3X_4-X_5=2\\ X_1+X_2+2X_3-X_4+2X_5=1\\...

5
 Аватар для Тамила
753 / 546 / 211
Регистрация: 12.11.2009
Сообщений: 1,100
15.11.2009, 20:02
могу предложить метод Гаусса решения СЛАУ, только на дельфи...
0
2 / 2 / 1
Регистрация: 09.12.2008
Сообщений: 14
15.11.2009, 20:36  [ТС]
нет спасибо, на дельфи нашел, да и на С++ тоже примеры есть, только вот c Windows Forms проблема, не могу сделать размерность матрицы
0
Эксперт JavaЭксперт С++
 Аватар для M128K145
8384 / 3617 / 419
Регистрация: 03.07.2009
Сообщений: 10,709
15.11.2009, 21:04
Jiton, раз начал писать на С++ & .NET, так может перепишешь полность на C#?
Получение значения numericUpDown
C++
1
int n = numericUpDown1->Value;
0
vivom
06.04.2010, 15:26
А у тебя есть курсовая метод Гаусса на C#??? Помоги!!! Оч-оч надо!!!
Swiat
26.04.2013, 10:33
Jiton, Привет! Слушай мне к тебе вопрос, ты доделал свою программу Windows Forms C++ РСЛУ метод Гаусса-жордана?
Нужна помощь, по скольку у меня такая же тематика работы
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
BasicMan
Эксперт
29316 / 5623 / 2384
Регистрация: 17.02.2009
Сообщений: 30,364
Блог
26.04.2013, 10:33
Помогаю со студенческими работами здесь

Метод гаусса жордана в с++
Нужно написать код читающий Метод гаусса жордана! Пример...

Метод Гаусса — Жордана
сделать программу которая будет решать системы уравнений методом Гаусса — Жордана

Код метод Гаусса для СЛАУ адаптировать под технологию Windows Forms
Всем привет! Такая проблема: не могу додуматься как сделать метод гауса для СЛАУ в форме, есть готовый код, кто знает подскажите что и как...

Обратная матрица. Метод Гаусса—Жордана
Здравствуйте. Пишу программку вычисления матриц и вот эта функция ( см. код ) компилируется и работает без ошибок, но считает не...

Метод Гаусса-Жордана и неточность вычислений
Собсна, реализовал этот метод и столкнулся с неожиданной для меня ситуацией: При выполнении, например, прямого хода, может получаться вот...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
6
Ответ Создать тему
Новые блоги и статьи
SDL3 для Desktop (MinGW): Создаём пустое окно с нуля для 2D-графики на SDL3, Си и C++
8Observer8 10.03.2026
Содержание блога Финальные проекты на Си и на C++: hello-sdl3-c. zip hello-sdl3-cpp. zip Результат:
Установка CMake и MinGW 13.1 для сборки С и C++ приложений из консоли и из Qt Creator в EXE
8Observer8 10.03.2026
Содержание блога MinGW - это коллекция инструментов для сборки приложений в EXE. CMake - это система сборки приложений. Здесь описаны базовые шаги для старта программирования с помощью CMake и. . .
Как дизайн сайта влияет на конверсию: 7 решений, которые реально повышают заявки
Neotwalker 08.03.2026
Многие до сих пор воспринимают дизайн сайта как “красивую оболочку”. На практике всё иначе: дизайн напрямую влияет на то, оставит человек заявку или уйдёт через несколько секунд. Даже если у вас. . .
Модульная разработка через nuget packages
DevAlt 07.03.2026
Сложившийся в . Net-среде способ разработки чаще всего предполагает монорепозиторий в котором находятся все исходники. При создании нового решения, мы просто добавляем нужные проекты и имеем. . .
Модульный подход на примере F#
DevAlt 06.03.2026
В блоге дяди Боба наткнулся на такое определение: В этой книге («Подход, основанный на вариантах использования») Ивар утверждает, что архитектура программного обеспечения — это структуры,. . .
Управление камерой с помощью скрипта OrbitControls.js на Three.js: Вращение, зум и панорамирование
8Observer8 05.03.2026
Содержание блога Финальная демка в браузере работает на Desktop и мобильных браузерах. Итоговый код: orbit-controls-threejs-js. zip. Сканируйте QR-код на мобильном. Вращайте камеру одним пальцем,. . .
SDL3 для Web (WebAssembly): Синхронизация спрайтов SDL3 и тел Box2D
8Observer8 04.03.2026
Содержание блога Финальная демка в браузере. Итоговый код: finish-sync-physics-sprites-sdl3-c. zip На первой гифке отладочные линии отключены, а на второй включены:. . .
SDL3 для Web (WebAssembly): Идентификация объектов на Box2D v3 - использование userData и событий коллизий
8Observer8 02.03.2026
Содержание блога Финальная демка в браузере. Итоговый код: finish-collision-events-sdl3-c. zip Сканируйте QR-код на мобильном и вы увидите, что появится джойстик для управления главным героем. . . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru