Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python matrix condensed to square

>>> square_to_condensed(1, 2, len(points))
3
>>> dist_condensed[3]
4.4721359549995796
>>> dist[1,2]
4.4721359549995796
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #matrix #condensed #square
ADD COMMENT
Topic
Name
8+3 =