Linked Questions

5
votes
3answers
143 views

Pure functions applied to a two dimensional list

Lets say I have a two dimensional list: list = {{a, b, c}, {aa, bb, cc}, {x, y, z}, {xx, yy, zz}}; and two pure functions: ...
1
vote
3answers
31 views

Grouping expressions by associative equivalence for a single operation

I would like to group expressions under associative equivalence, but only for a specific operation used in the expression (not for other operations). Say we have two binary operations A and B ...
1
vote
0answers
47 views

Why don't these function definitions work? [closed]

picked up Mathematica (transitioning from Python) a couple of days ago so forgive me for the newbie question. I'm trying to create a function which takes in a list of numbers and returns a list of the ...
0
votes
2answers
106 views
0
votes
0answers
31 views

How to use the Mathematica [duplicate]

I am a new learner for Mathematica. I know just some basics of Mathematica, I can plot simple graphs. But, sometimes I have to plot some complicated graphs. Then, I am unable to plot that particular ...
0
votes
0answers
45 views

Avoid Recursion in lag and difference operations

I have a panel data situation and I'm interested in taking lags and differences and using Mathematica to simplify the algebra of the result. Currently I'm working with a model like this: ...
0
votes
1answer
47 views

Syntax Error in NDSolve Code [closed]

I am trying to solve the motion equations for the Trojan Asteroids in Sun-Jupiter system. However, i am getting this error Syntax: '(' cannot be followed by 'x[t],y[t]' in this code ...
2
votes
1answer
140 views

How can I obtain the domain of a resulting Interpolating Function?

I have a problem with obtaining the domain of resulting Interpolating Function in my calculations. I want to solve the following differential equation ...
5
votes
2answers
234 views

Where to look up information about some symbols, such as “,”, “[” and “]” (not string)?

Searching { in F1 documentation, one at least gets an item for List. But the same thing is not happening for ...
5
votes
2answers
520 views

Code for an iteration method

As I am new to writing code for Mathematica, I would really appreciate if someone could provide me the code for the following iteration process. For $x_0\in[1,2]=C$, $$x_{n+1}=(1-\alpha_n)Sx_n+\...
13
votes
4answers
603 views

Neural network illustrations

(Since this post was met with a certain reluctance to be given answers, a version of it is also posted in Community.) Please share neural networks diagrams you have made in Mathematica / WL. Here is ...
2
votes
4answers
137 views

How do I use the values generated in a for-loop in my first iteration to my next iteration?

This one is somewhat hard to explain, but I'll try my best to. I'm trying to generate a list of numbers (containing only pi/10, 0, -pi/10). Numbers are randomly selected from these 3, where the ...
1
vote
2answers
43 views

Storing one of two outputs of For loop

I have a set of data: ...
3
votes
1answer
284 views

Defining pure function @ vs /@

Learning how to program I dont fully get the difference of /@ vs @ ...
1
vote
1answer
102 views

What's the best reference for learning how to best use both Mathematica and MATLAB? [duplicate]

I'm pretty good at using MATLAB for a lot of different things, and less familiar with Mathematica, but I just got accepted to a graduate school in mathematics where (from what I can tell so far) some ...

15 30 50 per page