Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Whenever $A$ is positivenegative semi-definite on the subspace of vectors $(a_1,\dots,a_n)$ with $\sum_i a_i=0$, then the same will be true for $B$. This is a result of Schoenberg.
Whenever $A$ is positive semi-definite on the subspace of vectors $(a_1,\dots,a_n)$ with $\sum_i a_i=0$, then the same will be true for $B$. This is a result of Schoenberg.
Whenever $A$ is negative semi-definite on the subspace of vectors $(a_1,\dots,a_n)$ with $\sum_i a_i=0$, then the same will be true for $B$. This is a result of Schoenberg.
Whenever $A$ is positive semi-definite on the subspace of vectors $(a_1,\dots,a_n)$ with $\sum_i a_i=0$, then the same will be true for $B$. This is a result of Schoenberg.