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