Qurak

NearestTo

Beschikbaar

Operator form of Nearest that finds the elements nearest to a value

NearestTo[x]
NearestTo[x, n]
NearestTo[x, {n, r}]
NearestTo[Red, 3][l] → Nearest[l, RGBColor[1, 0, 0], 3]NearestTo[20][{1, 2, 4, 8, 16, 32}] → {16}NearestTo[20, 3][{1, 2, 4, 8, 16, 32}] → {16, 8, 32}

Onderwerpen

Gerelateerd

Alle 6300 functies · Gebruik dit vanuit een MCP-client