WolframLang: Apply
Apply (List as Arguments to Function)
Apply[f, list]
-
🔸 SHORT SYNTAX:
f @@ list
Pass list as arguments to function
Apply[ f, {3,4,5} ] (* f[3, 4, 5] *) (* short syntax *) f @@ {3,4,5} (* f[3, 4, 5] *)
Apply[f, list]
🔸 SHORT SYNTAX: f @@ list
Pass list as arguments to function
Apply[ f, {3,4,5} ] (* f[3, 4, 5] *) (* short syntax *) f @@ {3,4,5} (* f[3, 4, 5] *)