================================== Top new questions this week: ================================== [Nice formatting for the results of a dice game simulation]\url{http://mathematica.stackexchange.com/questions/34861/nice-f ormatting-for-the-results-of-a-dice-game-simulation} One of my Mathematica interests is in problems related to the formatting of output. Getting nice formatting from Mathematica is often frustrating, but occasionally Mathematica will delight me by ... - asked by m_goldberg (22 votes), answered by ssch (16 votes) ---------------------------- [Export Code to Pseudocode?]\url{http://mathematica.stackexchange.com/questions/34997/expor t-code-to-pseudocode} I'm writing a paper and all my code is in Mathematica. The snippets are mostly simple, and consist of loops, maps, variables, and conditionals. I'd like add it to my paper, however, not many academic ... - asked by M.R. (13 votes) ---------------------------- [How to efficiently find moments of a multinormal distribution?]\url{http://mathematica.stackexchange.com/questions/34779/how -to-efficiently-find-moments-of-a-multinormal-distribution} I have a multinormal distribution with covariance matrix $\sigma$ and zero mean. I want to find moment $$ E[x_1^{r_1}x_2^{r_2}\cdots x_n^{r_n}] =\,? $$ Of course, there is a build-in function ... - asked by ybeltukov (9 votes), answered by ybeltukov (9 votes) ---------------------------- [Problem importing a JCAMP-DX mass spectral file]\url{http://mathematica.stackexchange.com/questions/34624/problem-impo rting-a-jcamp-dx-mass-spectral-file} I have some problems importing a JCAMP-DX EI-mass spectral file using Mathematica 9. For example, if I download the mass spectrum of nonacosane in JCAMP format from NIST, ... - asked by Tom Wenseleers (8 votes), answered by Sjoerd C. de Vries (8 votes) ---------------------------- [How to partition a list of numbers in two lists of numbers such that each lists elements sums up to the same number?]\url{http://mathematica.stackexchange.com/questions/34952/how-to-pa rtition-a-list-of-numbers-in-two-lists-of-numbers-such-that-each-lists} I have the following list of squares. {1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256} Their sum is $1496$, I want to make two partitions with the given numbers and each ... - asked by Gustavo Bandeira (7 votes), answered by Daniel Lichtblau (8 votes) ---------------------------- [finding anagrams]\url{http://mathematica.stackexchange.com/questions/34720/finding- anagrams} What I'm trying to find are the 4 letter words in the mathematica dictionary that have the most anagrams and the amount of anagrams these have each. But I can't seem to find all the 4 letter words in ... - asked by jas (7 votes), answered by rcollyer (7 votes) ---------------------------- [How can I scale a plot in vector graphic or PDF form?]\url{http://mathematica.stackexchange.com/questions/34909/how-can-i-s cale-a-plot-in-vector-graphic-or-pdf-form} I am not at all a computer graphics expert, but it seems that portable document format (PDF) files have a "native size," even though they may (and usually do!) contain vector graphics that can be ... - asked by Andrew (6 votes), answered by Alexey Popkov (4 votes) ================================== Greatest hits from previous weeks: ================================== [Mathematica9 linux version crash, how to fix it?]\url{http://mathematica.stackexchange.com/questions/17163/mathematica9- linux-version-crash-how-to-fix-it} Ubuntu 12.04 x86_64 kernel 3.2.0-35-generic Mathematica 9 linux version (x86_64) crashes with errors: X Error of failed request: BadGC (invalid GC parameter) Major opcode of failed request: ... - asked by goodluck (9 votes), answered by goodluck (13 votes) ---------------------------- [Finding all simple paths between two vertices in a graph]\url{http://mathematica.stackexchange.com/questions/25779/finding-all -simple-paths-between-two-vertices-in-a-graph} There are built-in methods to find a shortest path between two vertices in a graph, and the question on finding all shortest paths between two vertices has gathered quite a bit of attention. A path ... - asked by mrm (9 votes), answered by trybik (8 votes) ================================== Can you answer these? ================================== [Visualizing nested lists for easier human understanding]\url{http://mathematica.stackexchange.com/questions/34651/vis ualizing-nested-lists-for-easier-human-understanding} When interacting with Mathematica, I often find myself staring blankly at waves of curly braces, trying to understand how data is organized hierarchically. For example, the beginning of the result to ... - asked by duozmo (3 votes) ---------------------------- [how to load packages on local computer when using remote kernels]\url{http://mathematica.stackexchange.com/questions/34966/how-to-lo ad-packages-on-local-computer-when-using-remote-kernels} I usually works remotely using kernels on our hpc and front-end on my local laptop. This enable me do relatively large computation within my laptop(IP address of my laptop may change frequently). But ... - asked by xslittlegrass (1 vote) ---------------------------- [Strange behaviour of Internal`InheritedBlock]\url{http://mathematica.stackexchange.com/questions /34698/strange-behaviour-of-internalinheritedblock} I was going to post an answer for fast way to replace all zeros in the matrix. I was even quite happy because timings were the same order of magnitude as others. The idea was to overwrite Identity: ... - asked by Kuba (4 votes)