Closed Tambup closed 2 years ago
Yes it is only for symmetric matrix because a distance is necessarily symmetric. It is just the fact that the distance from x to y is equal to the distance from y to x. The symmetry is used in the optimization algorithm hence it does not make sense to use asymmetric matrix in my opinion.
Ok, perfect.
I have a piece of code like this:
where d_matx is the distance matrix. My question is: if d_matx is a non symmetric matrix, does the result makes sense? Or it works only with symmetric matrix?
Thanks.