Qurak

DistanceFunction

Beschikbaar

Option naming the metric a nearest-neighbour or clustering function measures with

DistanceFunction
Nearest[{{5, 9}, {2, 4}, {3, 8}, {0, 8}, {5, 2}}, {5, 5}, DistanceFunction -> ChessboardDistance] → {{2, 4}, {3, 8}, {5, 2}}

Onderwerpen

Gerelateerd

Alle 6300 functies · Gebruik dit vanuit een MCP-client