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
Pattadon Jaisin
numer-60-2
Commits
6b77d3d9
Commit
6b77d3d9
authored
Feb 22, 2018
by
Pattadon Jaisin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add readme
parent
5e0aa93f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
5 deletions
+38
-5
.DS_Store
.DS_Store
+0
-0
workspace.xml
.idea/workspace.xml
+15
-5
ge.py
week05/ge.py
+21
-0
.DS_Store
week06/.DS_Store
+0
-0
README.md
week06/README.md
+2
-0
No files found.
.DS_Store
View file @
6b77d3d9
No preview for this file type
.idea/workspace.xml
View file @
6b77d3d9
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"57f230c4-5ecd-455e-b4bf-fa14937be6bc"
name=
"Default"
comment=
""
/>
<list
default=
"true"
id=
"57f230c4-5ecd-455e-b4bf-fa14937be6bc"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/week05/ge.py"
afterPath=
"$PROJECT_DIR$/week05/ge.py"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
...
@@ -14,8 +16,8 @@
...
@@ -14,8 +16,8 @@
<file
leaf-file-name=
"assignment.py"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"assignment.py"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
43
5"
>
<state
relative-caret-position=
"
34
5"
>
<caret
line=
"2
9"
column=
"22"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22
"
/>
<caret
line=
"2
3"
column=
"29"
lean-forward=
"false"
selection-start-line=
"23"
selection-start-column=
"29"
selection-end-line=
"23"
selection-end-column=
"29
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
@@ -143,8 +145,16 @@
...
@@ -143,8 +145,16 @@
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"435"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"29"
column=
"22"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"22"
/>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/week04/assignment.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"345"
>
<caret
line=
"23"
column=
"29"
lean-forward=
"false"
selection-start-line=
"23"
selection-start-column=
"29"
selection-end-line=
"23"
selection-end-column=
"29"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
...
week05/ge.py
View file @
6b77d3d9
#5811403741
def
ge
(
A
,
b
):
pass
def
solve
(
A
,
b
):
import
numpy.linalg
numpy
.
linalg
.
solve
(
A
,
b
)
for
x
in
result
:
print
(
'Sx_1={}s'
.
format
(
x
))
m
,
n
,
_
=
map
(
int
,
input
()
.
split
(
'x'
))
print
(
n
,
_
)
A
=
[]
for
row
in
range
(
m
):
A
.
append
(
list
(
map
(
int
,
input
()
.
split
(
','
))))
print
(
n
,
_
)
b
=
list
(
map
(
int
,
input
()
.
spilt
(
','
)))
solve
(
A
,
b
)
\ No newline at end of file
week06/.DS_Store
0 → 100644
View file @
6b77d3d9
File added
week06/README.md
0 → 100644
View file @
6b77d3d9
เขียนฟังก์ชั่นเพื่อหา upper-triangular martix (u) จากสมการ Ax = b โดย Ux=c เป็นสมการที่ลดรูปแล้ว
\ No newline at end of file
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