This is something that should be simple, but the documentation and other questions don't seem to deal with it. I can think of mechanically doing it through a loop, but I know there must be a better ...

My question is similar to this one, but my goal is to prepend a single 0 the each sublist, not incrementally many 0's.
The file I'm working is a CSV containing around 50K sublists of length 35.
I've ...

I have an array of 10000 elements. I want to randomly assign energy to these 10000 elements using Gaussian or Exponential distribution, such that each time a particular element is selected its energy ...

From time to time I need to generate symmetric matrices with relatively expensive cost of element evaluation. Most frequently these are Gram matrices where elements are $L_2$ dot products. Here are ...

How can I partition a list into partitions whose sizes vary?
The length of the $k$'th partition is a function $f(k)$.
For example: if $l = \{1, 2, 3, 4, 5, 6\}$ and $f(k) = k$. Then
the partitioning ...

I wondered if anyone has another or even a more direct way of finding the last dates of each month available from a list of successive dates?
I currently do the following (note: nothing special about ...

I'm trying to build a table where the iterator is based off of the ith-1 entry in the table.
In other words, the value at i is based on a function with i-1 as its input.
EXAMPLE: Let's assume we're ...

I want to include a figure in a paper I am writing on Combinatorial Geometry which features a non-convex polyhedron given by the following vertices,
EDIT: I was unaware that Mathematica could convert ...

I wondered if there was a way to automate the process of finding a way to tile a tile into a square.
The idea is to represent the tile with a matrix of $0$s for blank space and $1$s for filled spaces ...

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.