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