Qurak

NearestTo

可用

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}

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用