julia> 母數雙 = [(2,1) (3,3) (1,2)
(1,3) (2,2) (3,1)
(3,2) (1,1) (2,3)];
julia> 增減雙 = [(3,0) (6,6) (0,3)
(0,6) (3,3) (6,0)
(6,3) (0,0) (3,6)];
julia> 方陣 = [[母數 .+ 增減 for 母數 in 母數雙] for 增減 in 增減雙];
julia> using Millboard
julia> table(方陣)
| | 1 | 2 | 3 |
|---|----------------------|----------------------|----------------------|
| | (5, 1) (6, 3) (4, 2) | (8, 7) (9, 9) (7, 8) | (2, 4) (3, 6) (1, 5) |
| | (4, 3) (5, 2) (6, 1) | (7, 9) (8, 8) (9, 7) | (1, 6) (2, 5) (3, 4) |
| 1 | (6, 2) (4, 1) (5, 3) | (9, 8) (7, 7) (8, 9) | (3, 5) (1, 4) (2, 6) |
| | (2, 7) (3, 9) (1, 8) | (5, 4) (6, 6) (4, 5) | (8, 1) (9, 3) (7, 2) |
| | (1, 9) (2, 8) (3, 7) | (4, 6) (5, 5) (6, 4) | (7, 3) (8, 2) (9, 1) |
| 2 | (3, 8) (1, 7) (2, 9) | (6, 5) (4, 4) (5, 6) | (9, 2) (7, 1) (8, 3) |
| | (8, 4) (9, 6) (7, 5) | (2, 1) (3, 3) (1, 2) | (5, 7) (6, 9) (4, 8) |
| | (7, 6) (8, 5) (9, 4) | (1, 3) (2, 2) (3, 1) | (4, 9) (5, 8) (6, 7) |
| 3 | (9, 5) (7, 4) (8, 6) | (3, 2) (1, 1) (2, 3) | (6, 8) (4, 7) (5, 9) |
-
Notifications
You must be signed in to change notification settings - Fork 0
wookay/Gusuryak.jl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
🐢 九數略 by 崔錫鼎
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published