================================== Top new questions this week: ==================================
[PacletInfo.m documentation project] http://mathematica.stackexchange.com/questions/132064/pacletinfo-m-documentation-project
Packages can be made into paclets, which provides easy distribution and versioning. The paclet metadata is in the PacletInfo.m file. The PacletInfo settings also determine how the paclet can extend ...
- asked by Szabolcs (25 votes), answered by Szabolcs (22 votes)
—————————-
[Replace custom functions, leave built in functions untouched?] http://mathematica.stackexchange.com/questions/131938/replace-custom-functions-leave-built-in-functions-untouched
I have three expressions a[x, y], b[x, y], c[x, y] that act as placeholders for functions of two variables x,y. Consider the following substitution: a[x, y]/(b[x, y] c[x, y]) /. f_[x1_, y1_] :> ...
- asked by Kagaratsch (16 votes), answered by Mr.Wizard (18 votes)
—————————-
[Why CompilationTarget -> C is slower than directly writing with C?] http://mathematica.stackexchange.com/questions/132130/why-compilationtarget-c-is-slower-than-directly-writing-with-c
Probably a hard question, but I think it’s better to cry out loud.
I’ve hesitated for a while about whether I should post this in StackOverflow with a c tag or not, but finally decide to keep it ...
- asked by xzczd (15 votes), answered by Albert Retey (11 votes)
—————————-
[Detecting kernel initialization] http://mathematica.stackexchange.com/questions/132212/detecting-kernel-initialization
Certain operations do not work during kernel initialization. Code from Kernel/init.m, the Autoload directory, or packages set to autoload may evaluate at initialization time.
Is there a way to ...
- asked by Szabolcs (12 votes), answered by Szabolcs (10 votes)
—————————-
[How can I change the default file type for "Save Selection As"] http://mathematica.stackexchange.com/questions/132224/how-can-i-change-the-default-file-type-for-save-selection-as
When using the menu item File - Save Selection As, the default file type is PDF. Is there any way to change the default to something else, for example PNG?
- asked by Simon Woods (12 votes), answered by Mike Honeychurch (13 votes)
—————————-
[How to obtain the ViewPoint] http://mathematica.stackexchange.com/questions/132228/how-to-obtain-the-viewpoint
Normally, I used ViewPoint in the code in Plot3D. Most of the time, I will use mouse to rotate the 3D object to get a better view point. The problem is, when I find the best view point for me, is ...
- asked by Qi Zhong (12 votes), answered by Jack LaVigne (14 votes)
—————————-
[Wonky Solutions to Schrödinger Equation with Box Barrier] http://mathematica.stackexchange.com/questions/131854/wonky-solutions-to-schr%C3%B6dinger-equation-with-box-barrier
I’m trying to solve the Schrödinger equation using NDSolve in a case where there is a potential box barrier. The initial condition is a cosine wave, and for boundary conditions I require that the ...
- asked by Buddhapus (8 votes), answered by xzczd (4 votes)
================================== Greatest hits from previous weeks: ==================================
[Can Mathematica do symbolic linear algebra?] http://mathematica.stackexchange.com/questions/3242/can-mathematica-do-symbolic-linear-algebra
For instance, is there some way I can say "let A and B be arbitrary real \(m\times n\) and \(k\times m\) matrices, Simplify[Transpose[Transpose[A].Transpose[B]]]" and Mathematica would simplify it to B.A? ...
- asked by nikie (35 votes), answered by helen (18 votes)
—————————-
[How to tell Mathematica that certain variables are real/imaginary, integer-valued, etc] http://mathematica.stackexchange.com/questions/66273/how-to-tell-mathematica-that-certain-variables-are-real-imaginary-integer-value
I’m trying to expedite some quantum mechanical calculations by running them through Mathematica. Expectation values and stuff like that. When I say, for example,
u[x_] := Sqrt[2/L] * Sin[Pi * n * x / ...
- asked by Matthew Brunetti (9 votes), answered by SquareOne (7 votes)
================================== Can you answer these? ==================================
[Is it possible to change the text cursor’s shape and color?] http://mathematica.stackexchange.com/questions/132322/is-it-possible-to-change-the-text-cursors-shape-and-color
I find it visually pleasant to reverse the background and foreground colors when working on a notebook; as shown below, in fact, it’s almost a requirement after working long hours on the same ...
- asked by Jerome Ibanes (1 vote)
—————————-
[FindClusters doesn’t accept custom DistanceFunction] http://mathematica.stackexchange.com/questions/132287/findclusters-doesnt-accept-custom-distancefunction
I have a problem with using custom DistanceFunction in FindClusters. To make the issue as simple as possible, consider clustering odd & even numbers in the following way:
...
- asked by ahrvoje (6 votes)
—————————-
[FrameLabel is Broken for ArrayPlot and MatrixPlot] http://mathematica.stackexchange.com/questions/132008/framelabel-is-broken-for-arrayplot-and-matrixplot
In version 11.0.1 the documentation for FrameLabel states its format is
left, right, bottom, top
However, it appears that this is not the case for MatrixPlot.
...
- asked by Edmund (5 votes)