Qurak

Outer

متاحة

Generalized outer product - applies function to all pairs.

Outer[f, list1, list2, …]
Outer[f, list1, list2, …, n]
Outer[f, list1, list2, …, n1, n2, …]
Outer[Times, {1, 2}, {3, 4}] → {{3, 4}, {6, 8}}Outer[Plus, {1, 2}, {10, 20}] → {{11, 21}, {12, 22}}Outer[f, {1, 2}] → {f[1], f[2]}Outer[f, {1, 2}, h[3, 4]] → Outer::heads: Heads h and List at positions 3 and 2 are expected to be the same. Outer[f, {1, 2}, h[3, 4]]

المواضيع

ذات صلة

كل الدوال الـ6300 · استخدم هذا من عميل MCP