wolfram-mathematica Questions
8
Solved
Mathematica notebooks are, of course, plaintext files -- it seems reasonable to expect that they should play nice with a version-control system (git in my case, although I doubt the specific system...
Conatus asked 12/5, 2010 at 7:5
2
Solved
Is there a way to list all the user-defined variables & function in a Notebook ?
I would like this for the comfort it brings to a notebook overview as well as to spot potential multiple use of...
Gawen asked 29/5, 2011 at 4:53
5
Solved
Consider following simple, illustrating example
cf = Block[{a, x, degree = 3},
With[{expr = Product[x - a[[i]], {i, degree}]},
Compile[{{x, _Real, 0}, {a, _Real, 1}}, expr]
]
]
This is one o...
Kirimia asked 5/1, 2012 at 11:24
5
Solved
Up to now I have always Mathematica for solving analytical equations. Now however I need to solve a few hundred equations of this type (characteristic polynomials)
a_20*x^20+a_19*x^19+...+a_1*x+a_...
However asked 4/5, 2012 at 23:11
4
Solved
So lately I have been toying around with how Mathematica's pattern matching and term rewriting might be put to good use in compiler optimizations...trying to highly optimize short blocks of code th...
Grandson asked 17/11, 2010 at 8:56
4
Solved
I have a well-honed Control-S reflex (i.e. I obsessively save my work), but when Mathematica crashes with a file open the saved changes are not recovered when I restart Mathematica and open the fil...
Rugged asked 13/12, 2011 at 15:23
3
Solved
Can I set the default value for a function argument to be something
that's not constant? Example:
tod := Mod[AbsoluteTime[], 86400]
f[x_:tod] := x
In the above, 'tod' changes every time I ev...
Roche asked 11/1, 2011 at 19:10
4
Solved
I want to visualize some scientific data, which is, at the moment, only an animation of some spheres with different colours and sizes.
I already created a script within Mathematica which creates t...
Cholecalciferol asked 28/2, 2013 at 13:31
3
Solved
Mathematica has ten basic plot markers which are used cyclically when making a ListPlot with PlotMarkers->Automatic. There are filled and empty versions of circle, square, diamond, up triangle, ...
Inductor asked 17/5, 2011 at 22:19
4
Solved
Mathematica has the CheckAbort function which allows to catch and handle user-generated and programmatic Aborts. But it does not allow to catch interrupts generated by such functions as TimeConstra...
List asked 28/9, 2011 at 16:51
4
Solved
For example, I have a polynomial y=a_0+a_1 x + ..... + a_50 x^50. Since I know that the high-order terms are imposing negligible effects on the evaluation of y, I want to cut off them and have some...
Unconquerable asked 2/2, 2014 at 22:20
4
Solved
How can I make a Mathematica graphics that copies the behaviour of complex_plot in sage? i.e.
... takes a complex function of one
variable, and plots output of the
function over the specified xran...
Minimize asked 21/3, 2011 at 23:52
8
Solved
In Mathematica I have a list:
x = {1,2,3,3,4,5,5,6}
How will I make a list with the duplicates? Like:
{3,5}
I have been looking at Lists as Sets, if there is something like Except[] for lists...
Trapshooting asked 27/10, 2009 at 14:11
5
I'm trying to build an external tool with AOSP. My OS is Linux, Distribution ArchLinux (i3wm), but to compile AOSP I use Ubuntu in Docker (https://android.googlesource.com/platform/build/+/master/t...
Nettles asked 16/7, 2019 at 14:16
6
Solved
Sampling uniformly at random from an n-dimensional unit simplex is the fancy way to say that you want n random numbers such that
they are all non-negative,
they sum to one, and
every possible vec...
Hematite asked 10/6, 2010 at 0:3
6
Solved
I need an algorithm to convert the HCL color to RGB and backward RGB to HCL keeping in mind that these color spaces have different gamuts (I need to constrain the HCL colors to those that can be re...
Pentlandite asked 23/9, 2011 at 14:31
4
Solved
Sometimes when I'm writing experimental code in Mathematica, I'm wary as to whether I should evaluate it or not because it may end up bringing my system to it's knees.
As a contrived example if yo...
Artless asked 15/12, 2011 at 6:35
3
Solved
Is there any way of abstracting the vertex order that GraphPlot applies to VertexCoordinate Rules from the (FullForm or InputForm) of the graphic produced by GraphPlot? I do not want to use the Gra...
Spinnaker asked 22/11, 2010 at 13:36
1
Solved
Wolfram system modeler has a function called "equation browser", the youtube video here(at 20:58) gives an introduction about "equation browser", I am wondering if Dymola has the same function, it ...
Intitule asked 8/5, 2020 at 8:32
4
I have read x-data (from text files) into list1, and y-data similarly into list2:
list1 = { 0.0, 0.172, 0.266, ..}
list2 = {-5.605, -5.970, -6.505, ..}
How do I combine the two lists in order ...
Demmer asked 12/5, 2013 at 23:19
6
Solved
I have a bunch of images in a folder that are effectively just pieces of one image that was broken into overlapping parts. How can I quickly and programmatically recombine these images to create th...
Aphasia asked 24/6, 2012 at 3:21
6
Solved
I would like to plot a simple interval on the number line in Mathematica. How do I do this?
Enigmatic asked 23/7, 2011 at 1:22
3
Solved
Julia absolute newcomer here with a question for you.
I'm teaching myself some Julia by porting some of my Mathematica and Python code (mostly scientific computations in physics etc.), and seeing ...
Cryptozoite asked 7/2, 2020 at 22:8
3
Solved
Okay I know this has been asked before with a limited example for scaling [-1, 1] intervals [a, b] Different intervals for Gauss-Legendre quadrature in numpy BUT no one has posted how to generalize...
Transpacific asked 21/5, 2016 at 20:31
10
Solved
Given my previous questions about the the usage of AMPL.
Are there any other programming/scripting languages that are strictly meant for mathmatical processing?
For example: Matlab (it does dev...
Boccie asked 6/11, 2009 at 18:0
1 Next >
© 2022 - 2025 — McMap. All rights reserved.