Clarification

0 views
Skip to first unread message

Kyle E. deFreitas

unread,
Nov 26, 2010, 10:42:51 AM11/26/10
to design-and-analy...@googlegroups.com
I didn't get an email from Dr Kalicharan

But I spoke with him today to confirm that magic squares is the next assignment.

That said, has anyone found a way to access the (upper) right to (lower) left diagonal

regards



--
Kyle deFreitas
St Vincent and the Grenadines
Contact #: 1-784-454-4037
or
1-868-722-5346

Vincent Ramdhanie

unread,
Nov 26, 2010, 10:47:49 AM11/26/10
to design-and-analysis-of-algorithms
In an odd ordered matrix of size n I would use:

      M[i][n-i + 1] should give a cell that is on the upper right to lower left diagonal.

Vincent

Kyle E. deFreitas

unread,
Nov 26, 2010, 10:49:29 AM11/26/10
to design-and-analy...@googlegroups.com
oh

that was so simple I'm ashamed I couldn't figure it out

thanks
Reply all
Reply to author
Forward
0 new messages