![]() |
|
#1
|
|||
|
|||
Latin squareCan anyone suggest a method to generate 'recursively' a Latin square of size n.
Eg of Laint square of size n=3 123 231 312 Please advise. |
|
#2
|
||||
|
||||
Re: Latin squareBrute force is the easy way - but I am sure there is a more elegant way.
It seems that you can just check your previous "rows" and "columns" until you find a number that would fit. __________________
The best damn Sports Blog period. |
|
#3
|
||||
|
||||
Re: Latin squareYou can go here for every possible Magic Square (Latin Square is a type of magic square) formula you'll ever need. Once you get a formula, you should be able to make a recursive function out of it easily.
__________________
"To argue with a person who has renounced the use of reason is like administering medicine to the dead." -Thomas Paine www.sullivan-county.com/deism.htm |
|
#4
|
|||
|
|||
Re: Latin squarehey. does anyone have a python program for latin squares? I've been trying to make one myself, but I'm making little progress and I'd like an example to see why it's not working. Can anyone help me out?
|
Recent GIDBlog
Toyota - 2008 September Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Magic Square | batman3280 | Java Forum | 8 | 29-Nov-2007 01:57 |
| Latin square | Knight81 | C++ Forum | 1 | 23-May-2006 23:14 |
| OT: nth power square root math question | earachefl | C++ Forum | 1 | 18-Feb-2006 07:45 |
| Convert the input into square yards | pjpav | Java Forum | 1 | 08-Oct-2005 07:43 |
| Need help with my programs, please help. | agentxx04 | C Programming Language | 1 | 23-Sep-2004 18:02 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The