Skip to main content

Questions tagged [map]

Questions about applying functions or operators to expressions, especially constructs that take advantage of Map (/@) functionality.

2 votes
5 answers
213 views

I would like to generate a diagram in Mathematica showing how the mapping \begin{equation} w = z^2 \end{equation} transforms a rectangular grid in the complex $z$-plane into a curved grid in the $w$-...
seeker's user avatar
  • 867
3 votes
3 answers
286 views

I can get the minimum and maximum of a list by using #[list] &/@ {Min, Max} I now want to use RankedMin and ...
Mitchell Kaplan's user avatar
7 votes
7 answers
368 views

I have myList, a list of triples: myList = { {a1, a2, a3}, {b1, b2, b3}, {c1, c2, c3} }; I wish to apply a function ...
Andrew's user avatar
  • 10.6k
7 votes
3 answers
579 views

I have a list of functions and a list of arguments: funcs = {f,g,h} args = {a,b,c} I'd like to map one function from funcs to ...
thecommexokid's user avatar
0 votes
0 answers
130 views

I have an expression e[x,y,z] and like to see all results when picking all independent variables from a fixed set of constants ...
Hauke Reddmann's user avatar
2 votes
2 answers
248 views

As in code1, I was able to find the limit of the expr when m1 approaches Infinity with help of Limit function. In code2, as expected, the same limit shows by dividing both the numerator and ...
Soon's user avatar
  • 1,484
11 votes
6 answers
496 views

I want to run a function using Map or ParallelMap over a large list of inputs, but I would like the evaluation to stop as soon ...
internet's user avatar
  • 1,417
1 vote
3 answers
229 views

I'm trying to apply two lists random numbers to a list of lists of functions, retrieve a Boolean result for each application, and test for AND coincidence between results. I have a working method, ...
BohemianTapestry's user avatar
3 votes
3 answers
303 views

I'm having a problem mapping a squaring function to specific rows of a matrix. Below are the positions I want to conjugate in the matrix: ...
am567's user avatar
  • 997
1 vote
4 answers
163 views

I would like to iterate over a nested list of the following format: q={{1,{r1,t1,p1},{}},{2,{r2,t2,p2},{}}} where r,t and p are numbers (spherical coordinates). In ...
JJJanezic's user avatar
  • 341
8 votes
4 answers
480 views

Suppose I have a list of lists -- specifically, a rectangular array/matrix called myList: ...
Andrew's user avatar
  • 10.6k
0 votes
2 answers
191 views

I have a Do loop which has a Map inside of it. I would like to replace the loop with a Map creating a nested Map structure. The initial code that does the job is: ...
ngc5139's user avatar
  • 441
0 votes
1 answer
126 views

It may be a basic question, but if I use my pure function like the 4th line below, I got a syntax error. Could I know what I did wrong? ...
Soon's user avatar
  • 1,484
4 votes
3 answers
217 views

I have an all zero matrix zeromatrix= ConstantArray[0,{4,4}] I have a list of non-zero positions and a list of non-zero values ...
am567's user avatar
  • 997
4 votes
3 answers
480 views

I want to apply a function: f[x_]:=x^2 I want to map it to certain values in a matrix, say ...
am567's user avatar
  • 997

15 30 50 per page
1
2 3 4 5
29