📜  python 矩阵压缩为正方形 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:00.251000             🧑  作者: Mango

代码示例3
>>> square_to_condensed(1, 2, len(points))
3
>>> dist_condensed[3]
4.4721359549995796
>>> dist[1,2]
4.4721359549995796