Jump to content
Main menu
Main menu
move to sidebar
hide
Social
Discord
Facebook
Twitter
Explore
Languages
Tasks
Random page
Rosetta Code
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Random Latin squares: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
Refresh
General
Special pages
Printable version
Get shortened URL
← Older edit
Newer edit →
Random Latin squares
(view source)
Revision as of 18:03, 16 July 2019
165 bytes removed
,
4 years ago
→{{header|F_Sharp|F#}}
Revision as of 18:01, 16 July 2019
(
view source
)
Nigel Galloway
(
talk
|
contribs
)
(
→{{header|F_Sharp|F#}}
)
← Older edit
Revision as of 18:03, 16 July 2019
(
view source
)
Nigel Galloway
(
talk
|
contribs
)
(
→{{header|F_Sharp|F#}}
)
Newer edit →
Line 33:
{{out}}
<pre>
let β=lN2p [|0;N 4;N 3;N 2|] [|0..4|] in Seq.item (N 55) (normLS 5) |> List.map(lN2p [|N 5;N 4;N 3;N 2|]) |> List.permute(fun n->β.[n]) |> List.iter(printfn "%A")
[|5; 3; 1; 4; 2|]
[|1; 4; 5; 2; 3|]
Nigel Galloway
2,172
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Toggle limited content width