Top new questions this week:
|
I’ve been working with TensorFlow and I’m very impressed with its automatic differentiation capabilities. I’m wondering what the state of the art in automatic differentiation for finite element …
|
I need to compute the logarithm of the binomial coefficient, $$\log\binom{x}{y} = -\log\mathrm{B}(y + 1, x – y + 1) – \log(x + 1)$$ accurately, where $\mathrm{B}(x,y)$ is the Beta function. I’m aware …
|
Context: I am trying to reproduce a figure from Keeling 2007 that illustrates time lags that can occur between the peaks (maximum) of the infected solutions for two subpopulations of a metapopulation …
|
Is there a fast method to compute an orthogonal complement of an arbitrary matrix $U\in\mathbb{R}^{m \times n}$ in BLAS / LAPACK? Specifically, I want any matrix $V\in \mathbb{R}^{m \times (m – \text{…
|
Greatest hits from previous weeks:
|
I will start with my personal experience in our lab. Back in the ifort 9 and 10 days, we used to be quite aggressive with the optimizations, compiling with -O3 and processor specific flags (-xW -xSSE4….
|
How to find all roots of an equation in Matlab? I tried and it gave me just one of the roots. For example: my equation is $F(x)=0$ where …
|
I am working on a project that I need to add a regularization into the NNLS algorithm. Is there a way to add the Tikhonov regularization into the NNLS implementation of scipy [1]? [2] talks about it, …
|
I am getting the warning in the post subject when attempting to optimize a function in Python with the scipy.optimize.fmin_bfgs function. The complete output: Warning: Desired error not necessarily …
|
This question is neither scientific nor technical but more career related. I am at a junction in my professional life where I need to make a decision with regard to the future of my career. At the …
|
How do CUDA and OpenCL compare to each other as of late 2013 from a programmer’s perspective? My group is thinking about trying to make use of GPU computing. Would we be limiting ourself …
|
I recently encountered a formulation of the meta-phenomenon: “two is easy, three is hard” (phrased this way by Federico Poloni), which can be described, as follows: When a certain problem is …
|