Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
numer-60-2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Littichai Buddaken
numer-60-2
Commits
50f65e8d
Commit
50f65e8d
authored
Feb 22, 2018
by
Littichai Buddaken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit week05/ge.py
parent
d34fe302
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
assignment.cpython-36.pyc
week03/__pycache__/assignment.cpython-36.pyc
+0
-0
ge.py
week05/ge.py
+2
-2
No files found.
week03/__pycache__/assignment.cpython-36.pyc
deleted
100644 → 0
View file @
d34fe302
File deleted
week05/ge.py
View file @
50f65e8d
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
# นายฤทธิชัย บุดดาเคน
# นายฤทธิชัย บุดดาเคน
def
ge
(
A
,
b
):
def
ge
(
A
,
b
):
import
numpy
as
np
import
numpy
as
np
A
=
np
.
array
(
[[
4
,
-
2
,
1
],[
-
2
,
4
,
-
2
],[
1
,
-
2
,
4
]]
,
float
)
A
=
np
.
array
(
A
,
float
)
b
=
np
.
array
(
[
11
,
-
16
,
17
]
,
float
)
b
=
np
.
array
(
b
,
float
)
n
=
len
(
b
)
n
=
len
(
b
)
for
k
in
range
(
0
,
n
-
1
):
for
k
in
range
(
0
,
n
-
1
):
#print('k =',k)
#print('k =',k)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment