Skip to main content
Post Closed as "Not suitable for this site" by YCor, R.P., David Handelman, user6976, Stefan Kohl

How to calculate `y' * diag$y^T \mbox{diag}(A' *A^T B * A) * y`\,y$ efficiently?

I want to calculate $y^T \cdot \operatorname{diag}(A^T B A) \cdot y$.$$y^T \mbox{diag}(A^T B A) \,y$$ where

  • $y$ is a $N \times 1$$n \times 1$ vector.
  • $A$ is a $m \times N$$m \times n$ matrix where $N \gg m$$n \gg m$.
  • $B$ is a $m \times m$ matrix, and B is a symmetric positive definite matrix,matrix; the Cholesky decomposition $B = LL^T$ is precomputed if it is needed.

Is it possible to calculate the above expression inat a cost of $O(Nm)$ complexity$O(m n)$ flops?

How to calculate `y' * diag(A' * B * A) * y` efficiently

I want to calculate $y^T \cdot \operatorname{diag}(A^T B A) \cdot y$.

  • $y$ is a $N \times 1$ vector
  • $A$ is a $m \times N$ matrix where $N \gg m$
  • $B$ is a $m \times m$ matrix, and B is a symmetric positive definite matrix, the Cholesky decomposition $B = LL^T$ is precomputed if it is needed.

Is it possible to calculate the above expression in $O(Nm)$ complexity?

How to calculate $y^T \mbox{diag}(A^T B A) \,y$ efficiently?

I want to calculate $$y^T \mbox{diag}(A^T B A) \,y$$ where

  • $y$ is a $n \times 1$ vector.
  • $A$ is a $m \times n$ matrix where $n \gg m$.
  • $B$ is a $m \times m$ symmetric positive definite matrix; the Cholesky decomposition $B = LL^T$ is precomputed if it is needed.

Is it possible to calculate the above expression at a cost of $O(m n)$ flops?

TeXified question a bit
Source Link
Johannes Hahn
  • 9.7k
  • 2
  • 33
  • 66

I want to calculate y' * diag(A' * B * A) * y$y^T \cdot \operatorname{diag}(A^T B A) \cdot y$.

  • y$y$ is a N * 1$N \times 1$ vector
  • A$A$ is a m * N$m \times N$ matrix where N >> m$N \gg m$
  • B$B$ is a m * m$m \times m$ matrix, and B is a symmetric positive definite matrix, the Cholesky decomposition B = L * L'$B = LL^T$ is precomputed if it is needed.

Is it possible to calculate the above expression in O(N*m)$O(Nm)$ complexity?

I want to calculate y' * diag(A' * B * A) * y

  • y is a N * 1 vector
  • A is a m * N matrix where N >> m
  • B is a m * m matrix, and B is a symmetric positive definite matrix, the Cholesky decomposition B = L * L' is precomputed if it is needed.

Is it possible to calculate the above expression in O(N*m) complexity?

I want to calculate $y^T \cdot \operatorname{diag}(A^T B A) \cdot y$.

  • $y$ is a $N \times 1$ vector
  • $A$ is a $m \times N$ matrix where $N \gg m$
  • $B$ is a $m \times m$ matrix, and B is a symmetric positive definite matrix, the Cholesky decomposition $B = LL^T$ is precomputed if it is needed.

Is it possible to calculate the above expression in $O(Nm)$ complexity?

Source Link
Alaya
  • 95
  • 3

How to calculate `y' * diag(A' * B * A) * y` efficiently

I want to calculate y' * diag(A' * B * A) * y

  • y is a N * 1 vector
  • A is a m * N matrix where N >> m
  • B is a m * m matrix, and B is a symmetric positive definite matrix, the Cholesky decomposition B = L * L' is precomputed if it is needed.

Is it possible to calculate the above expression in O(N*m) complexity?