Skip to main content

Questions tagged [language-design]

for questions about the design of the Mathematica language itself

2 votes
0 answers
193 views

The thing I want to do seems very fundamental when you're in the mathematical forest of constants, I'm surprised it hasn't been asked yet. I want to define a constant that is not directly definable by ...
Ur3672's user avatar
  • 129
5 votes
1 answer
205 views

Let's say I want to take this plot: r = 3; DensityPlot[x^2 + y^2, {x, -r, r}, {y, -r, r}] and make the x and y limits be returned from some function (maybe because ...
dalamajama's user avatar
2 votes
0 answers
98 views

Consider the following: 80 //. a_?EvenQ -> a/2 a = 3 80 //. a_?EvenQ -> a/2 which outputs: 5 3 3/2 I think I understand ...
Jonah's user avatar
  • 131
1 vote
0 answers
244 views

It seems to me Mathematica does not have an inbuilt matrix multiplication operator. The dot operator fails as such, as is even noted under "Possible Issues" in its documentation it ...
cbartondock's user avatar
4 votes
0 answers
111 views

MakeBoxes has the attribute HoldAllComplete. For a normal function, it would imply that Upvalues should not be taken into account when the expression is evaluated: <...
Juan Mauricio Matera's user avatar
7 votes
2 answers
443 views

With Midpoint[{{4, -2}, {2, 5}}], the vectors must be in a list. But with EuclideanDistance[{-2, 2}, {3, -6}], they don't. These ...
cybervigilante's user avatar
7 votes
1 answer
290 views

Reading both OperatorApplied & CurryApplied function documentations seems to indicate that they are essentially the same ...
p._phidot_'s user avatar
2 votes
1 answer
423 views

It's been years since I last programmed in Wolfram & for the first few days, I felt like I've been feeling around the dark; now that I've mostly forgotten how to code it. Again, I could be ...
Tempus Nomen's user avatar
4 votes
2 answers
446 views

I expected it to be an error (i.e., produce an error message), but Map[f,num] is num. Why is this the correct behavior? If it is ...
Alan's user avatar
  • 14.1k
1 vote
2 answers
182 views

Let's define the following function: f[t_, x_] = t^2 + t*x*(1 - x) such that $x \in (0,1)$ and `$t \in (0,0.02)$ The problem is when I want to define the following ...
walid fssm's user avatar
4 votes
1 answer
417 views

There's more than 20 functions having to do with minimization ...
Adam's user avatar
  • 4,293
2 votes
0 answers
152 views

I had an odd issue where my plot wasn't drawn correctly when I called it via Plot[Join[fs,gs], (*..*)]. However, these two versions worked: ...
Niklas Vest's user avatar
9 votes
0 answers
95 views

ArgumentsOptions was new in version 12.2. I looked at the application on that page, and it makes code very difficult to understand. What if anything does ArgumentsOptions do for us that we couldn't do ...
Ted Ersek's user avatar
  • 7,174
50 votes
6 answers
5k views

Introduction Hello, this is a more general question than is typically asked here. However, I chose to post it here because this seems to be the most active community for Wolfram Language / Mathematica ...
Alec Graves's user avatar
  • 1,078
2 votes
0 answers
171 views

For names = Names["System`*"]; executing the following returns 200 hits. ...
Syed's user avatar
  • 63k

15 30 50 per page
1
2 3 4 5
10