Re: [Tutor] distance between cities matrix

2013-02-21 Thread Danny Yoo
> Consider the (20x20) array of numbers here(I wrote all of the numbers in > my program). Lets say this represents a matrix A of distances (in > kilometers) between cities. Note that A is symmetric A(i,j) = A(j,i) and all > its diagonal elements are zero. Suppose Vladimir from city i and Petra from

Re: [Tutor] distance between cities matrix

2013-02-21 Thread Dave Angel
On 02/21/2013 07:16 AM, Mara Kelly wrote: Hi everyone, Here is the question I was given...Consider the (20x20) array of numbers here(I wrote all of the numbers in my program). Lets say this represents a matrix A of distances (in kilometers) between cities. Note that A is symmetric A(i,j) = A(j,

Re: [Tutor] distance between cities matrix

2013-02-21 Thread Alan Gauld
On 21/02/13 12:16, Mara Kelly wrote: Consider the (20x20) array of numbers here matrix A of distances (in kilometers) between cities. Note that A is symmetric A(i,j) = A(j,i) and all its diagonal elements are zero. Suppose Vladimir from city i and Petra from city j want to meet up in some t

[Tutor] distance between cities matrix

2013-02-21 Thread Mara Kelly
Hi everyone, Here is the question I was given...Consider the (20x20) array of numbers here(I wrote all of the numbers in my program). Lets say this represents a matrix A of distances (in kilometers) between cities. Note that A is symmetric A(i,j) = A(j,i) and all its diagonal elements are zero.