I have a suggestion related to my previous post concerning pairwise distances. I have just learned the Matlab provides a function, pdist, that computes these in a single instruction: pdist(M). it would be convenient if the same functionwere implemented in Scilab. JP Grivet