Questions tagged [random]
Questions about random number generation and the properties of numbers so generated.
920 questions
1
vote
0
answers
56
views
Eigenvectors of GSE with right properties
I encountered a weird problem when trying to study a few properties of eigenvectors of matrices sampled from the Gaussian symplectic ensemble (GSE). I have encountered this while trying to understand ...
10
votes
1
answer
763
views
Inconsistent DistributionFitTest results?
In pondering this question, I used Mariana's function to generate the following data.
...
4
votes
1
answer
438
views
Compute the correlation of eigenvalues of a Gaussian random matrix
Background
Let $M$ be a $N\times N$ random symmetric matrix, which is drawn from a Gaussian distribution of mean $\mu=0$ and variance $\sigma^2=1/N$.
The first level correlation is defined by:
$$\...
2
votes
2
answers
283
views
Unwanted reevaluation in Manipulate with RandomPointConfiguration
Here is a simple illustration of a problem I am encountering. I want to use RandomPointConfiguration inside Manipulate, but it ...
3
votes
4
answers
297
views
RandomPoint on discretized surface not working
This used to work before but apparently not in version 14.3
...
2
votes
1
answer
451
views
RandomPoint does not return with many region intersections
I am trying to generate random points on an n-dimensional unit sphere that satisfy a number of linear inequalities (a point $v \in \mathbb{S}^N$ has to satisfy $v \cdot x \geq v \cdot x_k$ for all $...
10
votes
1
answer
250
views
RandomVariate sometimes returns the input instead of the numbers
Bug introduced in v14.1 and fixed in 14.2.
I have a series of functions that eventually are combined to form a probability distribution function:
...
5
votes
1
answer
368
views
Filling space between two curves with random points
How can I fill the blue space between two curves, for example $\sin$ and $\cos$, with random points? What if they are two BezierCurves instead of functions?
0
votes
0
answers
71
views
Construction of RMT Hamiltonian with given potential
It is well known that the Random Matrix Theory (RMT), the potential function for the Gaussian ensembles, is
$V(H) = \frac{1}{2} H^2 \quad \Rightarrow \quad P(H) \propto e^{-\frac{N}{2} \operatorname{...
0
votes
1
answer
127
views
Fast partial shuffling?
I need a version of partial shuffling of a 2D table of reals tab that works very efficiently for large arrays and, being repeated $N\gg 1$ times, becomes analogous ...
3
votes
2
answers
151
views
Generate PSD matrices with a condition
There is this highly upvoted but unanswered post at Math.SE. I would like to try some ideas. This requires numerical experiments with Hermitian and positive definite matrices $A$, $B$, and $C$ such ...
0
votes
0
answers
108
views
Alternative to RandomSample?
Consider the following simple routines:
...
4
votes
0
answers
221
views
Generating random Hamiltonian cycle
I need random Hamiltonian cycles in directed graphs. I guess for me it would be OK to mean by that choosing uniformly randomly from the set of all Hamiltonian cycles. ...
0
votes
0
answers
117
views
Stochastic Differential Equation with delay
Good day to everyone.
I would like to find a solution of a stochastic differential equation that includes some sort of a delay. But the procedures like ...
3
votes
1
answer
168
views
Wishart distribution implementation with positive semidefinite scale matrix
The built-in Mathematica function WishartMatrixDistribution[\[Nu],\[CapitalSigma]] requires a positive definite (PD) scale matrix ...