Top 10% contributor
3 years ago
Do you NEED to make B as a matrix? Fangjun Jiang and Jan Simon's methods will work fine for what you have asked, but I've found...
Answered 3 years ago
I am currently running a code that has to diagonalise a large number of matrices every run. From other considerations I know wh...
Asked 3 years ago
I was wondering if there is any clever memory usage ways to store symmetric arrays. I.e. I might have some tensor f_[abcd] = f_[...
4 years ago
Generates points and weights for Gauss Laguerre Quadrature, to a tolerance, tested for N < 300
Very simple function to generate a table of all possible binomial coefficients below a cut off
4 years ago
generates zeros of a Hermite polynomial of degree n to tolerance "tol" and their associated weights.
Used for multiplying large block diagonal matrices with matrices / vectors.
lists all nonidentical permutations of a set of numbers i.e. [1,1,2] go to [1,1,2;1,2,1;2,1,1]
I have a second order differential equation
x''(t) = f(x)
with an initial condition x(0) = x0 ; x'(0) = 0; I wish to ...
Converts a matrix into a cell array of different sized matrices that make up the blocks.
I am trying to work out the best way to minimise the lowest eigenvalue of a matrix " M " which is a function of some variables "...