Qurak

NearestTo

Disponibile

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}

Argomenti

Correlate

Tutte le 6300 funzioni · Usa questo da un client MCP