Thanks for your attention, I am a biginner of Mathematica. I am confused by the commandcommands @@
and @@@@
. From the Helpdocumentation, I learnt that @@ has@@
is the function of applyApply
. However, if I input Cos@@5Cos@@5
the output is 5, while if I input Cos@5Cos@5
, I gotget Cos[5]Cos[5]
. By this it seems that @@
rather than @@@@
has the function of apply"apply".
However, whenWhen I tried the function PlusPlus
, Plus@@{1,2}Plus@@{1,2}
gave me 33 as wanteddesired, while Plus@{1,2}Plus@{1,2}
just gave me {1,2}{1,2}
. Could anyone help me with the difference (or relation) between @@
and @@@@
?