Newest Questions
97,721 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
6
votes
2
answers
219
views
How to specify Showcase styling
I generated a mesh region and noticed in the notebook image pull-down menu the option for
"Showcase styling." How can I request this styling (gold sphere vertices, silver tube edges) for ...
2
votes
1
answer
82
views
What is the meaning of the output when the modulus is a polynomial?
The documentation of Modulus suggests that the value of this option should be an explicit number (or Automatic). However,
...
0
votes
0
answers
58
views
ComplexExpand on BesselJ
I know ComplexExpand assumes its variables are real by default. However, when applied to BesselJ function, it is different. For ...
user avatar
Qiang Lu
0
votes
2
answers
114
views
Collect with respect to different expressions in x
I have some expression like this
...
3
votes
2
answers
248
views
How to obtain this book solution for first order ode. Initial condition at infinity
This is problem 150, page 54, Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983.
...
2
votes
1
answer
166
views
Having defined some text with color how can I extract that color information?
Making the definition
text = Style["Text", Darker[Green]];
I need to extract the color from the variable text.
Among other things I've tried
...
12
votes
4
answers
533
views
Recursive anonymous functions with |-> notation
We can define anonymous functions like this:
#^2+#+1 &
or like this
x |-> x^2+x+1
When we want to define a recursive ...
1
vote
0
answers
65
views
Number with leading digit underlined [duplicate]
I'd like to print a multi-digit number with the leading digit underlined. I see that I can get the leading digit, convert it to a string and use Style to underline ...
2
votes
1
answer
145
views
Factor out specific term
I want to transform expr by factoring out only the E^(-t γ) term. I could implement it like in my code below, but is there a ...
2
votes
0
answers
51
views
How can I reduce RAM usage when using ParallelMap with large data?
I’m using ParallelMap on a very large dataset (millions of elements), but it quickly consumes all available RAM.
For example:
...
0
votes
1
answer
111
views
Is it possible to find eigenvectors of matrix $f(1)$ in the given code analytically in terms of the variable $y$?
I have this differential matrix equation f'[x] == {{2 x, y + 5 I}, {-3 I + 2 y, Sin[3 x] - 5 y}}.f[x] for f[x] with the initial ...
1
vote
1
answer
131
views
Mathematica running linear algebra unusually slow on the cluster
I’ve been running some Mathematica code on the HPC node and noticed that it’s running much slower than on my laptop — even for small calculations like multiplying two matrices. For example, something ...
0
votes
1
answer
59
views
Using ListContourPlot, how to renumber the tick marks independent of the plot?
I am using ListContourPlot to plot trajectory data against launch and arrival dates in Julian days. My axes go from 1 to 29, but I need to label the x-axis from 491 to 519, and the y-axis from 731-...
2
votes
1
answer
127
views
Do we need to start the kernel again after quitting it?
Do we need to start the kernel (Evaluation → Start Kernel → Local) again after selecting
Evaluation → Quit Kernel → Local from ...
4
votes
1
answer
124
views
OptionValue for complicated cases
The pair OptionsPattern/OptionValue gives a perfect mechanism for embedded Options into a custom function in Mathematica. But sometimes it is not sufficient. For example, when Options have complex ...