-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (52 loc) · 1.98 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Iterative methods to solve SOLE</title>
<link rel="stylesheet" type="text/css" href="index.css">
<script src="index.js"></script>
</head>
<body>
<div class="horizontalLayoutContainer">
<div class="horizontalLayoutItem">Solves the system of linear algebraic equations: [A][X] = [B]</div>
<br/>
<div class="horizontalLayoutItem">[A |B] = </div>
<div class="horizontalLayoutItem">
<table id="AnB">
<tr>
<td contenteditable='true'>1</td><td contenteditable='true'>0.2</td><td contenteditable='true'>0.3</td><td contenteditable='true'>4</td>
</tr>
<tr>
<td contenteditable='true'>0.5</td><td contenteditable='true'>6</td><td contenteditable='true'>0.7</td><td contenteditable='true'>8</td>
</tr>
<tr>
<td contenteditable='true'>0.9</td><td contenteditable='true'>1.0</td><td contenteditable='true'>11</td><td contenteditable='true'>12</td>
</tr>
</table>
</div>
</div>
<br/>
<input type="button" value="Gauss elimination" onclick="onButtonClick('gauss');"/>
<input type="button" value="Jacobi iteration" onclick="onButtonClick('jacobi');"/>
<input type="button" value="Reset" onclick="onResetButtonClick();"/>
<br/>
<div class="horizontalLayoutContainer">
<div class="horizontalLayoutItem">X = </div>
<div class="horizontalLayoutItem">
<table id="X">
<tr>
<td contenteditable='true'>0.001</td>
</tr>
<tr>
<td contenteditable='true'>0.001</td>
</tr>
<tr>
<td contenteditable='true'>0.001</td>
</tr>
</table>
</div>
</div>
<br/>
<label id="diff"></label>
</body>
</html>