MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Where is the code for DistanceMatrix?

DistanceMatrix is defined in the HierarchicalClustering package and in the
HierarchicalClustering` context. But if I open  in the
HierarchicalClustering .m file D:\Program Files\Wolfram
Research\Mathematica\7.0\AddOns\Packages\HierarchicalClustering directory, I

If[ Not@ValueQ[DistanceMatrix::usage],
 DistanceMatrix::usage = "DistanceMatrix[list] computes the \
  symmetric matrix of distance or dissimilarity coefficients between \
the elements of list."]

If I do 


then I get  

DistanceMatrix [ list ] gives a matrix of distances or dissimilarities
between the elements of  list . >>

which is not what the usage message says

Then I try to find the code for the function DistanceMatrix, but I do not
find it in this file. Where is it? Is it hidden in the Kernel? 
If it is in the Kernel, why is it not available without loading

Ingolf Dahl
e-mail: ingolf.dahl at 

  • Prev by Date: Laplace transform of periodic function
  • Next by Date: London Computational Knowledge Summit
  • Previous by thread: Laplace transform of periodic function
  • Next by thread: Re: Where is the code for DistanceMatrix?