Questions tagged [guidelines]
General guidelines and best practices for Mathematica usage and programming.
74 questions
0
votes
0
answers
85
views
How should I handle required package dependencies in a package?
I'm writing a package A.
However, package A depends on package B (Mathematica), which the ...
6
votes
1
answer
299
views
Introductory material on machine learning?
Does Mathematica have a handbook or other introductory material on machine learning? Or are there any books on analyzing machine learning with Mathematica?
9
votes
2
answers
2k
views
How to Learn as much about Mathematica as possible efficiently with the Documentation Center and books?
I have been using Mathematica for almost a year now and I am still learning about functions that make me kick myself for not knowing earlier. For example, I wish I had known about the functions ...
4
votes
1
answer
143
views
Optimizing some code for WolframCloud deployment/publishing
I am working on creating a demonstration and came across an instance where my code works fine on my machine locally but breaks down when deployed to the cloud (so that it can be publicly accessed). I ...
0
votes
1
answer
744
views
Is there a beginners tutorial for Wolfram Engine users?
I was taking a look at WolframEngine. The fact that it is freely available, virtually making Wolfram tools and language accessible to anybody is very much attractive!
Nevertheless, the first impact ...
7
votes
1
answer
380
views
Understanding Dynamic, Refresh, and TrackedSymbols
I thought I had a pretty good handle on Dynamic, but some recent examples have made me suspect that I may have some misconceptions, and I am not finding good ...
37
votes
2
answers
1k
views
Custom atomic expressions - modern tutorial
Atomic but sophisticated expressions are all around for a long time: Graph SparseArray.
More are coming with each new release, ...
15
votes
2
answers
505
views
Hold attributes vs performance
Is there a reason to use Hold* attributes for functional code (e.g. no intention to mutate input)? I'd expect performance gains as in pass by value vs pass by ...
8
votes
1
answer
230
views
Memoization and packages
I am working in a package on symmetric functions, that sometimes are quite expensive to compute. I use memoization extensively, but what is the correct approach for a package intended for the public ...
13
votes
4
answers
595
views
Renaming options of custom functions while preserving backwards compatibility
I have a package with many functions. There is an option name that several functions share. I feel that the current name of this option was not the best choice. I would like to rename it, but at the ...
6
votes
1
answer
151
views
Conditional rendering of items
Let's say I have a column to display and each of its items can be hidden separately.
Question: Is there a way to make it work without re-rendering whole column whenever a particular item is hidden? ...
3
votes
1
answer
161
views
Application example of RuleDelayed in options
In this question: Options which require RuleDelayed , an example was given, where the an option has to be given as a RuleDelayed: ...
33
votes
5
answers
2k
views
Different strategies to get a clean Kernel. Quit, Exit, ClearAll, Remove, CleanSlate?
Often new users face problems with lingering definitions that, if unaware, may cause unexpected and frustrating behaviour.
There are several answers that illustrate different aspects of the solution, ...
6
votes
0
answers
431
views
Multipart package creation, development and maintenance [closed]
I am a physics major. I focus on theoretical and mathematical physics. After spending some time with Mathematica I found that it is not straightforward to create separate files for logically distinct ...
5
votes
0
answers
126
views
Handling rendering delays gracefully
I moved the second issue to a separate topic: 162013
Please run the code sample
As you can see there is a delay between the moment the calculation is finished and when the graphics is shown. And ...