# Questions tagged [arguments]

The tag has no usage guidance.

23 questions
Filter by
Sorted by
Tagged with
4answers
106 views

### How do I pass a “list of lists” as the argument to a function of the form F[x,y]? [duplicate]

I have a function F[x,y] and a list of the form: {{a1,b1},{a2,b2},{a3,b3},{an,bn}} Basically, I want to pass the list ...
1answer
51 views

### Run a shell script and pass arguments from inside mathematica

Is it possible to run a shell script AND pass it arguments from Mathematica? I have searched thoroughly and been unable to find a way to do this. I want to avoid having to write a .wls for this ...
0answers
12 views

### Operating functions with two arguments? [duplicate]

Let us first consider function with single argument. f1[x_] := x^2 The value of function at any value of $x$, for example, $x=3$ can be evaluated with any of the ...
1answer
50 views

### How to plot a scalar function with a vector argument? [closed]

I'm trying to take a simple dot product of two vectors and plotting it as a 3D density plot. However, I don't know how I should define the limits of the plot if the argument of the function is a ...
2answers
726 views

### Define function that behaves almost identically to Mathematica function

Often I like to define my own functions that are almost exactly the same as Mathematica defined functions, apart from a few tweaks. See this question for example. I want to define them properly so ...
3answers
102 views

### Pass arguments to a function within a function within a function

I want to perform an integration of f[w,t,kx,ky] over t for several different functions f. ...
3answers
75 views

### How to make functional rules not depend on an argument?

Consider the following: rule = f[x] -> Sin[x] if I now do, say: f[y] /. rule this does not work, because the rule wants ...
0answers
30 views

### How to automatically see user defined function arguments list?

Having typed a user-created function's name I would like to be able to see either the concise syntax dropdown available for inbuilt functions (shown below left) or alternatively to be able to see the ...
0answers
50 views

0answers
46 views

### Using non-standard arguments in defining functions

I am trying to define a function that has a non-standard argument (i.e, UnderBar[a]_) instead of standard arguments like English or Latin Letters: Here is my example: ...
3answers
385 views

### Pass function or expression as argument to be evaluated

I'm trying to create a function using Nest, which will use Newton's method to find the root of the passed function (or even the passed expression). I've got this, which won't work obviously. ...