« first day (2687 days earlier)      last day (708 days later) » 

3:34 AM
5
Q: Did Euler know (unconsciously) to integrate by differentiating?

Andreas RüdingerConsidering a method to find the anti-derivative of an (sufficiently smooth) real function by differentiating published some years ago (equation (48) in Kempf et al., New Dirac Delta function based methods with applications to perturbative expansions in quantum field theory): \begin{equation} \in...

 
4:04 AM
1
Q: Manifolds whose tangent spaces have a special behavior

LaGraConsider an $n$-dimensional complex manifold $M\subset\mathbb{C}^N$ and let $$f:\mathcal{U}\subset\mathbb{C}^n\rightarrow \mathcal{V}\subset M\subset\mathbb{C}^N$$ be a local parametrization of $M$. Assume that for all $p\in\mathcal{U}$ we have that $f(p)$ is a linear combination of $\frac{\parti...

 
 
1 hour later…
5:06 AM
4
Q: Intuitive Explanation for Number of Dyck Paths Never Going Above Diagonal of a Rectangle

The RiddlerSuppose we have a an $a\times{}b$ rectangle whose bottom-left corner is at $(0,0)$ and whose upper-right corner is at $(b,a)$. Let $a$ and $b$ both be positive integers, and let $b\geq{}a$. If $a$ and $b$ are mutually prime then the number of Dyck paths inside the rectangle going from $(0,0)$ to ...

 
 
2 hours later…
7:18 AM
3
Q: Has any one seen this sum of roots of unity before?

AsvinFix a prime $p >2$ and $q_1$, $q_2$ such that $q_i - 1$ is exactly divisible by $p$. For any $n$, $a$, $b $, consider the sum $$\sum_{i=0}^{p^{n-1}-1}\zeta_{p^n}^{aq_1^i+bq_2^i}.$$ Is this always divisible by $p^{n-1}$? In fact, perhaps it is always $0$ or all the summands are equal? I believe th...

 
 
6 hours later…
1:39 PM
0
Q: How to mean center variables based on binary condition in r

user19153338I have a dataframe ("md") containing several variables, of which one is binary ("adopter"). I would like to mean center three of the other (continous) variables, let's say X, Y, and Z, but only for the ones where adopter = 1. The others, for which adopter = 0, should remain unchanged. In the end ...

 
1:57 PM
1
Q: Get issuerNameHash and issuerKeyHash of x509

PeterI need to get the following out of x509 CA certificates: the Hash of the DER encoded public key (excluding tag and length) of the subject public key field the hash of the issuers distinguished name, that must be calculated over the DER encoding of the issuer's name field I tried to use X509_iss...

1
Q: How can I validate certificate chain when CA certs held in Java Key Store

AUserCan someone please help me with the following, I googled before hand but did not find a blog outlining what I wanted to do, thanks in advance. I have and internal test PKI (based on AD CS). I have imported the Root CA certificate and the Issuing CA Certificate (minus their private keys) into the ...

 
 
2 hours later…
4:04 PM
4
Q: On Cramer's theorem about roots of Zeta function

TPCCramer proved the following theorem: Consider the following function: $$V(z)=\sum_k e^{\rho_kz}$$ Where $\rho_k$ runs through non trivial zeta zeros with $Im(\rho_k) > 0$ Cramer proved $V(z)$ converges for $Im(z) > 0$ and has a singularity at the origin of the type $\frac{\log(z)}{(1-e^{-z})}$ ...

 
 
1 hour later…
5:24 PM
3
Q: Winding number of an ellipse at 0

cnymfaisIn this exercise, we are supposed to firstly find a path that parametrizes the following ellipse: $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$ for $a,b \in \mathbb{R}$ $\textit{I have found the following path: } \gamma:\left[0,2\pi\right] \rightarrow \mathbb{C}, t \mapsto a\cos(t)+ib\sin(t)$. Then, we are...

 
6:22 PM
6
Q: Why &x[0]+x.size() instead of &x[x.size()]?

adroit.levees.0rI'm reading A Tour of C++ (2nd edition) and I came across this code (6.2 Parameterized Types): template<typename T> T* end(Vector<T>& x) {     return x.size() ? &x[0]+x.size() : nullptr;     // pointer to one-past-last element } I don't understand why we use &x[0]+x.size() instead of &x[x.size...

 
 
5 hours later…
10:52 PM
7
Q: Speed miracles in x86/amd64 land: evaluating a polynomial for every integer value in a range gets slower with fewer operations?

ttsiodrasI am reading Agner Fog's optimization manuals - and I came across this example: double data[LEN]; void compute() { const double A = 1.1, B = 2.2, C = 3.3; int i; for(i=0; i<LEN; i++) { data[i] = A*i*i + B*i + C; } } Agner indicates that there's a way to optimize this co...

 

« first day (2687 days earlier)      last day (708 days later) »