Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 89613

Questions about the use of built-in Mathematica functions, including pure functions.

0 votes
0 answers
66 views

Why is variable in function definition not local in Mathematica?

I was surprised to find out the names of arguments of a function definition are not "temporary name/formal name" a=1;b={1,2};c="abc"; x; f[lzy_]:=lzy+1 Names["Global`*"] (* answer is {"a", "args", "b …
Aerterliusi's user avatar
0 votes
0 answers
56 views

how do you choose a receiver of expression between just-a-symbol and function?

for a formula eg y=a*x+b in book, we can use y=a*x+b and use y to quote the expression a*x+b for later using. but we also can define a function y[x_]:=a*x+b and use y[x] eg y[1] to quote the expressio …
Aerterliusi's user avatar
1 vote
1 answer
139 views

how to understand f[{1,2,3,4}]? [closed]

As far as my understanding of function in Mathematica, its core is pattern match, but why f[{a,b,c}] (when f is defined) can work correctly? in my understanding, f[{1,2,3,4}] correspond to f[{x_,y_,z_ …
Aerterliusi's user avatar